Merge "Revert "Allowlist build files in external/python/absl-py"" am: f219c0fc87
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2322224 Change-Id: I23c5a1e5b9221fdc5e4cd323647ba2ece9459070 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
7f61a3b638
3 changed files with 7 additions and 9 deletions
|
@ -364,7 +364,6 @@ var (
|
|||
"external/guava":/* recursive = */ true,
|
||||
"external/jsr305":/* recursive = */ true,
|
||||
"external/protobuf":/* recursive = */ false,
|
||||
"external/python/absl-py":/* recursive = */ true,
|
||||
|
||||
// this BUILD file is globbed by //external/icu/icu4c/source:icu4c_test_data's "data/**/*".
|
||||
"external/icu/icu4c/source/data/unidata/norm2":/* recursive = */ false,
|
||||
|
|
|
@ -65,7 +65,7 @@ EOF
|
|||
outdir=out2
|
||||
trap "rm -rf $outdir" EXIT
|
||||
# Modify OUT_DIR in a subshell so it doesn't affect the top level one.
|
||||
(export OUT_DIR=$outdir; run_soong bp2build && run_bazel build --config=bp2build --config=ci //a:g)
|
||||
(export OUT_DIR=$outdir; run_soong bp2build && run_bazel build --config=bp2build //a:g)
|
||||
}
|
||||
|
||||
test_different_relative_outdir
|
||||
|
@ -87,7 +87,7 @@ EOF
|
|||
outdir=$(mktemp -t -d st.XXXXX)
|
||||
trap 'rm -rf $outdir' EXIT
|
||||
# Modify OUT_DIR in a subshell so it doesn't affect the top level one.
|
||||
(export OUT_DIR=$outdir; run_soong bp2build && run_bazel build --config=bp2build --config=ci //a:g)
|
||||
(export OUT_DIR=$outdir; run_soong bp2build && run_bazel build --config=bp2build //a:g)
|
||||
}
|
||||
|
||||
test_different_absolute_outdir
|
||||
|
@ -146,7 +146,7 @@ EOF
|
|||
fi
|
||||
|
||||
# NOTE: We don't actually use the extra BUILD file for anything here
|
||||
run_bazel build --config=android --config=bp2build --config=ci //foo/...
|
||||
run_bazel build --config=android --package_path=out/soong/workspace //foo/...
|
||||
|
||||
local the_answer_file="bazel-out/android_target-fastbuild/bin/foo/convertible_soong_module/the_answer.txt"
|
||||
if [[ ! -f "${the_answer_file}" ]]; then
|
||||
|
@ -191,10 +191,10 @@ EOF
|
|||
|
||||
run_soong bp2build
|
||||
|
||||
run_bazel build --config=android --config=bp2build --config=ci //a:qq
|
||||
run_bazel build --config=android --package_path=out/soong/workspace //a:qq
|
||||
local -r output_mtime1=$(stat -c "%y" bazel-bin/a/_objs/qq/qq.o)
|
||||
|
||||
run_bazel build --config=android --config=bp2build --config=ci //a:qq
|
||||
run_bazel build --config=android --package_path=out/soong/workspace //a:qq
|
||||
local -r output_mtime2=$(stat -c "%y" bazel-bin/a/_objs/qq/qq.o)
|
||||
|
||||
if [[ "$output_mtime1" != "$output_mtime2" ]]; then
|
||||
|
@ -205,7 +205,7 @@ EOF
|
|||
#define QQ 2
|
||||
EOF
|
||||
|
||||
run_bazel build --config=android --config=bp2build --config=ci //a:qq
|
||||
run_bazel build --config=android --package_path=out/soong/workspace //a:qq
|
||||
local -r output_mtime3=$(stat -c "%y" bazel-bin/a/_objs/qq/qq.o)
|
||||
|
||||
if [[ "$output_mtime1" == "$output_mtime3" ]]; then
|
||||
|
|
|
@ -12,5 +12,4 @@ TOP="$(readlink -f "$(dirname "$0")"/../../..)"
|
|||
|
||||
# The following tests build against the full source tree and don't rely on the
|
||||
# mock client.
|
||||
# TODO(b/260278287) the bazel server won't shut down for some reason when run on the build server
|
||||
# "$TOP/build/soong/tests/apex_comparison_tests.sh"
|
||||
"$TOP/build/soong/tests/apex_comparison_tests.sh"
|
||||
|
|
Loading…
Reference in a new issue