aboutsummaryrefslogtreecommitdiffstats
path: root/tools/opt
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2014-12-19 10:59:03 -0800
committerTim Murray <timmurray@google.com>2014-12-19 14:35:49 -0800
commitb4cbf2e86bc30549b49a99d99af9a5f91c607e9b (patch)
treed3f976fdd2a11629e2db2bc987d4111ad53012f0 /tools/opt
parent876d6995443e99d13696f3941c3a789a4daa7c7a (diff)
downloadexternal_llvm-b4cbf2e86bc30549b49a99d99af9a5f91c607e9b.zip
external_llvm-b4cbf2e86bc30549b49a99d99af9a5f91c607e9b.tar.gz
external_llvm-b4cbf2e86bc30549b49a99d99af9a5f91c607e9b.tar.bz2
Build opt for the device.
Change-Id: I3b62c323c3d0062b5de3900f7e285f0dbf2ce533
Diffstat (limited to 'tools/opt')
-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)