1# 2# Copyright 2018 The Android Open Source 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# 18# All components inherited here go to system image 19# 20$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) 21$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) 22 23# Enable mainline checking 24PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict 25 26# 27# All components inherited here go to system_ext image 28# 29$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk) 30$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk) 31 32# 33# All components inherited here go to product image 34# 35$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) 36 37# 38# All components inherited here go to vendor image 39# 40# TODO(b/136525499): move *_vendor.mk into the vendor makefile later 41$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk) 42$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk) 43 44$(call inherit-product, device/google/coral/device-flame.mk) 45$(call inherit-product-if-exists, vendor/google_devices/coral/proprietary/device-vendor.mk) 46$(call inherit-product-if-exists, vendor/google_devices/coral/prebuilts/device-vendor-flame.mk) 47 48# Exclude features that are not available on AOSP devices. 49PRODUCT_COPY_FILES += \ 50 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml 51 52PRODUCT_COPY_FILES += \ 53 $(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml 54 55# Don't build super.img. 56PRODUCT_BUILD_SUPER_PARTITION := false 57 58# b/113232673 STOPSHIP deal with Qualcomm stuff later 59# PRODUCT_RESTRICT_VENDOR_FILES := all 60 61# b/189477034: Bypass build time check on uses_libs until vendor fixes all their apps 62PRODUCT_BROKEN_VERIFY_USES_LIBRARIES := true 63 64# Keep the VNDK APEX in /system partition for REL branches as these branches are 65# expected to have stable API/ABI surfaces. 66ifneq (REL,$(PLATFORM_VERSION_CODENAME)) 67 PRODUCT_PACKAGES += com.android.vndk.current.on_vendor 68endif 69 70PRODUCT_MANUFACTURER := Google 71PRODUCT_BRAND := Android 72PRODUCT_NAME := aosp_flame 73PRODUCT_DEVICE := flame 74PRODUCT_MODEL := AOSP on flame 75