micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 1 | # 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 | # |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 22 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 23 | # VNDK |
| 24 | PRODUCT_TARGET_VNDK_VERSION := 29 |
Luca Stefani | 9629b32 | 2019-09-12 23:47:56 +0200 | [diff] [blame] | 25 | |
micky387 | a8d9618 | 2019-06-11 13:36:14 +0200 | [diff] [blame] | 26 | # Overlays |
| 27 | DEVICE_PACKAGE_OVERLAYS += \ |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 28 | $(LOCAL_PATH)/overlay |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 29 | |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 30 | # Api |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 31 | PRODUCT_SHIPPING_API_LEVEL := 29 |
micky387 | 82dbd1a | 2019-09-17 08:11:02 +0200 | [diff] [blame] | 32 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 33 | # audio |
LuK1337 | 6913595 | 2018-09-09 17:39:16 +0200 | [diff] [blame] | 34 | PRODUCT_COPY_FILES += \ |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 35 | $(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 |
micky387 | e5ae8c7 | 2019-08-07 20:01:48 +0200 | [diff] [blame] | 38 | |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 39 | # Prebuilt |
| 40 | PRODUCT_COPY_FILES += \ |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 41 | $(call find-copy-subdir-files,*,device/asus/rog3/prebuilt/system,system) \ |
| 42 | $(call find-copy-subdir-files,*,device/asus/rog3/prebuilt/root,root) |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 43 | |
micky387 | 4a9d784 | 2019-10-14 20:53:12 +0200 | [diff] [blame] | 44 | PRODUCT_AAPT_CONFIG := normal |
micky387 | 18f07ac | 2019-06-10 00:40:50 +0200 | [diff] [blame] | 45 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
| 46 | |
Bruno Martins | ff55cad | 2019-09-05 12:17:15 +0100 | [diff] [blame] | 47 | # Soong namespaces |
| 48 | PRODUCT_SOONG_NAMESPACES += \ |
| 49 | $(LOCAL_PATH) |
| 50 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 51 | # Inherit from asus sm8250-common |
| 52 | $(call inherit-product, device/asus/sm8250-common/common.mk) |
micky387 | 7fec595 | 2019-09-28 10:19:41 +0200 | [diff] [blame] | 53 | |
micky387 | 733b771 | 2020-08-11 04:10:19 +0200 | [diff] [blame^] | 54 | # Inherit from vendor blobs |
| 55 | $(call inherit-product, vendor/asus/rog3/rog3-vendor.mk) |