aboutsummaryrefslogtreecommitdiff
path: root/gsi_arm64.mk
diff options
context:
space:
mode:
authorYo Chiang <yochiang@google.com>2021-01-18 17:38:09 +0800
committerYo Chiang <yochiang@google.com>2021-01-18 17:38:09 +0800
commite4fb3c84372d8d8f0f4e2461772fb8b7cdd18bd7 (patch)
treec0f91a3d484a12815320ad77405ec64dd518cf72 /gsi_arm64.mk
parenta6bf35cd4f19d455ad764a6aebc00f9277b46aea (diff)
downloadcommon-e4fb3c84372d8d8f0f4e2461772fb8b7cdd18bd7.tar.gz
Change the board of gsi_arm64 to generic_arm64
Bug: 177495624 Test: Build gsi_arm64-userdebug Change-Id: Ifc5a1298a74604b5b1c7cea081b8cfbae26ce563
Diffstat (limited to 'gsi_arm64.mk')
-rw-r--r--gsi_arm64.mk18
1 files changed, 15 insertions, 3 deletions
diff --git a/gsi_arm64.mk b/gsi_arm64.mk
index 30a7e5b..1c24ec2 100644
--- a/gsi_arm64.mk
+++ b/gsi_arm64.mk
@@ -14,6 +14,13 @@
# limitations under the License.
#
+# The system image of gsi_arm64-userdebug is the GSI for devices with:
+# - ARM 64-bit userspace
+# - 64-bit binder interface
+# - system-as-root
+# - VNDK enforcement
+# - compatible property override enabled
+
#
# All components inherited here go to system image
#
@@ -21,7 +28,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_system.mk)
# Enable mainline checking
-PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
+PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := true
#
# All components inherited here go to system_ext image
@@ -35,12 +42,17 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
#
+# All components inherited here go to boot image
+#
+$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk)
+
+#
# Special settings for GSI releasing
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
PRODUCT_NAME := gsi_arm64
-PRODUCT_DEVICE := gsi_arm64
-PRODUCT_BRAND := generic
+PRODUCT_DEVICE := generic_arm64
+PRODUCT_BRAND := Android
PRODUCT_MODEL := GSI on ARM64