blob: e4e68635870720c8a7caf66b4bcfb88a015ec737 [file] [log] [blame]
Robin Pengc2b5ca92021-02-23 20:00:28 +08001#
2# Copyright 2020 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#
Pat Tjindae7d3e2022-01-11 15:10:07 -080020ifeq (,$(filter %tangor %_64,$(TARGET_PRODUCT)))
Robin Pengc2b5ca92021-02-23 20:00:28 +080021$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
22else
23$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
24endif
Pat Tjindae7d3e2022-01-11 15:10:07 -080025
Robin Pengc2b5ca92021-02-23 20:00:28 +080026$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
27
28# Enable CSI checking
29PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
30
31#
32# All components inherited here go to system_ext image
33#
34$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
35$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
36
37#
38# All components inherited here go to product image
39#
40$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
41
42#
43# All components inherited here go to vendor image
44#
45# TODO(b/136525499): move *_vendor.mk into the vendor makefile later
46$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
47$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
48
49#$(call inherit-product, device/google/gs101/device.mk)
50#$(call inherit-product-if-exists, vendor/google_devices/gs101/proprietary/device-vendor.mk)
51
52# TODO: fix
53# PRODUCT_RESTRICT_VENDOR_FILES := all