| 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 |
# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at |
| 18 |
# /vendor/[build|default].prop when build split is on. In order to have sysprops |
| 19 |
# on the generic system image, place them in build/make/target/board/ |
| 20 |
# gsi_system.prop. |
| 21 |
|
| 22 |
# aosp_x86_64_ab-userdebug is a Legacy GSI for the devices with: |
| 23 |
# - x86 64 bits user space |
| 24 |
# - 64 bits binder interface |
| 25 |
# - system-as-root |
| 26 |
|
| 27 |
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 28 |
$(call inherit-product, $(SRC_TARGET_DIR)/product/legacy_gsi_common.mk) |
| 29 |
|
| 30 |
# Enable mainline checking for excat this product name |
| 31 |
ifeq (aosp_x86_64_ab,$(TARGET_PRODUCT)) |
| 32 |
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed |
| 33 |
endif |
| 34 |
|
| 35 |
PRODUCT_ARTIFACT_PATH_REQUIREMENT_WHITELIST += \ |
| 36 |
root/init.zygote32_64.rc \ |
| 37 |
root/init.zygote64_32.rc \ |
| 38 |
|
| 39 |
# Copy different zygote settings for vendor.img to select by setting property |
| 40 |
# ro.zygote=zygote64_32 or ro.zygote=zygote32_64: |
| 41 |
# 1. 64-bit primary, 32-bit secondary OR |
| 42 |
# 2. 32-bit primary, 64-bit secondary |
| 43 |
# init.zygote64_32.rc is in the core_64_bit.mk below |
| 44 |
PRODUCT_COPY_FILES += \ |
| 45 |
system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc |
| 46 |
|
| 47 |
PRODUCT_NAME := aosp_x86_64_ab |
| 48 |
PRODUCT_DEVICE := generic_x86_64_ab |
| 49 |
PRODUCT_BRAND := Android |
| 50 |
PRODUCT_MODEL := AOSP on x86_64 |