build: Add x86/x86_64 emulator targets

Change-Id: Ic8789ad2072b9ebda91f9b4a7c288a5a9bcec3fd
This commit is contained in:
Michael Bestas
2021-05-24 20:57:21 +03:00
committed by Michael Bestas
parent c63ee5cc9c
commit 253f90404d
3 changed files with 49 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2018-2020 The LineageOS Project
# Copyright (C) 2018-2021 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -28,7 +28,9 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_tv_x86.mk \
$(LOCAL_DIR)/lineage_tv_x86_64.mk \
$(LOCAL_DIR)/lineage_car_arm64.mk \
$(LOCAL_DIR)/lineage_car_x86_64.mk
$(LOCAL_DIR)/lineage_car_x86_64.mk \
$(LOCAL_DIR)/lineage_sdk_phone_x86.mk \
$(LOCAL_DIR)/lineage_sdk_phone_x86_64.mk
COMMON_LUNCH_CHOICES := \
lineage_arm-userdebug \
@@ -44,4 +46,6 @@ COMMON_LUNCH_CHOICES := \
lineage_tv_x86-userdebug \
lineage_tv_x86_64-userdebug \
lineage_car_arm64-userdebug \
lineage_car_x86_64-userdebug
lineage_car_x86_64-userdebug \
lineage_sdk_phone_x86-userdebug \
lineage_sdk_phone_x86_64-userdebug

View File

@@ -0,0 +1,21 @@
# Copyright (C) 2021 The LineageOS 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.
$(call inherit-product, build/target/product/sdk_phone_x86.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
# Overrides
PRODUCT_NAME := lineage_sdk_phone_x86
PRODUCT_MODEL := LineageOS Android SDK built for x86

View File

@@ -0,0 +1,21 @@
# Copyright (C) 2021 The LineageOS 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.
$(call inherit-product, build/target/product/sdk_phone_x86_64.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
# Overrides
PRODUCT_NAME := lineage_sdk_phone_x86_64
PRODUCT_MODEL := LineageOS Android SDK built for x86_64