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