aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-03-05 23:29:52 -0800
committerStephen Hines <srhines@google.com>2013-03-05 23:32:50 -0800
commit2123c1c0de9e6006dfffe9123b4b992703202e3e (patch)
tree581fcb48ae61d4b4b51aea677ba7227c67d0ef7d /lib/Transforms
parent5adb136be579e8fff3734461580cb34d1d2983b8 (diff)
downloadexternal_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.zip
external_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.tar.gz
external_llvm-2123c1c0de9e6006dfffe9123b4b992703202e3e.tar.bz2
Update build rules for LLVM merge to version 176139.
Change-Id: Ibb71ad9a6a2ed05dbf87f249ac42b1355e3fa41a
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/ObjCARC/Android.mk38
-rw-r--r--lib/Transforms/Scalar/Android.mk1
2 files changed, 38 insertions, 1 deletions
diff --git a/lib/Transforms/ObjCARC/Android.mk b/lib/Transforms/ObjCARC/Android.mk
new file mode 100644
index 0000000..126d7ee
--- /dev/null
+++ b/lib/Transforms/ObjCARC/Android.mk
@@ -0,0 +1,38 @@
+LOCAL_PATH:= $(call my-dir)
+
+transforms_objcarc_SRC_FILES := \
+ DependencyAnalysis.cpp \
+ ObjCARCAliasAnalysis.cpp \
+ ObjCARCAPElim.cpp \
+ ObjCARCContract.cpp \
+ ObjCARC.cpp \
+ ObjCARCExpand.cpp \
+ ObjCARCOpts.cpp \
+ ObjCARCUtil.cpp \
+ ProvenanceAnalysis.cpp
+
+# For the host
+# =====================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES)
+LOCAL_MODULE:= libLLVMTransformObjCARC
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_HOST_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_HOST_STATIC_LIBRARY)
+
+# For the device
+# =====================================================
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(transforms_objcarc_SRC_FILES)
+LOCAL_MODULE:= libLLVMTransformObjCARC
+
+LOCAL_MODULE_TAGS := optional
+
+include $(LLVM_DEVICE_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_STATIC_LIBRARY)
diff --git a/lib/Transforms/Scalar/Android.mk b/lib/Transforms/Scalar/Android.mk
index ac4a65e..c20b9d9 100644
--- a/lib/Transforms/Scalar/Android.mk
+++ b/lib/Transforms/Scalar/Android.mk
@@ -23,7 +23,6 @@ transforms_scalar_SRC_FILES := \
LoopUnswitch.cpp \
LowerAtomic.cpp \
MemCpyOptimizer.cpp \
- ObjCARC.cpp \
Reassociate.cpp \
Reg2Mem.cpp \
SCCP.cpp \