summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildbot-build.sh11
1 files changed, 9 insertions, 2 deletions
diff --git a/tools/buildbot-build.sh b/tools/buildbot-build.sh
index fd9ad0bb0f..8956e98ed0 100755
--- a/tools/buildbot-build.sh
+++ b/tools/buildbot-build.sh
@@ -74,7 +74,14 @@ if [[ $mode == "host" ]]; then
make_command+=" dx-tests"
mode_suffix="-host"
elif [[ $mode == "target" ]]; then
- make_command="make $j_arg $extra_args $showcommands build-art-target-tests $common_targets"
+ # Create dummy hidden API lists which are normally generated by the framework
+ # but which we do not have in the buildbot manifest. These are empty because
+ # we do not want to enforce these rules in the buildbots anyway.
+ hiddenapi_out_dir=${out_dir}/target/common/obj/PACKAGING
+ make_command="mkdir -p ${hiddenapi_out_dir} && "
+ make_command+="touch ${hiddenapi_out_dir}/hiddenapi-{blacklist,dark-greylist,light-greylist}.txt && "
+
+ make_command+="make $j_arg $extra_args $showcommands build-art-target-tests $common_targets"
make_command+=" libjavacrypto-target libnetd_client-target linker toybox toolbox sh"
make_command+=" ${out_dir}/host/linux-x86/bin/adb libstdc++ "
make_command+=" ${out_dir}/target/product/${TARGET_PRODUCT}/system/etc/public.libraries.txt"
@@ -89,4 +96,4 @@ done
echo "Executing $make_command"
-$make_command
+bash -c "$make_command"