Add BUILD files for all of src/[main/test]/.../build/lib/bazel.
Fixing Bazel required also splitting up the main dir. This required a single
Java change to break a dependency cycle between pipline and parse in the ninja
code. I split NinjaPipeline and NinjaParser into impl/interface allowing the
cycle to be broken.
RELNOTES: None.
PiperOrigin-RevId: 305073498
diff --git a/src/BUILD b/src/BUILD
index 92dd6f4..5758d38 100644
--- a/src/BUILD
+++ b/src/BUILD
@@ -11,7 +11,7 @@
[genrule(
name = "install_base_key-file" + suffix,
srcs = [
- "//src/main/java/com/google/devtools/build/lib:bazel/BazelServer_deploy.jar",
+ "//src/main/java/com/google/devtools/build/lib/bazel:BazelServer_deploy.jar",
"//src/main/cpp:client",
"//src/main/tools:build-runfiles",
"//src/main/tools:process-wrapper",
@@ -324,7 +324,7 @@
# The script assumes that the embedded tools zip (if exists) is the
# first item here, the deploy jar the second, install base key is the
# third, and platforms archive is the fourth.
- "//src/main/java/com/google/devtools/build/lib:bazel/BazelServer_deploy.jar",
+ "//src/main/java/com/google/devtools/build/lib/bazel:BazelServer_deploy.jar",
"install_base_key" + suffix,
":platforms_archive",
"//src/main/native:target-os-unix-native-lib",