diff options
author | Isaac Chen <ycchen@google.com> | 2019-08-30 19:35:09 +0800 |
---|---|---|
committer | Isaac Chen <ycchen@google.com> | 2019-09-09 06:00:30 +0000 |
commit | 2f7b69c0fef4d5926f25e41d0662d4359944af39 (patch) | |
tree | 3f90f593bfa350b89c8b484c1f5264dc36c14126 /mgsi/mgsi_arm64.mk | |
parent | 08730df46f7b44e02a2d079e812b94e8b6643e98 (diff) | |
download | common-2f7b69c0fef4d5926f25e41d0662d4359944af39.tar.gz |
Add Minimal GSI (MGSI) products
These products inherit mainline_system.mk plus 3 packages:
Launcher3QuickStep, Settings, and SystemUI.
The boards used are dummy ones and not tight to any physical/virtual devices.
They can be tested by replacing the system.img of any compliant physical/virtual
devices with the system images of MGSI products.
Bug: 140282921
Test: For arch in x86, x86_64, arm, and arm64:
$ lunch mgsi_$arch-user; m -j
# For arch in x86 and x86_64:
# Mix its system image with aosp_$arch and sdk_phone_$arch vendors
# The resulted mixed image can boot on Android emulator
# to home screen and ping the Internet successfully.
Change-Id: Ic77e1dcb1ff29b4de4696dfad879dae9a5fbb2a3
Diffstat (limited to 'mgsi/mgsi_arm64.mk')
-rw-r--r-- | mgsi/mgsi_arm64.mk | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/mgsi/mgsi_arm64.mk b/mgsi/mgsi_arm64.mk new file mode 100644 index 0000000..1a5411c --- /dev/null +++ b/mgsi/mgsi_arm64.mk @@ -0,0 +1,46 @@ +# +# 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, device/generic/common/mgsi/mgsi_product.mk) + +# +# Special settings for GSI releasing +# +$(call inherit-product, device/generic/common/mgsi/mgsi_release.mk) + +# Don't build super.img. +PRODUCT_BUILD_SUPER_PARTITION := false + + +PRODUCT_NAME := mgsi_arm64 +PRODUCT_DEVICE := dummy_arm64 +PRODUCT_BRAND := Android +PRODUCT_MODEL := Minimal GSI on arm64 |