aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-12-19 23:09:56 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-12-19 23:09:56 +0000
commitd53f6dc6dc18f64e451f28520d6af7ea89918619 (patch)
treed3f976fdd2a11629e2db2bc987d4111ad53012f0
parentc1e19007aedddec0cd640516a4eb3fed5ee12c7e (diff)
parent121f20f7317b160aedcaabfbe532e328912ffa18 (diff)
downloadexternal_llvm-d53f6dc6dc18f64e451f28520d6af7ea89918619.zip
external_llvm-d53f6dc6dc18f64e451f28520d6af7ea89918619.tar.gz
external_llvm-d53f6dc6dc18f64e451f28520d6af7ea89918619.tar.bz2
am 121f20f7: Merge "Build opt for the device."
* commit '121f20f7317b160aedcaabfbe532e328912ffa18': Build opt for the device.
-rw-r--r--tools/opt/Android.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/opt/Android.mk b/tools/opt/Android.mk
index fc3c8d0..7220575 100644
--- a/tools/opt/Android.mk
+++ b/tools/opt/Android.mk
@@ -82,3 +82,19 @@ include $(LLVM_ROOT_PATH)/llvm.mk
include $(LLVM_HOST_BUILD_MK)
include $(LLVM_GEN_INTRINSICS_MK)
include $(BUILD_HOST_EXECUTABLE)
+
+
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := opt
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := EXECUTABLES
+
+LOCAL_SRC_FILES := $(llvm_opt_SRC_FILES)
+LOCAL_STATIC_LIBRARIES := $(llvm_opt_STATIC_LIBRARIES)
+LOCAL_SHARED_LIBRARIES := libdl
+
+include $(LLVM_ROOT_PATH)/llvm.mk
+include $(LLVM_DEVICE_BUILD_MK)
+include $(LLVM_GEN_INTRINSICS_MK)
+include $(BUILD_EXECUTABLE)