summaryrefslogtreecommitdiff
path: root/test/822-hiddenapi-future
diff options
context:
space:
mode:
Diffstat (limited to 'test/822-hiddenapi-future')
-rw-r--r--test/822-hiddenapi-future/build.py (renamed from test/822-hiddenapi-future/build)7
1 files changed, 4 insertions, 3 deletions
diff --git a/test/822-hiddenapi-future/build b/test/822-hiddenapi-future/build.py
index 02ce5491cc..942bb00273 100644
--- a/test/822-hiddenapi-future/build
+++ b/test/822-hiddenapi-future/build.py
@@ -1,6 +1,5 @@
-#!/bin/bash
#
-# Copyright 2021 The Android Open Source Project
+# 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.
@@ -14,4 +13,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-USE_HIDDENAPI=true ./default-build "$@"
+
+def build(ctx):
+ ctx.default_build(use_hiddenapi=True)