summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:11:09 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-04-28 16:11:09 +0000
commit41d0f5e405feb47d01b4a15e8c5b9bef76ab67bf (patch)
treeb1f618027e266cac259bc57aa7eed1cec649a628
parentc56ec17bc67b0ea882525088e511d868d4e5f021 (diff)
parent0734692e4dbe1f32d051360b3c8aa77f42932328 (diff)
downloadlibufdt-android13-frc-adbd-release.tar.gz
Snap for 8512216 from 0734692e4dbe1f32d051360b3c8aa77f42932328 to tm-frc-adbd-releaset_frc_adb_330444000android13-frc-adbd-release
Change-Id: I2698454173522c2913478d3e5ea8e72a99297e7d
-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="