summaryrefslogtreecommitdiffstats
path: root/target/product
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@google.com>2012-10-18 10:17:47 -0700
committerMike Lockwood <lockwood@google.com>2012-10-25 15:28:37 -0700
commitdaf5e22dbac03e174e22c8209ed97c44c3a2a2c9 (patch)
tree8f9ea165c7e922ae8e0de2a0417827f1145fc09d /target/product
parentcee5107cf6a2ba53a729e7eedc7c9c91bd27aa1b (diff)
downloadbuild-daf5e22dbac03e174e22c8209ed97c44c3a2a2c9.zip
build-daf5e22dbac03e174e22c8209ed97c44c3a2a2c9.tar.gz
build-daf5e22dbac03e174e22c8209ed97c44c3a2a2c9.tar.bz2
Add new embedded target for a super minimal android build
Remove obsolete BUILD_TINY_ANDROID Change-Id: Ic0f3a5b3250ea80529f5099653068f118a13b12e
Diffstat (limited to 'target/product')
-rw-r--r--target/product/base.mk45
-rw-r--r--target/product/core.mk4
-rw-r--r--target/product/embedded.mk77
3 files changed, 79 insertions, 47 deletions
diff --git a/target/product/base.mk b/target/product/base.mk
index 9d8ef3f..68fed42 100644
--- a/target/product/base.mk
+++ b/target/product/base.mk
@@ -18,74 +18,46 @@
PRODUCT_PACKAGES += \
20-dns.conf \
95-configured \
- adb \
- adbd \
am \
android.policy \
android.test.runner \
app_process \
applypatch \
bmgr \
- bootanimation \
bugreport \
content \
dbus-daemon \
- debuggerd \
dhcpcd \
dhcpcd-run-hooks \
dnsmasq \
- dumpstate \
- dumpsys \
framework \
fsck_msdos \
- gralloc.default \
- gzip \
ime \
- init \
- input \
javax.obex \
- libEGL \
- libETC1 \
- libFFTEm \
- libGLES_android \
- libGLESv1_CM \
- libGLESv2 \
libSR_AudioIn \
libandroid \
libandroid_runtime \
libandroid_servers \
libaudioeffect_jni \
libaudioflinger \
- libbinder \
libbundlewrapper \
- libc \
libcamera_client \
libcameraservice \
libchromium_net \
- libctest \
- libcutils \
libdbus \
libdl \
libdrm1 \
libdrm1_jni \
libeffects \
- libgui \
- libhardware \
- libhardware_legacy \
libiprouteutil \
libjni_latinime \
libjnigraphics \
- libjpeg \
- liblog \
- libm \
libmedia \
libmedia_jni \
libmediaplayerservice \
libmtp \
libnetlink \
libnetutils \
- libpixelflinger \
- libpower \
libreference-ril \
libreverbwrapper \
libril \
@@ -102,24 +74,13 @@ PRODUCT_PACKAGES += \
libstagefright_foundation \
libstagefright_omx \
libstagefright_yuv \
- libstdc++ \
- libstlport \
- libsurfaceflinger \
- libsurfaceflinger_client \
- libsurfaceflinger_ddmconnection \
libsystem_server \
- libsysutils \
- libthread_db \
- libui \
libusbhost \
libutils \
libvisualizer \
libvorbisidec \
libwebcore \
libwpa_client \
- linker \
- logcat \
- logwrapper \
mediaserver \
monkey \
mtpd \
@@ -135,15 +96,13 @@ PRODUCT_PACKAGES += \
schedtest \
screenshot \
sdcard \
- service \
- servicemanager \
services \
settings \
- surfaceflinger \
svc \
system_server \
tc \
- toolbox \
vdc \
vold
+$(call inherit-product, $(SRC_TARGET_DIR)/product/embedded.mk)
+
diff --git a/target/product/core.mk b/target/product/core.mk
index 831298a..3e3e578 100644
--- a/target/product/core.mk
+++ b/target/product/core.mk
@@ -134,10 +134,6 @@ PRODUCT_PACKAGES += \
zoneinfo.idx \
zoneinfo.version
-PRODUCT_COPY_FILES += \
- system/core/rootdir/init.usb.rc:root/init.usb.rc \
- system/core/rootdir/init.trace.rc:root/init.trace.rc \
-
# host-only dependencies
ifeq ($(WITH_HOST_DALVIK),true)
PRODUCT_PACKAGES += \
diff --git a/target/product/embedded.mk b/target/product/embedded.mk
new file mode 100644
index 0000000..7f681b1
--- /dev/null
+++ b/target/product/embedded.mk
@@ -0,0 +1,77 @@
+#
+# Copyright (C) 2009 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This is a build configuration for a very minimal build of the
+# Open-Source part of the tree.
+
+PRODUCT_PACKAGES += \
+ adb \
+ adbd \
+ bootanimation \
+ debuggerd \
+ dumpstate \
+ dumpsys \
+ gralloc.default \
+ gzip \
+ init \
+ input \
+ libEGL \
+ libETC1 \
+ libFFTEm \
+ libGLES_android \
+ libGLESv1_CM \
+ libGLESv2 \
+ libbinder \
+ libc \
+ libctest \
+ libcutils \
+ libdl \
+ libgui \
+ libhardware \
+ libhardware_legacy \
+ libjpeg \
+ liblog \
+ libm \
+ libpixelflinger \
+ libpower \
+ libstdc++ \
+ libstlport \
+ libsurfaceflinger \
+ libsurfaceflinger_client \
+ libsurfaceflinger_ddmconnection \
+ libsysutils \
+ libthread_db \
+ libui \
+ libutils \
+ linker \
+ logcat \
+ logwrapper \
+ service \
+ servicemanager \
+ surfaceflinger \
+ toolbox
+
+# SELinux packages
+PRODUCT_PACKAGES += \
+ sepolicy \
+ file_contexts \
+ seapp_contexts \
+ property_contexts \
+ mac_permissions.xml
+
+PRODUCT_COPY_FILES += \
+ system/core/rootdir/init.usb.rc:root/init.usb.rc \
+ system/core/rootdir/init.trace.rc:root/init.trace.rc \