lineage: Disable SDK addon for generic arm/arm64 targets
* Android Studio SDK addon is currently broken for generic arm/arm64 targets
and besides it only makes sense for x86 targets
Change-Id: I6832cc99e0dcefb60c9fb187811821ab1b40e7e0
diff --git a/build/target/product/lineage_generic_target.mk b/build/target/product/lineage_generic_target.mk
index aa38084..21cf0e1 100644
--- a/build/target/product/lineage_generic_target.mk
+++ b/build/target/product/lineage_generic_target.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2019 The LineageOS Project
+# Copyright (C) 2019-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.
@@ -19,6 +19,3 @@
# Allow building otatools
TARGET_FORCE_OTA_PACKAGE := true
-
-PRODUCT_SDK_ADDON_NAME := lineage
-PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
diff --git a/build/target/product/lineage_x86.mk b/build/target/product/lineage_x86.mk
index 8dc7575..8585249 100644
--- a/build/target/product/lineage_x86.mk
+++ b/build/target/product/lineage_x86.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2019 The LineageOS Project
+# 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.
@@ -19,3 +19,6 @@
TARGET_USES_64_BIT_BINDER := true
PRODUCT_NAME := lineage_x86
+
+PRODUCT_SDK_ADDON_NAME := lineage
+PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties
diff --git a/build/target/product/lineage_x86_64.mk b/build/target/product/lineage_x86_64.mk
index 69418b1..559bde6 100644
--- a/build/target/product/lineage_x86_64.mk
+++ b/build/target/product/lineage_x86_64.mk
@@ -1,4 +1,4 @@
-# Copyright (C) 2018-2019 The LineageOS Project
+# 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.
@@ -17,3 +17,6 @@
include vendor/lineage/build/target/product/lineage_generic_target.mk
PRODUCT_NAME := lineage_x86_64
+
+PRODUCT_SDK_ADDON_NAME := lineage
+PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := $(LOCAL_PATH)/source.properties