File tree Expand file tree Collapse file tree
src/validations/validate_manifest
rules/android_sdk_repository Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ licenses(["notice"])
1515py_library (
1616 name = "validate_manifest_lib" ,
1717 srcs = ["validate_manifest.py" ],
18- deps = ["@bazel_tools//third_party/py/abseil" ],
1918)
2019
2120py_test (
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ py_test(
3232 ":bashunit" ,
3333 # This test relies on writing shell scripts that use bash runfiles
3434 # to load the actual copy of unittest.bash being tested.
35- "@bazel_tools//tools/bash /runfiles" ,
35+ "@rules_shell//shell /runfiles" ,
3636 ],
3737 main = "unittest_test.py" ,
3838 tags = [
Original file line number Diff line number Diff line change 2929
3030# The test setup for this external test is forwarded to the internal bash test.
3131# This allows the internal test to use the same runfiles to load unittest.bash.
32+ # NOTE: runfiles.bash exists in rules_shell, but isn't entirely hooked up yet.
33+ # For now, we still need to reference the "old" runfiles.bash path in the
34+ # bashunit library.
3235_TEST_PREAMBLE = """
3336#!/bin/bash
3437# --- begin runfiles.bash initialization ---
3538if [[ -f "${RUNFILES_DIR:-/dev/null}/bazel_tools/tools/bash/runfiles/runfiles.bash" ]]; then
3639 source "${RUNFILES_DIR}/bazel_tools/tools/bash/runfiles/runfiles.bash"
3740else
38- echo >&2 "ERROR: cannot find @bazel_tools//tools/bash /runfiles:runfiles.bash"
41+ echo >&2 "ERROR: cannot find @rules_shell//shell /runfiles:runfiles.bash"
3942 exit 1
4043fi
4144# --- end runfiles.bash initialization ---
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ sh_library(
2727 visibility = ["//visibility:private" ],
2828 deps = [
2929 "//test/bashunit" ,
30- "@bazel_tools//tools/bash /runfiles" ,
30+ "@rules_shell//shell /runfiles" ,
3131 ],
3232)
3333
@@ -41,7 +41,7 @@ script_test(
4141 deps = [
4242 ":android_helper" ,
4343 "//test/bashunit" ,
44- "@bazel_tools//tools/bash /runfiles" ,
44+ "@rules_shell//shell /runfiles" ,
4545 ],
4646)
4747
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ script_test(
2020 tags = ["manual" ],
2121 deps = [
2222 "//test/bashunit" ,
23- "@bazel_tools//tools/bash /runfiles" ,
23+ "@rules_shell//shell /runfiles" ,
2424 ],
2525)
2626
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ sh_binary(
188188 ":r8" ,
189189 ":tracereferences" ,
190190 ":zip" ,
191- "@bazel_tools//tools/bash /runfiles" ,
191+ "@rules_shell//shell /runfiles" ,
192192 ],
193193 visibility = ["//visibility:public" ],
194194)
@@ -222,7 +222,7 @@ sh_binary(
222222 ":d8_desugar_params" ,
223223 ":full_desugar_jdk_libs_config_json" ,
224224 "//src/tools/java/com/google/devtools/build/android/r8:desugar" ,
225- "@bazel_tools//tools/bash /runfiles" ,
225+ "@rules_shell//shell /runfiles" ,
226226 ],
227227 visibility = ["//visibility:public" ],
228228)
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ sh_test(
6666 "//src/tools/jar_to_module_info" ,
6767 ],
6868 deps = [
69- "@bazel_tools//tools/bash /runfiles" ,
69+ "@rules_shell//shell /runfiles" ,
7070 ],
7171)
7272
You can’t perform that action at this time.
0 commit comments