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