core_tiny.mk revision 98ffa937bf6d7acc6a1964c7157c906e1a86203c
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
19PRODUCT_PACKAGES := \
20    Bluetooth \
21    CalendarProvider \
22    ContactsProvider \
23    CertInstaller \
24    FusedLocation \
25    InputDevices
26
27PRODUCT_PACKAGES += \
28    clatd \
29    clatd.conf \
30    pppd
31
32PRODUCT_PACKAGES += \
33    audio.primary.default \
34    audio_policy.default \
35    local_time.default \
36    power.default
37
38PRODUCT_PACKAGES += \
39    BackupRestoreConfirmation \
40    CtsShimPrivPrebuilt \
41    DefaultContainerService \
42    ExtShared \
43    ExtServices \
44    SettingsProvider \
45    Shell \
46    WallpaperBackup \
47    bcc \
48    bu \
49    com.android.location.provider \
50    com.android.location.provider.xml \
51    framework-res \
52    installd \
53    ims-common \
54    ip \
55    ip-up-vpn \
56    ip6tables \
57    iptables \
58    gatekeeperd \
59    keystore \
60    keystore.default \
61    ld.mc \
62    libOpenMAXAL \
63    libOpenSLES \
64    libdownmix \
65    libfilterfw \
66    libgatekeeper \
67    libkeystore \
68    libwilhelm \
69    libdrmframework_jni \
70    libdrmframework \
71    make_ext4fs \
72    e2fsck \
73    resize2fs \
74    nullwebview \
75    screencap \
76    sensorservice \
77    uiautomator \
78    uncrypt \
79    telephony-common \
80    voip-common \
81    logd \
82    wifi-service
83
84# The order matters
85PRODUCT_BOOT_JARS := \
86    core-oj \
87    core-libart \
88    conscrypt \
89    okhttp \
90    core-junit \
91    bouncycastle \
92    ext \
93    framework \
94    telephony-common \
95    voip-common \
96    ims-common \
97    apache-xml \
98    nullwebview \
99    org.apache.http.legacy.boot
100
101# The order of PRODUCT_SYSTEM_SERVER_JARS matters.
102PRODUCT_SYSTEM_SERVER_JARS := \
103    services \
104    wifi-service
105
106PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
107    ro.zygote=zygote32
108PRODUCT_COPY_FILES += \
109    system/core/rootdir/init.zygote32.rc:root/init.zygote32.rc
110
111PRODUCT_PROPERTY_OVERRIDES += \
112    ro.carrier=unknown
113
114# Different dexopt types for different package update/install times.
115# On eng builds, make "boot" reasons do pure JIT for faster turnaround.
116ifeq (eng,$(TARGET_BUILD_VARIANT))
117    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
118        pm.dexopt.first-boot=verify-at-runtime \
119        pm.dexopt.boot=verify-at-runtime
120else
121    PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
122        pm.dexopt.first-boot=interpret-only \
123        pm.dexopt.boot=verify-profile
124endif
125PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
126    pm.dexopt.install=interpret-only \
127    pm.dexopt.bg-dexopt=speed-profile \
128    pm.dexopt.ab-ota=speed-profile \
129    pm.dexopt.nsys-library=speed \
130    pm.dexopt.shared-apk=speed \
131    pm.dexopt.forced-dexopt=speed
132
133$(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk)
134$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
135$(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk)
136$(call inherit-product-if-exists, external/roboto-fonts/fonts.mk)
137
138# Overrides
139PRODUCT_BRAND := tiny
140PRODUCT_DEVICE := tiny
141PRODUCT_NAME := core_tiny
142