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