The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Andrew Sapperstein | 1379288 | 2016-04-11 13:58:07 -0700 | [diff] [blame] | 4 | LOCAL_SRC_FILES := \ |
| 5 | $(call all-logtags-files-under, src) |
| 6 | |
| 7 | LOCAL_MODULE := settings-logtags |
| 8 | |
| 9 | include $(BUILD_STATIC_JAVA_LIBRARY) |
| 10 | |
| 11 | # Build the Settings APK |
| 12 | include $(CLEAR_VARS) |
| 13 | |
Kenny Root | 1b291c1 | 2016-01-20 15:50:55 -0800 | [diff] [blame] | 14 | LOCAL_JAVA_LIBRARIES := bouncycastle core-oj telephony-common ims-common |
Jason Monk | 39b4674 | 2015-09-10 15:52:51 -0400 | [diff] [blame] | 15 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
| 16 | android-support-v4 \ |
| 17 | android-support-v13 \ |
| 18 | android-support-v7-recyclerview \ |
| 19 | android-support-v7-preference \ |
| 20 | android-support-v7-appcompat \ |
| 21 | android-support-v14-preference \ |
Andrew Sapperstein | 1379288 | 2016-04-11 13:58:07 -0700 | [diff] [blame] | 22 | jsr305 \ |
| 23 | settings-logtags |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 24 | |
Jean-Baptiste Queru | cb526ca | 2010-01-05 16:27:26 -0800 | [diff] [blame] | 25 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 26 | |
rich cannings | 27d6f8d | 2013-05-29 14:54:58 -0700 | [diff] [blame] | 27 | LOCAL_SRC_FILES := \ |
Andrew Sapperstein | 1379288 | 2016-04-11 13:58:07 -0700 | [diff] [blame] | 28 | $(call all-java-files-under, src) |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 29 | |
Jason Monk | 39b4674 | 2015-09-10 15:52:51 -0400 | [diff] [blame] | 30 | LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res \ |
| 31 | frameworks/support/v7/preference/res \ |
| 32 | frameworks/support/v14/preference/res \ |
| 33 | frameworks/support/v7/appcompat/res \ |
| 34 | frameworks/support/v7/recyclerview/res |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 35 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 36 | LOCAL_PACKAGE_NAME := Settings |
| 37 | LOCAL_CERTIFICATE := platform |
Christopher Tate | 992b4fc | 2013-05-10 14:11:05 -0700 | [diff] [blame] | 38 | LOCAL_PRIVILEGED_MODULE := true |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 39 | |
Ying Wang | c845c6d | 2010-09-30 13:23:20 -0700 | [diff] [blame] | 40 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Daisuke Miyakawa | c81adf5 | 2010-08-12 13:04:43 -0700 | [diff] [blame] | 41 | |
Jason Monk | 39b4674 | 2015-09-10 15:52:51 -0400 | [diff] [blame] | 42 | LOCAL_AAPT_FLAGS := --auto-add-overlay \ |
| 43 | --extra-packages android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview |
| 44 | |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 45 | ifneq ($(INCREMENTAL_BUILDS),) |
| 46 | LOCAL_PROGUARD_ENABLED := disabled |
| 47 | LOCAL_JACK_ENABLED := incremental |
Jorim Jaggi | 75b22c6 | 2016-01-28 20:06:32 -0800 | [diff] [blame] | 48 | LOCAL_DX_FLAGS := --multi-dex |
| 49 | LOCAL_JACK_FLAGS := --multi-dex native |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 50 | endif |
| 51 | |
Maurice Lam | 3806f97 | 2016-02-12 15:51:43 -0800 | [diff] [blame] | 52 | include frameworks/opt/setupwizard/library/common-full-support.mk |
Jason Monk | f15248b | 2015-01-13 10:05:53 -0500 | [diff] [blame] | 53 | include frameworks/base/packages/SettingsLib/common.mk |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 54 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 55 | include $(BUILD_PACKAGE) |
| 56 | |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 57 | # Use the following include to make our test apk. |
Amith Yamasani | 0dd03eb | 2014-05-20 17:37:44 -0700 | [diff] [blame] | 58 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 59 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Amith Yamasani | 0dd03eb | 2014-05-20 17:37:44 -0700 | [diff] [blame] | 60 | endif |