1 # 2 # Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com/ 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 17 # Adjust the dalvik heap to be appropriate for a tablet. 18 $(call inherit-product, frameworks/native/build/tablet-7in-xhdpi-2048-dalvik-heap.mk) 19 20 # Set custom settings 21 DEVICE_PACKAGE_OVERLAYS := device/ti/beagle_x15/overlay 22 23 LOCAL_KERNEL := device/ti/beagle_x15-kernel 24 TARGET_PREBUILT_KERNEL := $(LOCAL_KERNEL)/zImage 25 PRODUCT_COPY_FILES += $(TARGET_PREBUILT_KERNEL):kernel 26 27 # Graphics 28 PRODUCT_PACKAGES += \ 29 android.hardware.graphics.allocator@2.0-impl \ 30 android.hardware.graphics.allocator@2.0-service \ 31 android.hardware.graphics.mapper@2.0-impl \ 32 android.hardware.graphics.mapper@2.0-service \ 33 android.hardware.graphics.composer@2.1-impl \ 34 android.hardware.graphics.composer@2.1-service \ 35 libdrm \ 36 libdrm_omap \ 37 hwcomposer.am57x \ 38 39 #Security 40 PRODUCT_PACKAGES += \ 41 android.hardware.keymaster@3.0-impl \ 42 android.hardware.keymaster@3.0-service \ 43 android.hardware.drm@1.0-impl \ 44 android.hardware.drm@1.0-service \ 45 46 # Audio 47 PRODUCT_PACKAGES += \ 48 android.hardware.audio@2.0-impl \ 49 android.hardware.audio@2.0-service \ 50 android.hardware.audio.effect@2.0-impl \ 51 android.hardware.audio.effect@2.0-service \ 52 53 # Memtrack 54 PRODUCT_PACKAGES += \ 55 android.hardware.memtrack@1.0-impl \ 56 android.hardware.memtrack@1.0-service \ 57 58 PRODUCT_PROPERTY_OVERRIDES += \ 59 ro.opengles.version=131072 \ 60 ro.sf.lcd_density=160 \ 61 62 # All VNDK libraries (HAL interfaces, VNDK, VNDK-SP, LL-NDK) 63 PRODUCT_PACKAGES += vndk_package 64 65 # USB 66 PRODUCT_PACKAGES += \ 67 android.hardware.usb@1.0-service \ 68 69 PRODUCT_COPY_FILES += \ 70 frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \ 71 frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \ 72 73 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ 74 persist.sys.usb.config=mtp \ 75 76 77 PRODUCT_COPY_FILES += \ 78 device/ti/beagle_x15/tablet_core_hardware_beagle_x15.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_beagle_x15.xml \ 79 device/ti/beagle_x15/init.beagle_x15board.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.beagle_x15board.rc \ 80 device/ti/beagle_x15/init.beagle_x15board.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.beagle_x15board.usb.rc \ 81 device/ti/beagle_x15/ueventd.beagle_x15board.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \ 82 device/ti/beagle_x15/fstab.beagle_x15board:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.beagle_x15board \ 83 frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \ 84 85 #FIXME: this feature should be turned off as soon as google start checking for WIFI support before wifi calls 86 PRODUCT_COPY_FILES += \ 87 frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \ 88 89 # Static modprobe for recovery image 90 PRODUCT_PACKAGES += \ 91 toybox_static \ 92 93 PRODUCT_CHARACTERISTICS := tablet,nosdcard 94 95 PRODUCT_PACKAGES += \ 96 toybox_vendor \ 97 Launcher3 \ 98 WallpaperPicker \ 99 sh_vendor \ 100 vintf \ 101 netutils-wrapper-1.0 \ 102 messaging \ 103 104 PRODUCT_PACKAGES += \ 105 bootfitimage 106