Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 1 | # |
bohu | 753e9e4 | 2017-08-10 00:20:01 -0700 | [diff] [blame] | 2 | # Copyright (C) 2017 The Android Open-Source Project |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 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 | |
SzuWei Lin | d13c171 | 2018-06-25 17:53:49 +0800 | [diff] [blame] | 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 | |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 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 | |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 29 | # |
| 30 | # All components inherited here go to system image |
| 31 | # |
SzuWei Lin | ce1fdb2 | 2019-01-25 13:12:55 +0800 | [diff] [blame] | 32 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
JaeMan | 20cdc90 | 2020-08-11 02:37:01 +0000 | [diff] [blame] | 33 | $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk) |
SzuWei Lin | ce1fdb2 | 2019-01-25 13:12:55 +0800 | [diff] [blame] | 34 | |
SzuWei Lin | 323be83 | 2019-02-01 12:44:30 +0800 | [diff] [blame] | 35 | # Enable mainline checking for excat this product name |
| 36 | ifeq (aosp_arm64,$(TARGET_PRODUCT)) |
| 37 | PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed |
| 38 | endif |
| 39 | |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 40 | # |
Justin Yun | e58ffe4 | 2019-11-15 15:51:36 +0900 | [diff] [blame] | 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 | |
Yi-Yo Chiang | 595a0f7 | 2022-10-11 19:39:14 +0800 | [diff] [blame] | 46 | # pKVM |
| 47 | $(call inherit-product, packages/modules/Virtualization/apex/product_packages.mk) |
| 48 | |
Justin Yun | e58ffe4 | 2019-11-15 15:51:36 +0900 | [diff] [blame] | 49 | # |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 50 | # All components inherited here go to product image |
| 51 | # |
| 52 | $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk) |
| 53 | |
Steve Muckle | 41a6e3b | 2020-04-30 05:53:38 +0000 | [diff] [blame] | 54 | # |
| 55 | # All components inherited here go to vendor or vendor_boot image |
| 56 | # |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 57 | $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk) |
Adam Shih | d40d176 | 2021-09-24 10:11:36 +0800 | [diff] [blame] | 58 | $(call inherit-product, $(SRC_TARGET_DIR)/product/non_ab_device.mk) |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 59 | |
| 60 | # |
| 61 | # Special settings for GSI releasing |
| 62 | # |
| 63 | ifeq (aosp_arm64,$(TARGET_PRODUCT)) |
Pranav Gupta | 105610b | 2023-04-18 22:29:26 -0700 | [diff] [blame] | 64 | # Build modules from source if this has not been pre-configured |
| 65 | MODULE_BUILD_FROM_SOURCE ?= true |
| 66 | |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 67 | $(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk) |
SzuWei Lin | df09892 | 2019-06-25 17:49:01 +0800 | [diff] [blame] | 68 | endif |
| 69 | |
Isaac Chen | 164eed2 | 2018-03-29 18:47:19 +0800 | [diff] [blame] | 70 | |
Colin Cross | 4f0eb7d | 2014-01-21 19:35:38 -0800 | [diff] [blame] | 71 | PRODUCT_NAME := aosp_arm64 |
| 72 | PRODUCT_DEVICE := generic_arm64 |
Ben Cheng | db4fc20 | 2013-10-04 16:02:59 -0700 | [diff] [blame] | 73 | PRODUCT_BRAND := Android |
SzuWei Lin | ce1fdb2 | 2019-01-25 13:12:55 +0800 | [diff] [blame] | 74 | PRODUCT_MODEL := AOSP on ARM64 |