summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-20 01:10:55 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-20 01:10:55 +0000
commit734529f4d2ae2c7542a375a3d628033321e9f8c2 (patch)
treeb1f618027e266cac259bc57aa7eed1cec649a628
parentbb8ed622043eda33c38c7f034067ac98d653b260 (diff)
parent0734692e4dbe1f32d051360b3c8aa77f42932328 (diff)
downloadlibufdt-android13-security-release.tar.gz
Change-Id: I793454879198a915cf1642b979141c3ec9c30067
-rw-r--r--utils/src/Android.bp6
-rwxr-xr-xutils/src/mkdtboimg.py2
-rwxr-xr-xutils/tests/mkdtboimg_acpi_testdata.sh1
-rwxr-xr-xutils/tests/mkdtboimg_testdata.sh1
4 files changed, 4 insertions, 6 deletions
diff --git a/utils/src/Android.bp b/utils/src/Android.bp
index 03f4aa6..997121b 100644
--- a/utils/src/Android.bp
+++ b/utils/src/Android.bp
@@ -59,12 +59,8 @@ python_binary_host {
main: "mkdtboimg.py",
srcs: ["mkdtboimg.py"],
version: {
- py2: {
- embedded_launcher: true,
- enabled: true,
- },
py3: {
- enabled: false,
+ embedded_launcher: true,
},
},
}
diff --git a/utils/src/mkdtboimg.py b/utils/src/mkdtboimg.py
index bc33e1f..5eeb5ea 100755
--- a/utils/src/mkdtboimg.py
+++ b/utils/src/mkdtboimg.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
# Copyright 2017, The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/utils/tests/mkdtboimg_acpi_testdata.sh b/utils/tests/mkdtboimg_acpi_testdata.sh
index edaf280..2681703 100755
--- a/utils/tests/mkdtboimg_acpi_testdata.sh
+++ b/utils/tests/mkdtboimg_acpi_testdata.sh
@@ -12,6 +12,7 @@
# 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.
+set -e
if ! hash iasl; then
echo "Please install 'acpica-tools' first"
diff --git a/utils/tests/mkdtboimg_testdata.sh b/utils/tests/mkdtboimg_testdata.sh
index 12c2f95..51db394 100755
--- a/utils/tests/mkdtboimg_testdata.sh
+++ b/utils/tests/mkdtboimg_testdata.sh
@@ -12,6 +12,7 @@
# 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.
+set -e
SRCDIR="data"
DTS_LIST="