1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4# Include res dir from chips 5chips_dir := ../../../frameworks/opt/chips/res 6color_picker_dir := ../../../frameworks/opt/colorpicker/res 7timezonepicker_dir := ../../../frameworks/opt/timezonepicker/res 8res_dirs := $(chips_dir) $(color_picker_dir) $(timezonepicker_dir) res 9src_dirs := src 10 11LOCAL_JACK_COVERAGE_INCLUDE_FILTER := com.android.calendar.* 12 13LOCAL_MODULE_TAGS := optional 14 15LOCAL_SRC_FILES := $(call all-java-files-under,$(src_dirs)) 16 17# bundled 18#LOCAL_STATIC_JAVA_LIBRARIES += \ 19# android-common \ 20# libchips \ 21# calendar-common 22 23# unbundled 24LOCAL_STATIC_JAVA_LIBRARIES := \ 25 android-common \ 26 libchips \ 27 colorpicker \ 28 android-opt-timezonepicker \ 29 androidx.legacy_legacy-support-v4 \ 30 calendar-common 31 32LOCAL_SDK_VERSION := current 33 34LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) 35 36LOCAL_PACKAGE_NAME := Calendar 37 38LOCAL_PROGUARD_FLAG_FILES := proguard.flags 39 40LOCAL_PRODUCT_MODULE := true 41 42LOCAL_AAPT_FLAGS := --auto-add-overlay 43LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips 44LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker 45LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker 46 47include $(BUILD_PACKAGE) 48 49# Use the following include to make our test apk. 50include $(call all-makefiles-under,$(LOCAL_PATH)) 51