summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-10-02 18:16:04 (GMT)
committerChris Wren <cwren@android.com>2013-10-03 16:57:53 (GMT)
commit2b6c21d434b647fbba48fb61bf7ae3a66af35e9a (patch)
treeed53aa0e1aeb799ee7253a354d41579a097105c4 /Android.mk
parentfd13c714f412dfa8130fa7a664cb1692a565c539 (diff)
downloadandroid_packages_apps_Trebuchet-2b6c21d434b647fbba48fb61bf7ae3a66af35e9a.zip
android_packages_apps_Trebuchet-2b6c21d434b647fbba48fb61bf7ae3a66af35e9a.tar.gz
android_packages_apps_Trebuchet-2b6c21d434b647fbba48fb61bf7ae3a66af35e9a.tar.bz2
add a proto decoder host utility
Bug: 10778984 Change-Id: I1c0203a3a5b3a3b1e565af387ccdfa92b53f8335
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk26
1 files changed, 23 insertions, 3 deletions
diff --git a/Android.mk b/Android.mk
index 10c9f24..e22d53c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,18 +15,22 @@
#
LOCAL_PATH := $(call my-dir)
+
+#
+# Build app code.
+#
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_JAVA_LIBRARIES := android-support-v13
-LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src) \
+LOCAL_SRC_FILES := $(call all-java-files-under, src) \
+ $(call all-renderscript-files-under, src) \
$(call all-proto-files-under, protos)
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
-
-LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos
+LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
LOCAL_SDK_VERSION := 17
@@ -40,3 +44,19 @@ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
include $(BUILD_PACKAGE)
include $(call all-makefiles-under,$(LOCAL_PATH))
+
+#
+# Protocol Buffer Debug Utility in Java
+#
+include $(CLEAR_VARS)
+
+LOCAL_SRC_FILES := $(call all-java-files-under, util) \
+ $(call all-proto-files-under, protos)
+
+LOCAL_PROTOC_OPTIMIZE_TYPE := nano
+LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/protos/
+
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE := protoutil
+
+include $(BUILD_HOST_JAVA_LIBRARY)