summaryrefslogtreecommitdiff
path: root/test/004-StackWalk
diff options
context:
space:
mode:
Diffstat (limited to 'test/004-StackWalk')
-rw-r--r--test/004-StackWalk/build.py19
-rwxr-xr-x[-rw-r--r--]test/004-StackWalk/generate-sources (renamed from test/004-StackWalk/build)1
-rwxr-xr-xtest/004-StackWalk/javac_post.sh (renamed from test/004-StackWalk/javac_wrapper.sh)0
3 files changed, 19 insertions, 1 deletions
diff --git a/test/004-StackWalk/build.py b/test/004-StackWalk/build.py
new file mode 100644
index 0000000000..2cd378a24e
--- /dev/null
+++ b/test/004-StackWalk/build.py
@@ -0,0 +1,19 @@
+#
+# Copyright (C) 2022 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.
+
+
+def build(ctx):
+ ctx.bash("./generate-sources")
+ ctx.default_build()
diff --git a/test/004-StackWalk/build b/test/004-StackWalk/generate-sources
index 6203c97769..9edc200083 100644..100755
--- a/test/004-StackWalk/build
+++ b/test/004-StackWalk/generate-sources
@@ -23,4 +23,3 @@ export D8=':'
######################################################################
${SOONG_ZIP} --jar -o classes.jar -f classes.dex
-./default-build "$@"
diff --git a/test/004-StackWalk/javac_wrapper.sh b/test/004-StackWalk/javac_post.sh
index 603ce39d7b..603ce39d7b 100755
--- a/test/004-StackWalk/javac_wrapper.sh
+++ b/test/004-StackWalk/javac_post.sh