The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Mindy Pereira | 18cabd2 | 2011-06-09 18:31:23 -0700 | [diff] [blame] | 4 | # Include res dir from chips |
Scott Kennedy | 27339c9 | 2014-03-26 13:48:47 -0700 | [diff] [blame] | 5 | chips_dir := ../../../frameworks/opt/chips/res |
James Kung | a8b8c0d | 2013-02-13 17:28:16 -0800 | [diff] [blame] | 6 | color_picker_dir := ../../../frameworks/opt/colorpicker/res |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 7 | datetimepicker_dir := ../../../frameworks/opt/datetimepicker/res |
Michael Chan | e6aa937 | 2013-04-01 00:31:54 -0700 | [diff] [blame] | 8 | timezonepicker_dir := ../../../frameworks/opt/timezonepicker/res |
| 9 | res_dirs := $(chips_dir) $(color_picker_dir) $(datetimepicker_dir) $(timezonepicker_dir) res |
Sara Ting | f84b1a9 | 2012-12-17 10:16:03 -0800 | [diff] [blame] | 10 | src_dirs := src |
Mindy Pereira | 18cabd2 | 2011-06-09 18:31:23 -0700 | [diff] [blame] | 11 | |
Michael Chan | 4970159 | 2010-06-30 11:04:03 -0700 | [diff] [blame] | 12 | LOCAL_EMMA_COVERAGE_FILTER := +com.android.calendar.* |
| 13 | |
Jean-Baptiste Queru | 25cd65e | 2010-01-05 16:27:21 -0800 | [diff] [blame] | 14 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 15 | |
Sara Ting | 19da782 | 2012-07-16 11:02:27 -0700 | [diff] [blame] | 16 | LOCAL_SRC_FILES := $(call all-java-files-under,$(src_dirs)) |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 17 | |
Andy McFadden | d46b115 | 2011-06-09 15:18:23 -0700 | [diff] [blame] | 18 | # bundled |
Andy McFadden | 8ed988f | 2011-07-06 15:17:54 -0700 | [diff] [blame] | 19 | #LOCAL_STATIC_JAVA_LIBRARIES += \ |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 20 | # android-common \ |
Scott Kennedy | 27339c9 | 2014-03-26 13:48:47 -0700 | [diff] [blame] | 21 | # libchips \ |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 22 | # calendar-common |
Andy McFadden | d46b115 | 2011-06-09 15:18:23 -0700 | [diff] [blame] | 23 | |
| 24 | # unbundled |
Andy McFadden | 8ed988f | 2011-07-06 15:17:54 -0700 | [diff] [blame] | 25 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 26 | android-common \ |
Scott Kennedy | 27339c9 | 2014-03-26 13:48:47 -0700 | [diff] [blame] | 27 | libchips \ |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 28 | colorpicker \ |
| 29 | android-opt-datetimepicker \ |
Michael Chan | e6aa937 | 2013-04-01 00:31:54 -0700 | [diff] [blame] | 30 | android-opt-timezonepicker \ |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 31 | android-support-v4 \ |
| 32 | calendar-common |
Michael Chan | de1d700 | 2012-11-16 09:28:25 -0800 | [diff] [blame] | 33 | |
Michael Jurka | 1db6f01 | 2012-09-14 13:24:24 -0700 | [diff] [blame] | 34 | LOCAL_SDK_VERSION := current |
Michael Chan | 037c069 | 2010-02-09 13:32:22 -0800 | [diff] [blame] | 35 | |
Mindy Pereira | 18cabd2 | 2011-06-09 18:31:23 -0700 | [diff] [blame] | 36 | LOCAL_RESOURCE_DIR := $(addprefix $(LOCAL_PATH)/, $(res_dirs)) |
| 37 | |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 38 | LOCAL_PACKAGE_NAME := Calendar |
| 39 | |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 40 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags \ |
| 41 | ../../../frameworks/opt/datetimepicker/proguard.flags |
Daisuke Miyakawa | 551f69c | 2010-10-14 11:10:28 -0700 | [diff] [blame] | 42 | |
Mindy Pereira | 3b4d489 | 2011-12-16 08:44:10 -0800 | [diff] [blame] | 43 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
| 44 | LOCAL_AAPT_FLAGS += --extra-packages com.android.ex.chips |
James Kung | a8b8c0d | 2013-02-13 17:28:16 -0800 | [diff] [blame] | 45 | LOCAL_AAPT_FLAGS += --extra-packages com.android.colorpicker |
Sam Blitzstein | 7674b69 | 2013-01-29 11:45:20 -0800 | [diff] [blame] | 46 | LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker |
Michael Chan | e6aa937 | 2013-04-01 00:31:54 -0700 | [diff] [blame] | 47 | LOCAL_AAPT_FLAGS += --extra-packages com.android.timezonepicker |
Mindy Pereira | 18cabd2 | 2011-06-09 18:31:23 -0700 | [diff] [blame] | 48 | |
The Android Open Source Project | 146de36 | 2009-03-03 19:32:18 -0800 | [diff] [blame] | 49 | include $(BUILD_PACKAGE) |
| 50 | |
| 51 | # Use the following include to make our test apk. |
| 52 | include $(call all-makefiles-under,$(LOCAL_PATH)) |