• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash -eu
2readonly TOP="$(realpath "$(dirname "$0")/../../../..")"
3"$TOP/build/soong/soong_ui.bash" \
4  --build-mode \
5  --all-modules \
6  --dir="$(pwd)" \
7  --skip-soong-tests \
8  bp2build
9
10ANDROID_BUILD_TOP=$TOP "$TOP/build/bazel/bin/bazel" run --config=bp2build --verbose_failures //build/bazel/scripts/incremental_build -- "$@"
11
12# Alternatively, we could use python_zip_file, https://github.com/bazelbuild/bazel/pull/9453
13