2017-02-06 16:06:08 -08:00
|
|
|
#
|
|
|
|
|
# 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
|
|
|
|
|
|
2017-04-24 23:04:36 -07:00
|
|
|
# DEVICE_PACKAGE_OVERLAYS for the device should be before
|
|
|
|
|
# including common overlays since the one listed first
|
|
|
|
|
# takes precedence.
|
|
|
|
|
ifdef DEVICE_PACKAGE_OVERLAYS
|
|
|
|
|
$(warning Overlays defined in '$(DEVICE_PACKAGE_OVERLAYS)' will override '$(PRODUCT_HARDWARE)' overlays)
|
|
|
|
|
endif
|
|
|
|
|
DEVICE_PACKAGE_OVERLAYS += device/google/taimen/overlay
|
|
|
|
|
|
2017-03-04 13:02:35 -08:00
|
|
|
include device/google/wahoo/device.mk
|
|
|
|
|
|
2017-03-08 17:59:32 -08:00
|
|
|
PRODUCT_COPY_FILES += \
|
2017-03-23 19:06:16 -07:00
|
|
|
device/google/taimen/init-taimen.rc:system/etc/init/init-taimen.rc \
|
|
|
|
|
device/google/taimen/init.taimen.usb.rc:root/init.taimen.usb.rc
|
2017-03-08 17:59:32 -08:00
|
|
|
|
2017-02-06 16:06:08 -08:00
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
|
|
|
ro.sf.lcd_density=560 \
|
|
|
|
|
|
2017-05-03 07:20:10 +09:00
|
|
|
# Kernel Modules Config
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
device/google/taimen/init.insmod.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.cfg
|
|
|
|
|
|
2017-03-14 15:44:18 -07:00
|
|
|
# Logging
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
device/google/taimen/init.logging.rc:root/init.$(PRODUCT_HARDWARE).logging.rc
|
|
|
|
|
|
|
|
|
|
|
2017-03-27 14:13:50 -07:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
device/google/taimen/nfc/libnfc-nxp.taimen.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
|
|
|
|
|
|
2017-04-03 17:54:46 -07:00
|
|
|
# TODO: move this to wahoo.
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
device/google/taimen/fstab.hardware:root/fstab.$(PRODUCT_HARDWARE)
|
2017-03-14 15:44:18 -07:00
|
|
|
|
2017-04-06 13:43:54 -07:00
|
|
|
PRODUCT_COPY_FILES += \
|
2017-04-21 11:08:23 -07:00
|
|
|
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
|
2017-04-28 11:29:17 -07:00
|
|
|
|
2017-04-26 23:14:14 +09:00
|
|
|
# Audio
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
|
device/google/taimen/mixer_paths_tavil.xml:system/etc/mixer_paths_tavil_taimen.xml \
|
|
|
|
|
device/google/taimen/audio_platform_info_tavil.xml:system/etc/audio_platform_info_tavil_taimen.xml
|
|
|
|
|
|
2017-04-04 10:25:40 -07:00
|
|
|
# verity
|
|
|
|
|
AB_OTA_PARTITIONS += \
|
|
|
|
|
vbmeta
|
2017-04-26 23:14:14 +09:00
|
|
|
|