• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2017 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# The system image of aosp_arm64-userdebug is a GSI for the devices with:
18# - ARM 64 bits user space
19# - 64 bits binder interface
20# - system-as-root
21# - VNDK enforcement
22# - compatible property override enabled
23
24# This is a build configuration for a full-featured build of the
25# Open-Source part of the tree. It's geared toward a US-centric
26# build quite specifically for the emulator, and might not be
27# entirely appropriate to inherit from for on-device configurations.
28
29#
30# All components inherited here go to system image
31#
32$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
33$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
34
35# Enable mainline checking for excat this product name
36ifeq (aosp_arm64,$(TARGET_PRODUCT))
37PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
38endif
39
40#
41# All components inherited here go to system_ext image
42#
43$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
44$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
45
46#
47# All components inherited here go to product image
48#
49$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
50
51#
52# All components inherited here go to vendor or vendor_boot image
53#
54$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
55$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
56
57#
58# Special settings for GSI releasing
59#
60ifeq (aosp_arm64,$(TARGET_PRODUCT))
61$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
62endif
63
64
65PRODUCT_NAME := aosp_arm64
66PRODUCT_DEVICE := generic_arm64
67PRODUCT_BRAND := Android
68PRODUCT_MODEL := AOSP on ARM64
69