Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2013 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | # Tiny configuration for small devices such as wearables. Includes base and embedded. |
| 17 | # No telephony |
| 18 | |
| 19 | PRODUCT_PACKAGES := \ |
| 20 | Bluetooth \ |
Justin Koh | 3446af6 | 2014-05-16 11:29:11 -0700 | [diff] [blame] | 21 | CalendarProvider \ |
Justin Koh | 0e35df2 | 2014-05-04 16:31:02 -0700 | [diff] [blame] | 22 | ContactsProvider \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 23 | CertInstaller \ |
| 24 | FusedLocation \ |
Ying Wang | e6a65a5 | 2014-02-12 14:58:06 -0800 | [diff] [blame] | 25 | InputDevices |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 26 | |
| 27 | PRODUCT_PACKAGES += \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 28 | clatd \ |
| 29 | clatd.conf \ |
Ying Wang | e6a65a5 | 2014-02-12 14:58:06 -0800 | [diff] [blame] | 30 | pppd |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 31 | |
| 32 | PRODUCT_PACKAGES += \ |
| 33 | audio.primary.default \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 34 | local_time.default \ |
| 35 | power.default |
| 36 | |
| 37 | PRODUCT_PACKAGES += \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 38 | BackupRestoreConfirmation \ |
Amith Yamasani | 6f7873c | 2016-05-13 11:25:07 -0700 | [diff] [blame] | 39 | CtsShimPrebuilt \ |
Todd Kennedy | 98ffa93 | 2016-05-03 16:11:38 +0000 | [diff] [blame] | 40 | CtsShimPrivPrebuilt \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 41 | DefaultContainerService \ |
Tom Cherry | 1d242f1 | 2016-04-11 17:06:59 -0700 | [diff] [blame] | 42 | ExtShared \ |
| 43 | ExtServices \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 44 | SettingsProvider \ |
| 45 | Shell \ |
Todd Kennedy | 98ffa93 | 2016-05-03 16:11:38 +0000 | [diff] [blame] | 46 | WallpaperBackup \ |
Ben Fennema | 4276c22 | 2017-05-15 15:38:33 -0700 | [diff] [blame] | 47 | android.hidl.base-V1.0-java \ |
| 48 | android.hidl.manager-V1.0-java \ |
Stephen Hines | bdac04e | 2014-11-05 13:19:56 -0800 | [diff] [blame] | 49 | bcc \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 50 | bu \ |
| 51 | com.android.location.provider \ |
| 52 | com.android.location.provider.xml \ |
| 53 | framework-res \ |
| 54 | installd \ |
Nick Vaccaro | 684ee2b | 2014-07-02 12:32:21 -0700 | [diff] [blame] | 55 | ims-common \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 56 | ip \ |
| 57 | ip-up-vpn \ |
| 58 | ip6tables \ |
| 59 | iptables \ |
Andres Morales | d2c9d45 | 2015-04-06 17:09:24 -0700 | [diff] [blame] | 60 | gatekeeperd \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 61 | keystore \ |
Justin Yun | c29ba5a | 2018-03-07 13:27:24 +0900 | [diff] [blame] | 62 | ld.config.txt \ |
Stephen Hines | 446ae75 | 2015-09-22 12:49:39 -0700 | [diff] [blame] | 63 | ld.mc \ |
Phil Burk | 85417bc | 2017-02-09 16:26:45 -0800 | [diff] [blame] | 64 | libaaudio \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 65 | libOpenMAXAL \ |
| 66 | libOpenSLES \ |
| 67 | libdownmix \ |
| 68 | libfilterfw \ |
Andres Morales | f886fee | 2015-03-31 16:31:13 -0700 | [diff] [blame] | 69 | libgatekeeper \ |
Kenny Root | abe4266 | 2014-05-14 11:48:08 -0700 | [diff] [blame] | 70 | libkeystore \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 71 | libwilhelm \ |
Adam Lesinski | b300792 | 2014-06-05 15:21:18 -0700 | [diff] [blame] | 72 | libdrmframework_jni \ |
| 73 | libdrmframework \ |
Jin Qian | 95b2b69 | 2017-11-02 16:27:41 -0700 | [diff] [blame] | 74 | mke2fs \ |
Daniel Rosenberg | 0df5e72 | 2014-06-17 16:29:15 -0700 | [diff] [blame] | 75 | e2fsck \ |
| 76 | resize2fs \ |
liminghao | a4b899d | 2016-07-22 14:23:35 +0800 | [diff] [blame] | 77 | tune2fs \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 78 | screencap \ |
| 79 | sensorservice \ |
Doug Zongker | 00aba87 | 2014-01-16 12:43:19 -0800 | [diff] [blame] | 80 | uiautomator \ |
Adam Lesinski | c1dd8b4 | 2014-06-05 15:27:26 -0700 | [diff] [blame] | 81 | uncrypt \ |
Adam Lesinski | 40703e9 | 2014-06-03 21:12:25 -0700 | [diff] [blame] | 82 | telephony-common \ |
| 83 | voip-common \ |
Nick Vaccaro | 56eb2f98 | 2014-06-25 15:18:40 -0700 | [diff] [blame] | 84 | logd \ |
SzuWei Lin | af505d5 | 2017-06-19 15:20:10 +0800 | [diff] [blame] | 85 | |
| 86 | # Wifi modules |
| 87 | PRODUCT_PACKAGES += \ |
| 88 | wifi-service \ |
| 89 | wificond \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 90 | |
Igor Murashkin | cda3d10 | 2017-06-15 09:46:58 -0700 | [diff] [blame] | 91 | ifeq ($(TARGET_CORE_JARS),) |
| 92 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 93 | endif |
| 94 | |
Ying Wang | c747175 | 2014-01-07 17:22:10 -0800 | [diff] [blame] | 95 | # The order matters |
| 96 | PRODUCT_BOOT_JARS := \ |
Igor Murashkin | cda3d10 | 2017-06-15 09:46:58 -0700 | [diff] [blame] | 97 | $(TARGET_CORE_JARS) \ |
Ying Wang | c747175 | 2014-01-07 17:22:10 -0800 | [diff] [blame] | 98 | ext \ |
| 99 | framework \ |
Adam Lesinski | 40703e9 | 2014-06-03 21:12:25 -0700 | [diff] [blame] | 100 | telephony-common \ |
| 101 | voip-common \ |
Brian Carlstrom | de5dce1 | 2014-07-01 11:51:17 -0700 | [diff] [blame] | 102 | ims-common \ |
Ben Fennema | 4276c22 | 2017-05-15 15:38:33 -0700 | [diff] [blame] | 103 | android.hidl.base-V1.0-java \ |
| 104 | android.hidl.manager-V1.0-java |
Narayan Kamath | 89ec496 | 2014-08-05 14:51:08 +0100 | [diff] [blame] | 105 | |
Paul Duffin | 3a4f2ed | 2017-07-14 15:31:04 +0100 | [diff] [blame] | 106 | ifeq ($(REMOVE_OAHL_FROM_BCP),true) |
| 107 | PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility |
| 108 | else |
| 109 | PRODUCT_BOOT_JARS += org.apache.http.legacy.boot |
| 110 | endif |
| 111 | |
Ben Fennema | 86702c2 | 2018-04-03 21:32:01 -0700 | [diff] [blame] | 112 | ifeq ($(REMOVE_ATB_FROM_BCP),true) |
Paul Duffin | e2819d8 | 2018-01-24 16:41:33 +0000 | [diff] [blame] | 113 | PRODUCT_BOOT_JARS += framework-atb-backward-compatibility |
| 114 | else |
| 115 | PRODUCT_BOOT_JARS += android.test.base |
| 116 | endif |
| 117 | |
Narayan Kamath | 89ec496 | 2014-08-05 14:51:08 +0100 | [diff] [blame] | 118 | # The order of PRODUCT_SYSTEM_SERVER_JARS matters. |
| 119 | PRODUCT_SYSTEM_SERVER_JARS := \ |
| 120 | services \ |
Joe LaPenna | bde7cc1 | 2014-07-05 01:39:24 -0700 | [diff] [blame] | 121 | wifi-service |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 122 | |
Nicolas Geoffray | 7d32b8b | 2017-03-22 12:36:05 +0000 | [diff] [blame] | 123 | # The set of packages whose code can be loaded by the system server. |
| 124 | PRODUCT_SYSTEM_SERVER_APPS += \ |
| 125 | FusedLocation \ |
| 126 | InputDevices \ |
| 127 | SettingsProvider \ |
| 128 | WallpaperBackup \ |
| 129 | |
Nicolas Geoffray | 4a0ad4a | 2017-06-12 15:19:16 +0100 | [diff] [blame] | 130 | # The set of packages we want to force 'speed' compilation on. |
| 131 | PRODUCT_DEXPREOPT_SPEED_APPS := \ |
| 132 | |
Brian Carlstrom | de5dce1 | 2014-07-01 11:51:17 -0700 | [diff] [blame] | 133 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 134 | ro.zygote=zygote32 |
| 135 | PRODUCT_COPY_FILES += \ |
| 136 | system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 137 | |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 138 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 139 | ro.carrier=unknown |
| 140 | |
Ying Wang | d54520a | 2014-12-08 14:46:29 -0800 | [diff] [blame] | 141 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |
Ying Wang | 2cebe0b | 2013-11-20 15:18:02 -0800 | [diff] [blame] | 142 | $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 143 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
Roozbeh Pournader | 3ab85e4 | 2015-02-25 16:39:22 -0800 | [diff] [blame] | 144 | $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 145 | |
| 146 | # Overrides |
| 147 | PRODUCT_BRAND := tiny |
| 148 | PRODUCT_DEVICE := tiny |
| 149 | PRODUCT_NAME := core_tiny |