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    libpixelflinger \
70    libpower \
71    libstdc++ \
72    libsurfaceflinger \
73    libsysutils \
74    libui \
75    libutils \
76    linker \
77    linker.recovery \
78    lmkd \
79    logcat \
80    lshal \
81    recovery \
82    service \
83    servicemanager \
84    shell_and_utilities \
85    storaged \
86    thermalserviced \
87    tombstoned \
88    tzdatacheck \
89    vndservice \
90    vndservicemanager \
91
92# VINTF stuff for system and vendor (no product / odm / system_ext / etc.)
93PRODUCT_PACKAGES += \
94    vendor_compatibility_matrix.xml \
95    vendor_manifest.xml \
96    system_manifest.xml \
97    system_compatibility_matrix.xml \
98
99# SELinux packages are added as dependencies of the selinux_policy
100# phony package.
101PRODUCT_PACKAGES += \
102    selinux_policy \
103
104# AID Generation for
105# <pwd.h> and <grp.h>
106PRODUCT_PACKAGES += \
107    passwd \
108    group \
109    fs_config_files \
110    fs_config_dirs
111
112# If there are product-specific adb keys defined, install them on debuggable
113# builds.
114PRODUCT_PACKAGES_DEBUG += \
115    adb_keys
116
117# Ensure that this property is always defined so that bionic_systrace.cpp
118# can rely on it being initially set by init.
119PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
120    debug.atrace.tags.enableflags=0
121
122PRODUCT_COPY_FILES += \
123    system/core/rootdir/init.usb.rc:system/etc/init/hw/init.usb.rc \
124    system/core/rootdir/init.usb.configfs.rc:system/etc/init/hw/init.usb.configfs.rc \
125    system/core/rootdir/etc/hosts:system/etc/hosts
126
127PRODUCT_HOST_PACKAGES += \
128    adb \
129    e2fsdroid \
130    fastboot \
131    make_f2fs \
132    mke2fs \
133    tzdatacheck \
134
135