]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/device-ti-am65xevm.git/blob - device-common.mk
am65xevm: fastboot.sh: use PRODUCT_OUT to find images
[android/device-ti-am65xevm.git] / device-common.mk
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 #
17 # Graphics
18 PRODUCT_PACKAGES += \
19         android.hardware.graphics.allocator@2.0-impl \
20         android.hardware.graphics.allocator@2.0-service \
21         android.hardware.graphics.composer@2.1-impl \
22         android.hardware.graphics.composer@2.1-service \
23         android.hardware.graphics.mapper@2.0-impl \
24         android.hardware.memtrack@1.0-impl \
25         android.hardware.memtrack@1.0-service \
26         modetest \
27         libdrm \
28         libgbm \
30 # All VNDK libraries (HAL interfaces, VNDK, VNDK-SP, LL-NDK)
31 PRODUCT_PACKAGES += vndk_package
33 PRODUCT_PACKAGES += \
34         libunwind
36 PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
38 # Set zygote config
39 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.zygote=zygote64_32
40 PRODUCT_COPY_FILES += system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc
42 # Audio
43 PRODUCT_PACKAGES += \
44         android.hardware.audio@2.0-impl \
45         android.hardware.audio@2.0-service \
46         android.hardware.audio.effect@2.0-impl \
47         android.hardware.soundtrigger@2.0-impl \
49 # USB
50 PRODUCT_PACKAGES += \
51         android.hardware.usb@1.0-service \
53 # Security
54 PRODUCT_PACKAGES += \
55         android.hardware.drm@1.0-impl \
56         android.hardware.drm@1.0-service \
57         android.hardware.keymaster@3.0-impl \
58         android.hardware.keymaster@3.0-service \
60 # Other
61 PRODUCT_PACKAGES += \
62         android.hardware.power@1.0-impl \
63         android.hardware.power@1.0-service \
65 PRODUCT_COPY_FILES += \
66         frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
67         frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
70 PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
71         persist.sys.usb.config=mtp \
72         ro.sf.lcd_density=160 \
74 ifeq ($(TARGET_PREBUILT_KERNEL),)
75 LOCAL_KERNEL := $(KERNELDIR)/arch/arm64/boot/Image
76 else
77 LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL)
78 endif
80 PRODUCT_COPY_FILES += \
81         $(LOCAL_KERNEL):kernel \
82         device/ti/am65xevm/init.am65xevmboard.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.am65xevmboard.rc \
83         device/ti/am65xevm/init.am65xevmboard.usb.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.am65xevmboard.usb.rc \
84         device/ti/am65xevm/ueventd.am65xevmboard.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
85         device/ti/am65xevm/fstab.am65xevmboard:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.am65xevmboard \
86         device/ti/am65xevm/tablet_core_hardware_am65xevm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/tablet_core_hardware_am65xevm.xml \
88 # Connectivity
89 PRODUCT_COPY_FILES += \
90         frameworks/native/data/etc/android.hardware.ethernet.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.ethernet.xml \
92 # Media
93 PRODUCT_COPY_FILES += \
94         device/ti/am65xevm/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
95         frameworks/av/media/libeffects/data/audio_effects.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.conf \
96         frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
97         frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
99 PRODUCT_CHARACTERISTICS := tablet,nosdcard
101 DEVICE_PACKAGE_OVERLAYS := \
102         device/ti/am65xevm/overlay
104 PRODUCT_PACKAGES += \
105         toybox_vendor \
106         Launcher3 \
107         WallpaperPicker \
109 $(call inherit-product, frameworks/native/build/tablet-10in-xhdpi-2048-dalvik-heap.mk)
111 # Include hardware projects (HALs)
112 $(call inherit-product-if-exists, hardware/ti/am65x/am65x.mk)
114 # Include vendor binaries
115 $(call inherit-product-if-exists, vendor/ti/am65x/am65x.mk)