Home | History | Annotate | Download | only in trusty
      1 #
      2 # Copyright (C) 2018-2019 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 PRODUCT_PACKAGES += \
     22     adbd \
     23     android.hidl.allocator@1.0-service \
     24     apexd \
     25     com.android.runtime \
     26     dhcpclient \
     27     hwservicemanager \
     28     init \
     29     init_system \
     30     init_vendor \
     31     init.environ.rc \
     32     init.rc \
     33     libc.bootstrap \
     34     libdl.bootstrap \
     35     libm.bootstrap \
     36     linker \
     37     linker64 \
     38     logcat \
     39     logd \
     40     logwrapper \
     41     mdnsd \
     42     reboot \
     43     servicemanager \
     44     sh \
     45     su \
     46     toolbox \
     47     toybox \
     48     vndservicemanager \
     49     vold \
     50 
     51 # SELinux packages are added as dependencies of the selinux_policy
     52 # phony package.
     53 PRODUCT_PACKAGES += \
     54     selinux_policy \
     55 
     56 PRODUCT_HOST_PACKAGES += \
     57     adb \
     58     e2fsdroid \
     59     make_f2fs \
     60     mdnsd \
     61     mke2fs \
     62     sload_f2fs \
     63     toybox \
     64 
     65 PRODUCT_COPY_FILES += \
     66     system/core/rootdir/init.usb.rc:root/init.usb.rc \
     67     system/core/rootdir/init.usb.configfs.rc:root/init.usb.configfs.rc \
     68     system/core/rootdir/ueventd.rc:root/ueventd.rc \
     69     system/core/rootdir/etc/hosts:system/etc/hosts \
     70 
     71 PRODUCT_FULL_TREBLE_OVERRIDE := true
     72 
     73 PRODUCT_COPY_FILES += \
     74     device/generic/qemu/fstab.ranchu:root/fstab.qemu_trusty \
     75     device/generic/trusty/init.qemu_trusty.rc:root/init.qemu_trusty.rc \
     76     device/generic/trusty/ueventd.qemu_trusty.rc:root/ueventd.qemu_trusty.rc \
     77 
     78 PRODUCT_COPY_FILES += \
     79     device/generic/goldfish/data/etc/config.ini:config.ini \
     80     device/generic/qemu/advancedFeatures.ini:advancedFeatures.ini \
     81 
     82 # for Trusty
     83 $(call inherit-product, system/core/trusty/trusty-base.mk)
     84 $(call inherit-product, system/core/trusty/trusty-storage.mk)
     85 
     86 PRODUCT_PACKAGES += \
     87     tipc-test \
     88     trusty-ut-ctrl \
     89 
     90 PRODUCT_BOOT_JARS := \
     91     core-oj \
     92     core-libart \
     93     conscrypt \
     94     okhttp \
     95     bouncycastle \
     96     apache-xml \
     97     ext \
     98     framework \
     99     telephony-common \
    100     voip-common \
    101     ims-common \
    102     android.test.base \
    103 
    104