aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Tefke <t.tefke@stud.fh-sm.de>2020-06-22 18:42:25 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-26 21:25:57 +0200
commit918145ae2896a4bc0d4aa4985ea09f8977dd83f9 (patch)
tree5101316706a2b75722d3e77c723ee9e814576b2f
parent8aad6f05a3a8a42c0cba4cda9cc660d81f9e5f81 (diff)
downloaddevice_samsung_i9100-918145ae2896a4bc0d4aa4985ea09f8977dd83f9.tar.gz
device_samsung_i9100-918145ae2896a4bc0d4aa4985ea09f8977dd83f9.tar.bz2
device_samsung_i9100-918145ae2896a4bc0d4aa4985ea09f8977dd83f9.zip
Replace vendorsetup.sh by COMMON_LUNCH_CHOICES
Using vendorsetup generated the following warning message: device/samsung/i9305/vendorsetup.sh:17: add_lunch_combo is obsolete. Use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead. So we use COMMON_LUNCH_CHOICES in your AndroidProducts.mk instead in order to silence this warning. Signed-off-by: Tobias Tefke <t.tefke@stud.fh-sm.de> GNUtoo@cyberdimension.org: fixed a tiny bit the comimt message Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rw-r--r--AndroidProducts.mk3
-rw-r--r--vendorsetup.sh17
2 files changed, 3 insertions, 17 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index 37e30b4..5cdccd6 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -16,3 +16,6 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_i9305.mk
+
+COMMON_LUNCH_CHOICES := \
+ lineage_i9305-userdebug
diff --git a/vendorsetup.sh b/vendorsetup.sh
deleted file mode 100644
index bf5fcfb..0000000
--- a/vendorsetup.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Copyright 2018 Joonas Kylmälä
-#
-# 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.
-#
-
-add_lunch_combo lineage_i9305-userdebug