blob: 695f08337f6a914905c0c7bbb6d7449bd0f2c348 [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 \
Stephen Hines446ae752015-09-22 12:49:39 -070062 ld.mc \
Phil Burk85417bc2017-02-09 16:26:45 -080063 libaaudio \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070064 libOpenMAXAL \
65 libOpenSLES \
66 libdownmix \
67 libfilterfw \
Andres Moralesf886fee2015-03-31 16:31:13 -070068 libgatekeeper \
Kenny Rootabe42662014-05-14 11:48:08 -070069 libkeystore \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070070 libwilhelm \
Adam Lesinskib3007922014-06-05 15:21:18 -070071 libdrmframework_jni \
72 libdrmframework \
Jin Qian95b2b692017-11-02 16:27:41 -070073 mke2fs \
Daniel Rosenberg0df5e722014-06-17 16:29:15 -070074 e2fsck \
75 resize2fs \
liminghaoa4b899d2016-07-22 14:23:35 +080076 tune2fs \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070077 screencap \
78 sensorservice \
Doug Zongker00aba872014-01-16 12:43:19 -080079 uiautomator \
Adam Lesinskic1dd8b42014-06-05 15:27:26 -070080 uncrypt \
Adam Lesinski40703e92014-06-03 21:12:25 -070081 telephony-common \
82 voip-common \
Nick Vaccaro56eb2f982014-06-25 15:18:40 -070083 logd \
SzuWei Linaf505d52017-06-19 15:20:10 +080084
85# Wifi modules
86PRODUCT_PACKAGES += \
87 wifi-service \
88 wificond \
Alex Rayc8bbe3a2013-10-25 00:30:33 -070089
Igor Murashkincda3d102017-06-15 09:46:58 -070090ifeq ($(TARGET_CORE_JARS),)
91$(error TARGET_CORE_JARS is empty; cannot initialize PRODUCT_BOOT_JARS variable)
92endif
93
Ying Wangc7471752014-01-07 17:22:10 -080094# The order matters
95PRODUCT_BOOT_JARS := \
Igor Murashkincda3d102017-06-15 09:46:58 -070096 $(TARGET_CORE_JARS) \
Paul Duffina8407522017-11-30 17:13:36 +000097 android.test.base \
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
Narayan Kamath89ec4962014-08-05 14:51:08 +0100112# The order of PRODUCT_SYSTEM_SERVER_JARS matters.
113PRODUCT_SYSTEM_SERVER_JARS := \
114 services \
Joe LaPennabde7cc12014-07-05 01:39:24 -0700115 wifi-service
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700116
Nicolas Geoffray7d32b8b2017-03-22 12:36:05 +0000117# The set of packages whose code can be loaded by the system server.
118PRODUCT_SYSTEM_SERVER_APPS += \
119 FusedLocation \
120 InputDevices \
121 SettingsProvider \
122 WallpaperBackup \
123
Nicolas Geoffray4a0ad4a2017-06-12 15:19:16 +0100124# The set of packages we want to force 'speed' compilation on.
125PRODUCT_DEXPREOPT_SPEED_APPS := \
126
Brian Carlstromde5dce12014-07-01 11:51:17 -0700127PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
128 ro.zygote=zygote32
129PRODUCT_COPY_FILES += \
130 system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
131
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700132PRODUCT_PROPERTY_OVERRIDES += \
133 ro.carrier=unknown
134
Ying Wangd54520a2014-12-08 14:46:29 -0800135$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
Ying Wang2cebe0b2013-11-20 15:18:02 -0800136$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700137$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
Roozbeh Pournader3ab85e42015-02-25 16:39:22 -0800138$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
Alex Rayc8bbe3a2013-10-25 00:30:33 -0700139
140# Overrides
141PRODUCT_BRAND := tiny
142PRODUCT_DEVICE := tiny
143PRODUCT_NAME := core_tiny