blob: 1c03d1616f9f200dda75c34f9c8c96b5c2b34ded [file] [log] [blame]
Chris Wren77781d32016-01-11 14:49:26 -05001LOCAL_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)
Insaf Latypovd8aa2e672017-02-20 11:33:48 +000017
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)