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 |
Anton Hansson | 16322a0 | 2018-12-10 17:03:29 +0000 | [diff] [blame^] | 18 | LOCAL_REQUIRED_MODULES := privapp_whitelist_com.android.settings |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 19 | LOCAL_MODULE_TAGS := optional |
| 20 | LOCAL_USE_AAPT2 := true |
| 21 | |
| 22 | LOCAL_SRC_FILES := $(call all-java-files-under, src) |
| 23 | |
| 24 | LOCAL_STATIC_ANDROID_LIBRARIES := \ |
Aurimas Liutikas | e0069d3 | 2018-04-17 11:22:43 -0700 | [diff] [blame] | 25 | androidx.slice_slice-builders \ |
| 26 | androidx.slice_slice-core \ |
| 27 | androidx.slice_slice-view \ |
| 28 | androidx.core_core \ |
Aurimas Liutikas | e0069d3 | 2018-04-17 11:22:43 -0700 | [diff] [blame] | 29 | androidx.appcompat_appcompat \ |
| 30 | androidx.cardview_cardview \ |
| 31 | androidx.preference_preference \ |
| 32 | androidx.recyclerview_recyclerview \ |
Raff Tsai | 082f8ee | 2018-06-29 06:11:39 +0000 | [diff] [blame] | 33 | com.google.android.material_material \ |
Pasty Chang | c1f8600 | 2018-12-11 02:22:55 +0000 | [diff] [blame] | 34 | setupcompat \ |
| 35 | setupdesign |
Adam Lesinski | 701af87 | 2016-08-16 15:59:14 -0700 | [diff] [blame] | 36 | |
| 37 | LOCAL_JAVA_LIBRARIES := \ |
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 | e0069d3 | 2018-04-17 11:22:43 -0700 | [diff] [blame] | 42 | androidx.lifecycle_lifecycle-runtime \ |
| 43 | androidx.lifecycle_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 \ |
Fan Zhang | 8985efe | 2018-10-09 16:12:34 -0700 | [diff] [blame] | 46 | settings-contextual-card-protos-lite \ |
Raff Tsai | 3936e9f | 2018-09-28 17:42:43 +0800 | [diff] [blame] | 47 | contextualcards \ |
Matthew Fritze | b277557 | 2017-12-05 10:46:47 -0800 | [diff] [blame] | 48 | settings-logtags \ |
Johnson Lu | 881ba4e | 2018-11-02 15:58:47 +0800 | [diff] [blame] | 49 | zxing-core-1.7 |
Jeff Sharkey | ab2d8d3 | 2011-05-30 16:19:56 -0700 | [diff] [blame] | 50 | |
Ying Wang | c845c6d | 2010-09-30 13:23:20 -0700 | [diff] [blame] | 51 | LOCAL_PROGUARD_FLAG_FILES := proguard.flags |
Daisuke Miyakawa | c81adf5 | 2010-08-12 13:04:43 -0700 | [diff] [blame] | 52 | |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 53 | ifneq ($(INCREMENTAL_BUILDS),) |
| 54 | LOCAL_PROGUARD_ENABLED := disabled |
| 55 | LOCAL_JACK_ENABLED := incremental |
Jorim Jaggi | 75b22c6 | 2016-01-28 20:06:32 -0800 | [diff] [blame] | 56 | LOCAL_JACK_FLAGS := --multi-dex native |
Jorim Jaggi | c9f7380 | 2015-04-24 11:12:20 -0700 | [diff] [blame] | 57 | endif |
| 58 | |
Jason Monk | f15248b | 2015-01-13 10:05:53 -0500 | [diff] [blame] | 59 | include frameworks/base/packages/SettingsLib/common.mk |
Tony Mantler | 0fcd6cb | 2018-03-26 15:17:25 -0700 | [diff] [blame] | 60 | include frameworks/base/packages/SettingsLib/search/common.mk |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 61 | |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 62 | include $(BUILD_PACKAGE) |
| 63 | |
Raff Tsai | 3936e9f | 2018-09-28 17:42:43 +0800 | [diff] [blame] | 64 | # ==== prebuilt library ======================== |
| 65 | include $(CLEAR_VARS) |
| 66 | |
| 67 | LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := \ |
| 68 | contextualcards:libs/contextualcards.aar |
| 69 | include $(BUILD_MULTI_PREBUILT) |
| 70 | |
Maurice Lam | 6776c67 | 2014-06-05 19:15:20 -0700 | [diff] [blame] | 71 | # Use the following include to make our test apk. |
Amith Yamasani | 0dd03eb | 2014-05-20 17:37:44 -0700 | [diff] [blame] | 72 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
The Android Open Source Project | afc4ab2 | 2009-03-03 19:32:34 -0800 | [diff] [blame] | 73 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Anton Hansson | 16322a0 | 2018-12-10 17:03:29 +0000 | [diff] [blame^] | 74 | endif |