blob: 8d0ad99e09928b849aca0518a08f68340f6f774d [file] [log] [blame]
micky38718f07ac2019-06-10 00:40:50 +02001# Copyright (C) 2016 The CyanogenMod Project
2# Copyright (C) 2019 The OmniRom 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#
17# This file is the build configuration for a full Android
18# build for grouper hardware. This cleanly combines a set of
19# device-specific aspects (drivers) with a device-agnostic
20# product configuration (apps).
21#
micky38718f07ac2019-06-10 00:40:50 +020022
micky387733b7712020-08-11 04:10:19 +020023# VNDK
24PRODUCT_TARGET_VNDK_VERSION := 29
Luca Stefani9629b322019-09-12 23:47:56 +020025
micky387a8d96182019-06-11 13:36:14 +020026# Overlays
27DEVICE_PACKAGE_OVERLAYS += \
micky387733b7712020-08-11 04:10:19 +020028 $(LOCAL_PATH)/overlay
micky38718f07ac2019-06-10 00:40:50 +020029
micky38782dbd1a2019-09-17 08:11:02 +020030# Api
micky387733b7712020-08-11 04:10:19 +020031PRODUCT_SHIPPING_API_LEVEL := 29
micky38782dbd1a2019-09-17 08:11:02 +020032
micky38718f07ac2019-06-10 00:40:50 +020033# audio
LuK133769135952018-09-09 17:39:16 +020034PRODUCT_COPY_FILES += \
micky387733b7712020-08-11 04:10:19 +020035 $(LOCAL_PATH)/audio/audio_policy_configuration_ZS661KS.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio/audio_policy_configuration.xml \
36 $(LOCAL_PATH)/audio/audio_policy_configuration_ZS661KS.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_configuration.xml \
37 $(LOCAL_PATH)/audio/audio_policy_volumes_ZS661KS.xml:$(TARGET_COPY_OUT_PRODUCT)/vendor_overlay/$(PRODUCT_TARGET_VNDK_VERSION)/etc/audio_policy_volumes_ZS661KS.xml
micky387e5ae8c72019-08-07 20:01:48 +020038
micky387c8029542020-08-16 05:36:29 +020039# Input
40PRODUCT_COPY_FILES += \
41 $(LOCAL_PATH)/idc/goodix_ts.idc:system/usr/idc/goodix_ts.idc \
42 $(LOCAL_PATH)/idc/goodix_ts_station.idc:system/usr/idc/goodix_ts_station.idc \
43 $(LOCAL_PATH)/idc/eGalaxTouch_EXC3200.idc:system/usr/idc/eGalaxTouch_EXC3200.idc \
44 $(LOCAL_PATH)/keychars/goodix_ts.kcm:system/usr/keychars/goodix_ts.kcm \
45 $(LOCAL_PATH)/keylayout/goodix_ts.kl:system/usr/keylayout/goodix_ts.kl \
46 $(LOCAL_PATH)/keylayout/i-rocks_Bluetooth_Keyboard.kl:system/usr/keylayout/i-rocks_Bluetooth_Keyboard.kl
47
micky38718f07ac2019-06-10 00:40:50 +020048# Prebuilt
49PRODUCT_COPY_FILES += \
micky387733b7712020-08-11 04:10:19 +020050 $(call find-copy-subdir-files,*,device/asus/rog3/prebuilt/system,system) \
51 $(call find-copy-subdir-files,*,device/asus/rog3/prebuilt/root,root)
micky38718f07ac2019-06-10 00:40:50 +020052
micky3874a9d7842019-10-14 20:53:12 +020053PRODUCT_AAPT_CONFIG := normal
micky38718f07ac2019-06-10 00:40:50 +020054PRODUCT_AAPT_PREF_CONFIG := xxhdpi
55
Bruno Martinsff55cad2019-09-05 12:17:15 +010056# Soong namespaces
57PRODUCT_SOONG_NAMESPACES += \
58 $(LOCAL_PATH)
59
micky387733b7712020-08-11 04:10:19 +020060# Inherit from asus sm8250-common
61$(call inherit-product, device/asus/sm8250-common/common.mk)
micky3877fec5952019-09-28 10:19:41 +020062
micky387733b7712020-08-11 04:10:19 +020063# Inherit from vendor blobs
64$(call inherit-product, vendor/asus/rog3/rog3-vendor.mk)