Files
device_google_taimen/device.mk
2017-04-22 01:34:07 +00:00

66 lines
2.2 KiB
Makefile

#
# Copyright 2017 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := 560dpi
PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi
PRODUCT_HARDWARE := taimen
include device/google/wahoo/device.mk
PRODUCT_COPY_FILES += \
device/google/taimen/init-taimen.rc:system/etc/init/init-taimen.rc \
device/google/taimen/init.taimen.usb.rc:root/init.taimen.usb.rc
PRODUCT_PROPERTY_OVERRIDES += \
ro.sf.lcd_density=560 \
# Kernel modules
PRODUCT_COPY_FILES += \
device/google/wahoo-kernel/touch_core_base.ko:$(TARGET_COPY_OUT_VENDOR)/lib/modules/touch_core_base.ko \
device/google/wahoo-kernel/ftm4.ko:$(TARGET_COPY_OUT_VENDOR)/lib/modules/ftm4.ko \
device/google/wahoo-kernel/sw49408.ko:$(TARGET_COPY_OUT_VENDOR)/lib/modules/sw49408.ko
# Logging
PRODUCT_COPY_FILES += \
device/google/taimen/init.logging.rc:root/init.$(PRODUCT_HARDWARE).logging.rc
PRODUCT_COPY_FILES += \
device/google/taimen/nfc/libnfc-nxp.taimen.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
# TODO: move this to wahoo.
PRODUCT_COPY_FILES += \
device/google/taimen/fstab.hardware:root/fstab.$(PRODUCT_HARDWARE)
PRODUCT_COPY_FILES += \
device/google/taimen/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine.conf \
device/google/taimen/thermal-engine.conf:$(TARGET_COPY_OUT_VENDOR)/etc/thermal-engine-vr.conf
# verity
AB_OTA_PARTITIONS += \
vbmeta
# generic gatekeeper HAL
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0-impl \
android.hardware.gatekeeper@1.0-service
# generic keymaster HAL
PRODUCT_PACKAGES += \
android.hardware.keymaster@3.0-impl \
android.hardware.keymaster@3.0-service