1#
2# Copyright (C) 2014 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# This file contains the definitions needed for a _really_ minimal system
17# image to be run under emulation under upstream QEMU (www.qemu.org), once
18# it supports a few Android virtual devices. Note that this is _not_ the
19# same as running under the Android emulator.
20
21# This should only contain what's necessary to boot the system, support
22# ADB, and allow running command-line executable compiled against the
23# following NDK libraries: libc, libm, libstdc++, libdl, liblog
24
25# Host modules
26PRODUCT_PACKAGES += \
27    adb \
28
29# Device modules
30PRODUCT_PACKAGES += \
31    adbd \
32    bootanimation \
33    debuggerd \
34    debuggerd64 \
35    dumpstate \
36    dumpsys \
37    e2fsck \
38    gzip \
39    healthd \
40    init \
41    init.environ.rc \
42    init.rc \
43    libbinder \
44    libc \
45    libctest \
46    libcutils \
47    libdl \
48    libhardware \
49    libhardware_legacy \
50    liblog \
51    libm \
52    libstdc++ \
53    libsysutils \
54    libutils \
55    linker \
56    linker64 \
57    logcat \
58    logd \
59    logwrapper \
60    mkshrc \
61    netd \
62    qemu-props \
63    reboot \
64    service \
65    servicemanager \
66    sh \
67    toolbox \
68    toybox \
69    vold \
70
71# SELinux packages
72PRODUCT_PACKAGES += \
73    sepolicy \
74    file_contexts \
75    seapp_contexts \
76    property_contexts \
77    mac_permissions.xml \
78
79PRODUCT_COPY_FILES += \
80    system/core/rootdir/init.usb.rc:root/init.usb.rc \
81    system/core/rootdir/init.trace.rc:root/init.trace.rc \
82    system/core/rootdir/ueventd.rc:root/ueventd.rc \
83    system/core/rootdir/etc/hosts:system/etc/hosts \
84
85PRODUCT_COPY_FILES += \
86    device/generic/goldfish/fstab.goldfish:root/fstab.goldfish \
87    device/generic/goldfish/init.goldfish.rc:root/init.goldfish.rc \
88    device/generic/goldfish/init.goldfish.sh:system/etc/init.goldfish.sh \
89    device/generic/goldfish/ueventd.goldfish.rc:root/ueventd.goldfish.rc \
90