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 | 867bb9c | 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 | |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 14 | LOCAL_PACKAGE_NAME := Settings |
Anton Hansson | 861554a | 2018-02-22 16:12:29 +0000 | [diff] [blame] | 15 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 16 | LOCAL_CERTIFICATE := platform |
| 17 | LOCAL_PRIVILEGED_MODULE := true |
| 18 | LOCAL_MODULE_TAGS := optional |
| 19 | LOCAL_USE_AAPT2 := true |
| 20 | |
| 21 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 22 | |
| 23 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Matthew Fritze | b277557 | 2017-12-05 10:46:47 -0800 | [diff] [blame] | 24 | android-slices-builders \ |
| 25 | android-slices-core \ |
| 26 | android-slices-view \ |
Jason Monk | 2021012 | 2018-04-03 18:36:42 -0400 | [diff] [blame] | 27 | android-support-compat \ |
Jason Monk | 39b4674 | 2015-09-10 15:52:51 -0400 | [diff] [blame] | 28 | android-support-v4 \ |
| 29 | android-support-v13 \ |
Jason Monk | 39b4674 | 2015-09-10 15:52:51 -0400 | [diff] [blame] | 30 | android-support-v7-appcompat \ |
Andrew Sapperstein | 048f6fb | 2017-05-28 12:20:10 -0700 | [diff] [blame] | 31 | android-support-v7-cardview \ |
| 32 | android-support-v7-preference \ |
| 33 | android-support-v7-recyclerview \ |
Matthew Fritze | b277557 | 2017-12-05 10:46:47 -0800 | [diff] [blame] | 34 | android-support-v14-preference \ |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 35 | |
| 36 | LOCAL_JAVA_LIBRARIES := \ |
| 37 | bouncycastle \ |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 38 | telephony-common \ |
| 39 | ims-common |
| 40 | |
| 41 | LOCAL_STATIC_JAVA_LIBRARIES := \ |
Aurimas Liutikas | 0fbf8d8 | 2018-01-26 22:51:18 +0000 | [diff] [blame] | 42 | android-arch-lifecycle-runtime \ |
| 43 | android-arch-lifecycle-extensions \ |
jackqdyulei | 3ee28c8 | 2018-02-20 15:07:26 -0800 | [diff] [blame] | 44 | guava \ |
Andrew Sapperstein | 867bb9c | 2016-04-11 13:58:07 -0700 | [diff] [blame] | 45 | jsr305 \ |
Matthew Fritze | b277557 | 2017-12-05 10:46:47 -0800 | [diff] [blame] | 46 | settings-logtags \ |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 47 | |
Ying Wang | c845c6d | 2010-09-30 13:23:20 -0700 | [diff] [blame] | 48 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Daisuke Miyakawa | c81adf5 | 2010-08-12 13:04:43 -0700 | [diff] [blame] | 49 | |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 50 | ifneq ($(INCREMENTAL_BUILDS),) |
| 51 | LOCAL_PROGUARD_ENABLED := disabled |
| 52 | LOCAL_JACK_ENABLED := incremental |
Jorim Jaggi | 75b22c6 | 2016-01-28 20:06:32 -0800 | [diff] [blame] | 53 | LOCAL_JACK_FLAGS := --multi-dex native |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 54 | endif |
| 55 | |
Maurice Lam | 62478b9 | 2016-12-16 14:11:02 -0800 | [diff] [blame] | 56 | include frameworks/opt/setupwizard/library/common-gingerbread.mk |
Jason Monk | f15248b | 2015-01-13 10:05:53 -0500 | [diff] [blame] | 57 | include frameworks/base/packages/SettingsLib/common.mk |
Tony Mantler | 0fcd6cb | 2018-03-26 15:17:25 -0700 | [diff] [blame] | 58 | include frameworks/base/packages/SettingsLib/search/common.mk |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 59 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 60 | include $(BUILD_PACKAGE) |
| 61 | |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 62 | # Use the following include to make our test apk. |
Amith Yamasani | 0dd03eb | 2014-05-20 17:37:44 -0700 | [diff] [blame] | 63 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 64 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Amith Yamasani | 0dd03eb | 2014-05-20 17:37:44 -0700 | [diff] [blame] | 65 | endif |