1457b3fcbf
The patch modifies the Legacy GSI to use BoardConfigGsiCommon.mk instead of board config treble-common*.mk, and delete these treble-common*.mk files. After the patch, the GSI common board configs are in single file BoardConfigGsiCommon.mk The patch also includes: - Moving `TARGET_COPY_OUT_VENDOR := vendor` to BoardConfigGsiCommon.mk, because GSI always contains no vendor contents. - Configure the binder interface bitness explicitly. - Unify the structure of each BoardConfig.mk. Bug: 122282239 Test: compare the out folder between with and without the patch Test: output files are all the same Change-Id: Ie5901446920dda317dea848e6d5a7bbcf10a32cf
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2017 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.
|
|
#
|
|
|
|
# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at
|
|
# /vendor/[build|default].prop when build split is on. In order to have sysprops
|
|
# on the generic system image, place them in build/make/target/board/
|
|
# gsi_system.prop.
|
|
|
|
# aosp_arm_ab-userdebug is a Legacy GSI for the devices with:
|
|
# - ARM 32 bits user space
|
|
# - 32 bits binder interface
|
|
# - system-as-root
|
|
|
|
include build/make/target/product/treble_common_32.mk
|
|
|
|
# Enable A/B update
|
|
AB_OTA_UPDATER := true
|
|
AB_OTA_PARTITIONS := system
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_verifier
|
|
|
|
PRODUCT_NAME := aosp_arm_ab
|
|
PRODUCT_DEVICE := generic_arm_ab
|
|
PRODUCT_BRAND := Android
|
|
PRODUCT_MODEL := AOSP on ARM32
|