summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
author Luca Farsi <lucafarsi@google.com> 2024-11-19 18:52:56 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-11-19 18:52:56 +0000
commitd33ef697d849ad44592ae47b839776aa90d93d97 (patch)
treed27be4f322ae4550942438ba4d1ffc9c7ce8d4a8 /ci
parent57bbaf99890b18aba770d112f9f6e71d3c1ba91a (diff)
parent6ede52cf4db2641517e375aeba80691e0915b1bc (diff)
Merge "Add device target build script wrapper" into main
Diffstat (limited to 'ci')
-rwxr-xr-xci/build_device_and_tests18
1 files changed, 18 insertions, 0 deletions
diff --git a/ci/build_device_and_tests b/ci/build_device_and_tests
new file mode 100755
index 0000000000..9d11268ef1
--- /dev/null
+++ b/ci/build_device_and_tests
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+#
+# Copyright 2024, The Android Open Source Project
+#
+# 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.
+
+build/soong/soong_ui.bash --make-mode build_test_suites || exit $?
+$(build/soong/soong_ui.bash --dumpvar-mode HOST_OUT)/bin/build_test_suites $@ || exit $?