blob: 313b1cb3e4ff8e30cc0e1508533f18f590167b9b [file] [log] [blame]
Justin Klaassen1e76b672015-01-23 17:57:11 -08001LOCAL_PATH := $(call my-dir)
The Android Open Source Project5fedae02009-03-03 19:32:15 -08002include $(CLEAR_VARS)
3
Annie Chin758e9142015-02-13 12:46:26 -08004LOCAL_RESOURCE_DIR := packages/apps/DeskClock/res
Annie Chind5545ac2015-02-13 17:02:26 -08005LOCAL_RESOURCE_DIR += frameworks/opt/datetimepicker/res
Budi Kusmiantoro762fdc22015-02-25 18:52:07 -08006
7ifeq ($(TARGET_BUILD_APPS),)
Fan Zhang3b71e5c2015-08-10 15:55:05 -07008LOCAL_RESOURCE_DIR += frameworks/support/design/res
Budi Kusmiantoro762fdc22015-02-25 18:52:07 -08009LOCAL_RESOURCE_DIR += frameworks/support/v7/appcompat/res
10LOCAL_RESOURCE_DIR += frameworks/support/v7/gridlayout/res
James Lemieuxc3a2d042015-08-04 12:54:46 -070011LOCAL_RESOURCE_DIR += frameworks/support/v7/recyclerview/res
Budi Kusmiantoro762fdc22015-02-25 18:52:07 -080012else
Fan Zhang3b71e5c2015-08-10 15:55:05 -070013LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/design/res
Annie Chind5545ac2015-02-13 17:02:26 -080014LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/appcompat/res
Justin Klaassen639b7022015-02-23 16:37:10 -080015LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/gridlayout/res
James Lemieuxc3a2d042015-08-04 12:54:46 -070016LOCAL_RESOURCE_DIR += prebuilts/sdk/current/support/v7/recyclerview/res
Budi Kusmiantoro762fdc22015-02-25 18:52:07 -080017endif
Annie Chin758e9142015-02-13 12:46:26 -080018
Jean-Baptiste Queru4ec9ce02010-01-05 11:09:51 -080019LOCAL_MODULE_TAGS := optional
Justin Klaassen1e76b672015-01-23 17:57:11 -080020LOCAL_SDK_VERSION := current
Jean-Baptiste Queru4ec9ce02010-01-05 11:09:51 -080021
Justin Klaassen1e76b672015-01-23 17:57:11 -080022LOCAL_PACKAGE_NAME := DeskClock
23LOCAL_OVERRIDES_PACKAGES := AlarmClock
Daniel Sandlerc57490d2011-05-05 16:51:08 -040024
Guang Zhucfa35d52010-04-01 18:13:01 -070025LOCAL_SRC_FILES := $(call all-java-files-under, src)
The Android Open Source Project5fedae02009-03-03 19:32:15 -080026
Justin Klaassen639b7022015-02-23 16:37:10 -080027LOCAL_STATIC_JAVA_LIBRARIES := android-opt-datetimepicker
Fan Zhang3b71e5c2015-08-10 15:55:05 -070028LOCAL_STATIC_JAVA_LIBRARIES += android-support-design
Justin Klaassen639b7022015-02-23 16:37:10 -080029LOCAL_STATIC_JAVA_LIBRARIES += android-support-v13
Budi Kusmiantoro6c6337c2015-02-11 19:26:09 -080030LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-appcompat
Justin Klaassen639b7022015-02-23 16:37:10 -080031LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-gridlayout
James Lemieuxc3a2d042015-08-04 12:54:46 -070032LOCAL_STATIC_JAVA_LIBRARIES += android-support-v7-recyclerview
Budi Kusmiantoro6c6337c2015-02-11 19:26:09 -080033
Sam Blitzsteincaf5f002013-08-27 10:19:32 -070034LOCAL_AAPT_FLAGS := --auto-add-overlay
Fan Zhang3b71e5c2015-08-10 15:55:05 -070035LOCAL_AAPT_FLAGS += --extra-packages android.support.design
Budi Kusmiantoro6c6337c2015-02-11 19:26:09 -080036LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.appcompat
Justin Klaassen639b7022015-02-23 16:37:10 -080037LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.gridlayout
James Lemieuxc3a2d042015-08-04 12:54:46 -070038LOCAL_AAPT_FLAGS += --extra-packages android.support.v7.recyclerview
Annie Chin758e9142015-02-13 12:46:26 -080039LOCAL_AAPT_FLAGS += --extra-packages com.android.datetimepicker
Isaac Katzenelson65d7dfb2012-08-28 16:58:32 -070040
The Android Open Source Project5fedae02009-03-03 19:32:15 -080041include $(BUILD_PACKAGE)