1load("@soong_injection//cc_toolchain:constants.bzl", "constants") 2 3# This test requires bp2build to run and the generated BUILD files in the source tree. 4sh_test( 5 name = "verify_bionic_outputs", 6 srcs = ["verify_bionic_outputs.sh"], 7 data = [ 8 "//bionic/libc", 9 "//bionic/libc:libc_bp2build_cc_library_static", 10 "//bionic/libdl:libdl_android", 11 "//bionic/libdl:libdl_android_bp2build_cc_library_static", 12 "//bionic/linker:ld-android", 13 "//bionic/linker:ld-android_bp2build_cc_library_static", 14 "//prebuilts/clang/host/linux-x86:test_tools", 15 ], 16 env = {"CLANG_DEFAULT_VERSION": constants.CLANG_DEFAULT_VERSION}, 17 deps = ["@bazel_tools//tools/bash/runfiles"], 18) 19 20sh_test( 21 name = "compare_libc_stripping", 22 srcs = ["compare_libc_stripping.sh"], 23 data = [ 24 "//bionic/libc", 25 "//bionic/libc:libc_unstripped", 26 ], 27 env = {"CLANG_DEFAULT_VERSION": constants.CLANG_DEFAULT_VERSION}, 28 deps = ["@bazel_tools//tools/bash/runfiles"], 29) 30