Merge "Add mainline_sdk device and product" am: 6d10bf974a

Original change: https://android-review.googlesource.com/c/platform/build/+/1512778

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie77a8fb62b2cf145387452e5449791fef8d9ac55
This commit is contained in:
Anton Hansson 2020-12-22 12:13:27 +00:00 committed by Automerger Merge Worker
commit 87e92d6e57
4 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,20 @@
# Copyright (C) 2020 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.
#
TARGET_ARCH_SUITE := mainline_sdk
HOST_CROSS_OS := linux_bionic
HOST_CROSS_ARCH := x86_64
HOST_CROSS_2ND_ARCH :=

View file

@ -0,0 +1,2 @@
This device is suitable for a soong-only build that builds for all the architectures
needed for mainline modules sdk prebuilts.

View file

@ -73,6 +73,8 @@ PRODUCT_MAKEFILES := \
endif
PRODUCT_MAKEFILES += $(LOCAL_DIR)/mainline_sdk.mk
COMMON_LUNCH_CHOICES := \
aosp_arm64-eng \
aosp_arm-eng \

View file

@ -0,0 +1,18 @@
# Copyright (C) 2020 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_NAME := mainline_sdk
PRODUCT_BRAND := Android
PRODUCT_DEVICE := mainline_sdk