1#
2# Copyright 2019 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/mainline_system.mk)
22
23# Enable mainline checking
24# TODO(b/138706293): Enable mainline checking later
25# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
26
27#
28# All components inherited here go to system_ext image
29#
30$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
31$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
32
33#
34# All components inherited here go to product image
35#
36$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
37
38#
39# All components inherited here go to vendor image
40#
41# TODO(b/136525499): move *_vendor.mk into the vendor makefile later
42$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_vendor.mk)
43$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_vendor.mk)
44
45$(call inherit-product, device/google/sunfish/device-sunfish.mk)
46$(call inherit-product-if-exists, vendor/google_devices/sunfish/proprietary/device-vendor.mk)
47$(call inherit-product-if-exists, vendor/google_devices/sunfish/prebuilts/device-vendor-sunfish.mk)
48
49# Don't build super.img.
50PRODUCT_BUILD_SUPER_PARTITION := false
51
52# STOPSHIP deal with Qualcomm stuff later
53# PRODUCT_RESTRICT_VENDOR_FILES := all
54
55PRODUCT_MANUFACTURER := Google
56PRODUCT_BRAND := Android
57PRODUCT_NAME := aosp_sunfish
58PRODUCT_DEVICE := sunfish
59PRODUCT_MODEL := AOSP on sunfish
60