blob: ce45284b4f969c445d13ec009c405672f0a0f3ce [file] [log] [blame]
Alex Rayc8bbe3a2013-10-25 00:30:33 -07001#
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
19PRODUCT_PACKAGES := \
20 Bluetooth \
Justin Koh3446af62014-05-16 11:29:11 -070021 CalendarProvider \
Justin Koh0e35df22014-05-04 16:31:02 -070022 ContactsProvider \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070023 CertInstaller \
24 FusedLocation \
Ying Wange6a65a52014-02-12 14:58:06 -080025 InputDevices
Alex Rayc8bbe3a2013-10-25 00:30:33 -070026
27PRODUCT_PACKAGES += \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070028 clatd \
29 clatd.conf \
Ying Wange6a65a52014-02-12 14:58:06 -080030 pppd
Alex Rayc8bbe3a2013-10-25 00:30:33 -070031
32PRODUCT_PACKAGES += \
33 audio.primary.default \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070034 local_time.default \
35 power.default
36
37PRODUCT_PACKAGES += \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070038 BackupRestoreConfirmation \
Amith Yamasani6f7873c2016-05-13 11:25:07 -070039 CtsShimPrebuilt \
Todd Kennedy98ffa932016-05-03 16:11:38 +000040 CtsShimPrivPrebuilt \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070041 DefaultContainerService \
Tom Cherry1d242f12016-04-11 17:06:59 -070042 ExtShared \
43 ExtServices \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070044 SettingsProvider \
45 Shell \
Todd Kennedy98ffa932016-05-03 16:11:38 +000046 WallpaperBackup \
Ben Fennema4276c222017-05-15 15:38:33 -070047 android.hidl.base-V1.0-java \
48 android.hidl.manager-V1.0-java \
Stephen Hinesbdac04e2014-11-05 13:19:56 -080049 bcc \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070050 bu \
51 com.android.location.provider \
52 com.android.location.provider.xml \
53 framework-res \
54 installd \
Nick Vaccaro684ee2b2014-07-02 12:32:21 -070055 ims-common \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070056 ip \
57 ip-up-vpn \
58 ip6tables \
59 iptables \
Andres Moralesd2c9d452015-04-06 17:09:24 -070060 gatekeeperd \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070061 keystore \
Justin Yun61c412e2018-03-07 13:27:24 +090062 ld.config.txt \
Stephen Hines446ae752015-09-22 12:49:39 -070063 ld.mc \
Phil Burk85417bc2017-02-09 16:26:45 -080064 libaaudio \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070065 libOpenMAXAL \
66 libOpenSLES \
67 libdownmix \
68 libfilterfw \
Andres Moralesf886fee2015-03-31 16:31:13 -070069 libgatekeeper \
Kenny Rootabe42662014-05-14 11:48:08 -070070 libkeystore \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070071 libwilhelm \
Adam Lesinskib3007922014-06-05 15:21:18 -070072 libdrmframework_jni \
73 libdrmframework \
Jin Qian95b2b692017-11-02 16:27:41 -070074 mke2fs \
Daniel Rosenberg0df5e722014-06-17 16:29:15 -070075 e2fsck \
76 resize2fs \
liminghaoa4b899d2016-07-22 14:23:35 +080077 tune2fs \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070078 screencap \
79 sensorservice \
Doug Zongker00aba872014-01-16 12:43:19 -080080 uiautomator \
Adam Lesinskic1dd8b42014-06-05 15:27:26 -070081 uncrypt \
Adam Lesinski40703e92014-06-03 21:12:25 -070082 telephony-common \
83 voip-common \
Nick Vaccaro56eb2f982014-06-25 15:18:40 -070084 logd \
SzuWei Linaf505d52017-06-19 15:20:10 +080085
86# Wifi modules
87PRODUCT_PACKAGES += \
88 wifi-service \
89 wificond \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070090
Igor Murashkincda3d102017-06-15 09:46:58 -070091ifeq ($(TARGET_CORE_JARS),)
92$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
93endif
94
Ying Wangc7471752014-01-07 17:22:10 -080095# The order matters
96PRODUCT_BOOT_JARS := \
Igor Murashkincda3d102017-06-15 09:46:58 -070097 $(TARGET_CORE_JARS) \
Ying Wangc7471752014-01-07 17:22:10 -080098 ext \
99 framework \
Adam Lesinski40703e92014-06-03 21:12:25 -0700100 telephony-common \
101 voip-common \
Brian Carlstromde5dce12014-07-01 11:51:17 -0700102 ims-common \
Ben Fennema4276c222017-05-15 15:38:33 -0700103 android.hidl.base-V1.0-java \
104 android.hidl.manager-V1.0-java
Narayan Kamath89ec4962014-08-05 14:51:08 +0100105
Paul Duffin3a4f2ed2017-07-14 15:31:04 +0100106ifeq ($(REMOVE_OAHL_FROM_BCP),true)
107PRODUCT_BOOT_JARS += framework-oahl-backward-compatibility
108else
109PRODUCT_BOOT_JARS += org.apache.http.legacy.boot
110endif
111
Paul Duffine2819d82018-01-24 16:41:33 +0000112ifeq ($(REMOVE_OAHL_FROM_BCP),true)
113PRODUCT_BOOT_JARS += framework-atb-backward-compatibility
114else
115PRODUCT_BOOT_JARS += android.test.base
116endif
117
Narayan Kamath89ec4962014-08-05 14:51:08 +0100118# The order of PRODUCT_SYSTEM_SERVER_JARS matters.
119PRODUCT_SYSTEM_SERVER_JARS := \
120 services \
Joe LaPennabde7cc12014-07-05 01:39:24 -0700121 wifi-service
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700122
Nicolas Geoffray7d32b8b2017-03-22 12:36:05 +0000123# The set of packages whose code can be loaded by the system server.
124PRODUCT_SYSTEM_SERVER_APPS += \
125 FusedLocation \
126 InputDevices \
127 SettingsProvider \
128 WallpaperBackup \
129
Nicolas Geoffray4a0ad4a2017-06-12 15:19:16 +0100130# The set of packages we want to force 'speed' compilation on.
131PRODUCT_DEXPREOPT_SPEED_APPS := \
132
Brian Carlstromde5dce12014-07-01 11:51:17 -0700133PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
134 ro.zygote=zygote32
135PRODUCT_COPY_FILES += \
136 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
137
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700138PRODUCT_PROPERTY_OVERRIDES += \
139 ro.carrier=unknown
140
Ying Wangd54520a2014-12-08 14:46:29 -0800141$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
Ying Wang2cebe0b2013-11-20 15:18:02 -0800142$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700143$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
Roozbeh Pournader3ab85e42015-02-25 16:39:22 -0800144$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700145
146# Overrides
147PRODUCT_BRAND := tiny
148PRODUCT_DEVICE := tiny
149PRODUCT_NAME := core_tiny