summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-12-10 20:48:47 (GMT)
committerChris Wren <cwren@android.com>2013-12-10 22:41:18 (GMT)
commitba2923a3912f266c8fa1691858db29c2ce597928 (patch)
tree175c8e564241820e37302c8f3a1bf15ba4a87107 /Android.mk
parent8e88cb84781907afb7cca80581fea2277264fd2c (diff)
downloadandroid_packages_apps_Trebuchet-ba2923a3912f266c8fa1691858db29c2ce597928.zip
android_packages_apps_Trebuchet-ba2923a3912f266c8fa1691858db29c2ce597928.tar.gz
android_packages_apps_Trebuchet-ba2923a3912f266c8fa1691858db29c2ce597928.tar.bz2
expose the protoutil for launcher as an executable script
Change-Id: Ie990262534d85b118c165589ecee55d64f3a58cc
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk24
1 files changed, 23 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 6059a3f..840b161 100644
--- a/Android.mk
+++ b/Android.mk
@@ -61,6 +61,28 @@ LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
LOCAL_MODULE_TAGS := optional
-LOCAL_MODULE := protoutil
+LOCAL_MODULE := launcher_protoutil_lib
+LOCAL_IS_HOST_MODULE := true
+LOCAL_JAR_MANIFEST := util/etc/manifest.txt
+LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-2.3.0-nano
include $(BUILD_HOST_JAVA_LIBRARY)
+
+#
+# Protocol Buffer Debug Utility Wrapper Script
+#
+include $(CLEAR_VARS)
+LOCAL_IS_HOST_MODULE := true
+LOCAL_MODULE_CLASS := EXECUTABLES
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := launcher_protoutil
+
+include $(BUILD_SYSTEM)/base_rules.mk
+
+$(LOCAL_BUILT_MODULE): launcher_protoutil_lib
+$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/util/etc/launcher_protoutil | $(ACP)
+ @echo "Copy: $(PRIVATE_MODULE) ($@)"
+ $(copy-file-to-new-target)
+ $(hide) chmod 755 $@
+
+INTERNAL_DALVIK_MODULES += $(LOCAL_INSTALLED_MODULE)