bcd7741e81
64 bits GSI expects supporting both zygote_64_32 and zygote_32_64. The patch adds including init.zygote32_64.rc in gsi_release.mk direclty, and also revises all GSI releasing build targets. Bug: 138625977 Test: build aosp_arm64-userdebug and has init.zygote32_64.rc Test: build aosp_arm-userdebug and no init.zygote32_64.rc Change-Id: Ia61db1315321798bae8902b35ddaa5e5f3e7dd3e
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2019 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
#
|
|
# All components inherited here go to system image
|
|
#
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
|
|
|
|
# Enable mainline checking
|
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
|
|
|
|
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \
|
|
root/init.zygote64_32.rc \
|
|
|
|
#
|
|
# All components inherited here go to product image
|
|
#
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.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_MODEL := GSI on ARM64
|