aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Tefke <t.tefke@stud.fh-sm.de>2020-06-22 18:38:35 +0200
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2020-06-26 21:06:13 +0200
commit7425cb3f9ad43b6faa37e43b6c41a2ae3f4c5e1a (patch)
tree06c073d916b1e9d20e391fc0ae27754fbae2455e
parenteef063eb3d2fde95250ce601fa8eb9cb35a9b9cd (diff)
downloaddevice_samsung_i9300-7425cb3f9ad43b6faa37e43b6c41a2ae3f4c5e1a.tar.gz
device_samsung_i9300-7425cb3f9ad43b6faa37e43b6c41a2ae3f4c5e1a.tar.bz2
device_samsung_i9300-7425cb3f9ad43b6faa37e43b6c41a2ae3f4c5e1a.zip
Replace vendorsetup.sh by COMMON_LUNCH_CHOICES
Using vendorsetup generated the following warning message: device/samsung/i9300/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.sh18
2 files changed, 3 insertions, 18 deletions
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
index b168b09..2ce318b 100644
--- a/AndroidProducts.mk
+++ b/AndroidProducts.mk
@@ -16,3 +16,6 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_i9300.mk
+
+COMMON_LUNCH_CHOICES := \
+ lineage_i9300-userdebug
diff --git a/vendorsetup.sh b/vendorsetup.sh
deleted file mode 100644
index d21fbce..0000000
--- a/vendorsetup.sh
+++ /dev/null
@@ -1,18 +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_i9300-userdebug
-add_lunch_combo lineage_i9300-userdebug