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 \ |
Stephen Hines | 446ae75 | 2015-09-22 12:49:39 -0700 | [diff] [blame] | 62 | ld.mc \ |
Phil Burk | 85417bc | 2017-02-09 16:26:45 -0800 | [diff] [blame] | 63 | libaaudio \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 64 | libOpenMAXAL \ |
| 65 | libOpenSLES \ |
| 66 | libdownmix \ |
| 67 | libfilterfw \ |
Andres Morales | f886fee | 2015-03-31 16:31:13 -0700 | [diff] [blame] | 68 | libgatekeeper \ |
Kenny Root | abe4266 | 2014-05-14 11:48:08 -0700 | [diff] [blame] | 69 | libkeystore \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 70 | libwilhelm \ |
Adam Lesinski | b300792 | 2014-06-05 15:21:18 -0700 | [diff] [blame] | 71 | libdrmframework_jni \ |
| 72 | libdrmframework \ |
Jin Qian | 95b2b69 | 2017-11-02 16:27:41 -0700 | [diff] [blame] | 73 | mke2fs \ |
Daniel Rosenberg | 0df5e72 | 2014-06-17 16:29:15 -0700 | [diff] [blame] | 74 | e2fsck \ |
| 75 | resize2fs \ |
liminghao | a4b899d | 2016-07-22 14:23:35 +0800 | [diff] [blame] | 76 | tune2fs \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 77 | screencap \ |
| 78 | sensorservice \ |
Doug Zongker | 00aba87 | 2014-01-16 12:43:19 -0800 | [diff] [blame] | 79 | uiautomator \ |
Adam Lesinski | c1dd8b4 | 2014-06-05 15:27:26 -0700 | [diff] [blame] | 80 | uncrypt \ |
Adam Lesinski | 40703e9 | 2014-06-03 21:12:25 -0700 | [diff] [blame] | 81 | telephony-common \ |
| 82 | voip-common \ |
Nick Vaccaro | 56eb2f98 | 2014-06-25 15:18:40 -0700 | [diff] [blame] | 83 | logd \ |
SzuWei Lin | af505d5 | 2017-06-19 15:20:10 +0800 | [diff] [blame] | 84 | |
| 85 | # Wifi modules |
| 86 | PRODUCT_PACKAGES += \ |
| 87 | wifi-service \ |
| 88 | wificond \ |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 89 | |
Igor Murashkin | cda3d10 | 2017-06-15 09:46:58 -0700 | [diff] [blame] | 90 | ifeq ($(TARGET_CORE_JARS),) |
| 91 | $(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable) |
| 92 | endif |
| 93 | |
Ying Wang | c747175 | 2014-01-07 17:22:10 -0800 | [diff] [blame] | 94 | # The order matters |
| 95 | PRODUCT_BOOT_JARS := \ |
Igor Murashkin | cda3d10 | 2017-06-15 09:46:58 -0700 | [diff] [blame] | 96 | $(TARGET_CORE_JARS) \ |
Paul Duffin | a840752 | 2017-11-30 17:13:36 +0000 | [diff] [blame] | 97 | android.test.base \ |
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 | |
Narayan Kamath | 89ec496 | 2014-08-05 14:51:08 +0100 | [diff] [blame] | 112 | # The order of PRODUCT_SYSTEM_SERVER_JARS matters. |
| 113 | PRODUCT_SYSTEM_SERVER_JARS := \ |
| 114 | services \ |
Joe LaPenna | bde7cc1 | 2014-07-05 01:39:24 -0700 | [diff] [blame] | 115 | wifi-service |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 116 | |
Nicolas Geoffray | 7d32b8b | 2017-03-22 12:36:05 +0000 | [diff] [blame] | 117 | # The set of packages whose code can be loaded by the system server. |
| 118 | PRODUCT_SYSTEM_SERVER_APPS += \ |
| 119 | FusedLocation \ |
| 120 | InputDevices \ |
| 121 | SettingsProvider \ |
| 122 | WallpaperBackup \ |
| 123 | |
Nicolas Geoffray | 4a0ad4a | 2017-06-12 15:19:16 +0100 | [diff] [blame] | 124 | # The set of packages we want to force 'speed' compilation on. |
| 125 | PRODUCT_DEXPREOPT_SPEED_APPS := \ |
| 126 | |
Brian Carlstrom | de5dce1 | 2014-07-01 11:51:17 -0700 | [diff] [blame] | 127 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 128 | ro.zygote=zygote32 |
| 129 | PRODUCT_COPY_FILES += \ |
| 130 | system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc |
| 131 | |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 132 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 133 | ro.carrier=unknown |
| 134 | |
Ying Wang | d54520a | 2014-12-08 14:46:29 -0800 | [diff] [blame] | 135 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |
Ying Wang | 2cebe0b | 2013-11-20 15:18:02 -0800 | [diff] [blame] | 136 | $(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk) |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 137 | $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) |
Roozbeh Pournader | 3ab85e4 | 2015-02-25 16:39:22 -0800 | [diff] [blame] | 138 | $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) |
Alex Ray | c8bbe3a | 2013-10-25 00:30:33 -0700 | [diff] [blame] | 139 | |
| 140 | # Overrides |
| 141 | PRODUCT_BRAND := tiny |
| 142 | PRODUCT_DEVICE := tiny |
| 143 | PRODUCT_NAME := core_tiny |