lineage: targets: Add support for Legacy GSIs

* This is needed for VNDK27, and other older,
  hackier Treble implementations.

* We can't include `legacy_gsi_release.mk` as it's included
  in the `aosp_${ARCH}_ab` targets themselves, unlike the standard
  `aosp_${ARCH}` targets which guard `gsi_release.mk`'s inclusion
   with `aosp_${ARCH}` product guards.

Change-Id: I16c5983c18110b24eef84e382e0ae6852efb03c3
gugelfrei
Nolen Johnson 3 years ago
parent 7c428141bc
commit 52be5fcb10

@ -19,6 +19,10 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_arm64.mk \
$(LOCAL_DIR)/lineage_x86.mk \
$(LOCAL_DIR)/lineage_x86_64.mk \
$(LOCAL_DIR)/lineage_arm_ab.mk \
$(LOCAL_DIR)/lineage_arm64_ab.mk \
$(LOCAL_DIR)/lineage_x86_ab.mk \
$(LOCAL_DIR)/lineage_x86_64_ab.mk \
$(LOCAL_DIR)/lineage_tv_arm.mk \
$(LOCAL_DIR)/lineage_tv_arm64.mk \
$(LOCAL_DIR)/lineage_tv_x86.mk \
@ -29,6 +33,10 @@ COMMON_LUNCH_CHOICES := \
lineage_arm64-userdebug \
lineage_x86-userdebug \
lineage_x86_64-userdebug \
lineage_arm_ab-userdebug \
lineage_arm64_ab-userdebug \
lineage_x86_ab-userdebug \
lineage_x86_64_ab-userdebug \
lineage_tv_arm-userdebug \
lineage_tv_arm64-userdebug \
lineage_tv_x86-userdebug \

@ -13,6 +13,7 @@
# limitations under the License.
$(call inherit-product, build/target/product/aosp_arm.mk)
$(call inherit-product, build/target/product/gsi_release.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk

@ -13,6 +13,7 @@
# limitations under the License.
$(call inherit-product, build/target/product/aosp_arm64.mk)
$(call inherit-product, build/target/product/gsi_release.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk

@ -0,0 +1,21 @@
# Copyright (C) 2018-2020 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/aosp_arm64_ab.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
TARGET_NO_KERNEL_OVERRIDE := true
PRODUCT_NAME := lineage_arm64_ab

@ -0,0 +1,21 @@
# Copyright (C) 2018-2020 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/aosp_arm_ab.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
TARGET_NO_KERNEL_OVERRIDE := true
TARGET_USES_64_BIT_BINDER := true
PRODUCT_NAME := lineage_arm_ab

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
$(call inherit-product, build/target/product/gsi_release.mk)
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
PRODUCT_COPY_FILES += \

@ -13,6 +13,7 @@
# limitations under the License.
$(call inherit-product, build/target/product/aosp_x86.mk)
$(call inherit-product, build/target/product/gsi_release.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk

@ -13,6 +13,7 @@
# limitations under the License.
$(call inherit-product, build/target/product/aosp_x86_64.mk)
$(call inherit-product, build/target/product/gsi_release.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk

@ -0,0 +1,22 @@
# Copyright (C) 2018-2020 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/aosp_x86_64_ab.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
PRODUCT_NAME := lineage_x86_64_ab
PRODUCT_SDK_ADDON_NAME := lineage
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties

@ -0,0 +1,24 @@
# Copyright (C) 2018-2020 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/aosp_x86_ab.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
TARGET_USES_64_BIT_BINDER := true
PRODUCT_NAME := lineage_x86_ab
PRODUCT_SDK_ADDON_NAME := lineage
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
Loading…
Cancel
Save