• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (C) 2017 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
16
17PRODUCT_NAME := uml
18PRODUCT_DEVICE := uml
19PRODUCT_BRAND := Android
20PRODUCT_MODEL := UML for x86_64
21
22# default is nosdcard, S/W button enabled in resource
23DEVICE_PACKAGE_OVERLAYS := device/generic/x86/overlay
24PRODUCT_CHARACTERISTICS := nosdcard
25
26PRODUCT_COPY_FILES += $(LOCAL_PATH)/fstab.uml:root/fstab.uml
27PRODUCT_COPY_FILES += $(LOCAL_PATH)/init.uml.rc:root/init.uml.rc
28PRODUCT_COPY_FILES += $(LOCAL_PATH)/init.eth0.sh:system/bin/init.eth0.sh
29
30PRODUCT_PACKAGES += \
31    adbd.com.android.adbd \
32    adbd.recovery \
33    usbd \
34    android.hardware.configstore@1.1-service \
35    android.hidl.allocator@1.0-service \
36    android.hidl.memory@1.0-impl \
37    android.hidl.memory@1.0-impl.vendor \
38    atrace \
39    blank_screen \
40    bootanimation \
41    bootstat \
42    charger \
43    cmd \
44    crash_dump \
45    debuggerd\
46    dumpstate \
47    dumpsys \
48    gralloc.default \
49    healthd \
50    hwservicemanager \
51    init \
52    init.environ.rc \
53    libEGL \
54    libETC1 \
55    libFFTEm \
56    libGLESv1_CM \
57    libGLESv2 \
58    libGLESv3 \
59    libbinder \
60    libc \
61    libcutils \
62    libdl \
63    libgui \
64    libhardware \
65    libhardware_legacy \
66    libjpeg \
67    liblog \
68    libm \
69    libpower \
70    libstdc++ \
71    libsysutils \
72    libui \
73    libutils \
74    linker \
75    linker.recovery \
76    lmkd \
77    logcat \
78    lshal \
79    recovery \
80    service \
81    servicemanager \
82    shell_and_utilities \
83    storaged \
84    thermalserviced \
85    tombstoned \
86    vndservice \
87    vndservicemanager \
88
89# VINTF stuff for system and vendor (no product / odm / system_ext / etc.)
90PRODUCT_PACKAGES += \
91    vendor_compatibility_matrix.xml \
92    vendor_manifest.xml \
93    system_manifest.xml \
94    system_compatibility_matrix.xml \
95
96# SELinux packages are added as dependencies of the selinux_policy
97# phony package.
98PRODUCT_PACKAGES += \
99    selinux_policy \
100
101# AID Generation for
102# <pwd.h> and <grp.h>
103PRODUCT_PACKAGES += \
104    passwd \
105    group \
106    fs_config_files \
107    fs_config_dirs
108
109# If there are product-specific adb keys defined, install them on debuggable
110# builds.
111PRODUCT_PACKAGES_DEBUG += \
112    adb_keys
113
114# Ensure that this property is always defined so that bionic_systrace.cpp
115# can rely on it being initially set by init.
116PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
117    debug.atrace.tags.enableflags=0
118
119PRODUCT_COPY_FILES += \
120    system/core/rootdir/init.usb.rc:system/etc/init/hw/init.usb.rc \
121    system/core/rootdir/init.usb.configfs.rc:system/etc/init/hw/init.usb.configfs.rc \
122    system/core/rootdir/etc/hosts:system/etc/hosts
123
124PRODUCT_HOST_PACKAGES += \
125    adb \
126    e2fsdroid \
127    fastboot \
128    make_f2fs \
129    mke2fs \
130
131