Chris Wren | 77781d3 | 2016-01-11 14:49:26 -0500 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_MODULE := framework-protos |
| 6 | |
| 7 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
| 8 | LOCAL_SRC_FILES:= $(call all-proto-files-under, src) |
| 9 | LOCAL_JARJAR_RULES := $(LOCAL_PATH)/jarjar-rules.txt |
| 10 | |
| 11 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 12 | LOCAL_JAVA_LIBRARIES := core-oj core-libart |
| 13 | |
| 14 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/jarjar-rules.txt |
| 15 | |
| 16 | include $(BUILD_STATIC_JAVA_LIBRARY) |
Insaf Latypov | d8aa2e67 | 2017-02-20 11:33:48 +0000 | [diff] [blame] | 17 | |
| 18 | # Host-side version of framework-protos |
| 19 | # ============================================================ |
| 20 | include $(CLEAR_VARS) |
| 21 | |
| 22 | LOCAL_MODULE := host-framework-protos |
| 23 | LOCAL_MODULE_TAGS := optional |
| 24 | |
| 25 | LOCAL_PROTOC_OPTIMIZE_TYPE := nano |
| 26 | LOCAL_SRC_FILES:= $(call all-proto-files-under, src) |
| 27 | |
| 28 | LOCAL_NO_STANDARD_LIBRARIES := true |
| 29 | LOCAL_STATIC_JAVA_LIBRARIES := host-libprotobuf-java-nano |
| 30 | |
| 31 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk $(LOCAL_PATH)/jarjar-rules.txt |
| 32 | |
| 33 | include $(BUILD_HOST_JAVA_LIBRARY) |