Justin Klaassen | 1e76b67 | 2015-01-23 17:57:11 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 2 | include $(CLEAR_VARS) |
| 3 | |
Annie Chin | 758e914 | 2015-02-13 12:46:26 -0800 | [diff] [blame] | 4 | LOCAL_RESOURCE_DIR := packages/apps/DeskClock/res |
Annie Chin | d5545ac | 2015-02-13 17:02:26 -0800 | [diff] [blame] | 5 | LOCAL_RESOURCE_DIR += frameworks/opt/datetimepicker/res |
Budi Kusmiantoro | 762fdc2 | 2015-02-25 18:52:07 -0800 | [diff] [blame] | 6 | |
| 7 | ifeq ($(TARGET_BUILD_APPS),) |
Fan Zhang | 3b71e5c | 2015-08-10 15:55:05 -0700 | [diff] [blame] | 8 | LOCAL_RESOURCE_DIR += frameworks/support/design/res |
Budi Kusmiantoro | 762fdc2 | 2015-02-25 18:52:07 -0800 | [diff] [blame] | 9 | LOCAL_RESOURCE_DIR += frameworks/support/v7/appcompat/res |
| 10 | LOCAL_RESOURCE_DIR += frameworks/support/v7/gridlayout/res |
James Lemieux | c3a2d04 | 2015-08-04 12:54:46 -0700 | [diff] [blame] | 11 | LOCAL_RESOURCE_DIR += frameworks/support/v7/recyclerview/res |
Budi Kusmiantoro | 762fdc2 | 2015-02-25 18:52:07 -0800 | [diff] [blame] | 12 | else |
Fan Zhang | 3b71e5c | 2015-08-10 15:55:05 -0700 | [diff] [blame] | 13 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/design/res |
Annie Chin | d5545ac | 2015-02-13 17:02:26 -0800 | [diff] [blame] | 14 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/appcompat/res |
Justin Klaassen | 639b702 | 2015-02-23 16:37:10 -0800 | [diff] [blame] | 15 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res |
James Lemieux | c3a2d04 | 2015-08-04 12:54:46 -0700 | [diff] [blame] | 16 | LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res |
Budi Kusmiantoro | 762fdc2 | 2015-02-25 18:52:07 -0800 | [diff] [blame] | 17 | endif |
Annie Chin | 758e914 | 2015-02-13 12:46:26 -0800 | [diff] [blame] | 18 | |
Jean-Baptiste Queru | 4ec9ce0 | 2010-01-05 11:09:51 -0800 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := optional |
Justin Klaassen | 1e76b67 | 2015-01-23 17:57:11 -0800 | [diff] [blame] | 20 | LOCAL_SDK_VERSION := current |
Jean-Baptiste Queru | 4ec9ce0 | 2010-01-05 11:09:51 -0800 | [diff] [blame] | 21 | |
Justin Klaassen | 1e76b67 | 2015-01-23 17:57:11 -0800 | [diff] [blame] | 22 | LOCAL_PACKAGE_NAME := DeskClock |
| 23 | LOCAL_OVERRIDES_PACKAGES := AlarmClock |
Daniel Sandler | c57490d | 2011-05-05 16:51:08 -0400 | [diff] [blame] | 24 | |
Guang Zhu | cfa35d5 | 2010-04-01 18:13:01 -0700 | [diff] [blame] | 25 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 26 | |
Justin Klaassen | 639b702 | 2015-02-23 16:37:10 -0800 | [diff] [blame] | 27 | LOCAL_STATIC_JAVA_LIBRARIES := android-opt-datetimepicker |
Fan Zhang | 3b71e5c | 2015-08-10 15:55:05 -0700 | [diff] [blame] | 28 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-design |
Justin Klaassen | 639b702 | 2015-02-23 16:37:10 -0800 | [diff] [blame] | 29 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13 |
Budi Kusmiantoro | 6c6337c | 2015-02-11 19:26:09 -0800 | [diff] [blame] | 30 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat |
Justin Klaassen | 639b702 | 2015-02-23 16:37:10 -0800 | [diff] [blame] | 31 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout |
James Lemieux | c3a2d04 | 2015-08-04 12:54:46 -0700 | [diff] [blame] | 32 | LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview |
Budi Kusmiantoro | 6c6337c | 2015-02-11 19:26:09 -0800 | [diff] [blame] | 33 | |
Sam Blitzstein | caf5f00 | 2013-08-27 10:19:32 -0700 | [diff] [blame] | 34 | LOCAL_AAPT_FLAGS := --auto-add-overlay |
Fan Zhang | 3b71e5c | 2015-08-10 15:55:05 -0700 | [diff] [blame] | 35 | LOCAL_AAPT_FLAGS += --extra-packages android.support.design |
Budi Kusmiantoro | 6c6337c | 2015-02-11 19:26:09 -0800 | [diff] [blame] | 36 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat |
Justin Klaassen | 639b702 | 2015-02-23 16:37:10 -0800 | [diff] [blame] | 37 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.gridlayout |
James Lemieux | c3a2d04 | 2015-08-04 12:54:46 -0700 | [diff] [blame] | 38 | LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview |
Annie Chin | 758e914 | 2015-02-13 12:46:26 -0800 | [diff] [blame] | 39 | LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker |
Isaac Katzenelson | 65d7dfb | 2012-08-28 16:58:32 -0700 | [diff] [blame] | 40 | |
The Android Open Source Project | 5fedae0 | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 41 | include $(BUILD_PACKAGE) |