Skip to content

Commit

Permalink
chore: minify delta due to broken copybara
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Feb 16, 2024
1 parent 0587186 commit 1990896
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 119 deletions.
17 changes: 0 additions & 17 deletions bazel/BUILD.bazel

This file was deleted.

10 changes: 0 additions & 10 deletions bazel/action_cache/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "bazel_proto",
Expand All @@ -16,15 +15,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":bazel_go_proto",
output_files = [
"action_cache.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "action_cache",
embed = [":bazel_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/analysis/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "bazel_proto",
Expand All @@ -18,15 +17,6 @@ go_proto_library(
deps = ["//bazel/query"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":bazel_go_proto",
output_files = [
"analysis_v2.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "analysis",
embed = [":bazel_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/buildeventstream/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "buildeventstream_proto",
Expand Down Expand Up @@ -33,15 +32,6 @@ go_proto_library(
],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":buildeventstream_go_proto",
output_files = [
"build_event_stream.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "buildeventstream",
embed = [":buildeventstream_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/command_line/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "command_line_proto",
Expand All @@ -18,15 +17,6 @@ go_proto_library(
deps = ["//bazel/options"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":command_line_go_proto",
output_files = [
"command_line.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "command_line",
embed = [":command_line_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/failure_details/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "failure_details_proto",
Expand All @@ -17,15 +16,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":failure_details_go_proto",
output_files = [
"failure_details.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "failure_details",
embed = [":failure_details_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/flags/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "bazel_proto",
Expand All @@ -16,15 +15,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":bazel_go_proto",
output_files = [
"flags.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "flags",
embed = [":bazel_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/invocation_policy/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "invocation_policy_proto",
Expand All @@ -16,15 +15,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":blaze_invocation_policy_go_proto",
output_files = [
"invocation_policy.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "invocation_policy",
embed = [":blaze_invocation_policy_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/options/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "options_proto",
Expand All @@ -16,15 +15,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":options_go_proto",
output_files = [
"option_filters.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "options",
embed = [":options_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/packages_metrics/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "devtools_build_lib_packages_metrics_proto",
Expand All @@ -17,15 +16,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":devtools_build_lib_packages_metrics_go_proto",
output_files = [
"package_load_metrics.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "packages_metrics",
embed = [":devtools_build_lib_packages_metrics_go_proto"],
Expand Down
10 changes: 0 additions & 10 deletions bazel/query/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
load("@rules_proto//proto:defs.bzl", "proto_library")
load("//bazel/go:write_go_generated_source_files.bzl", "write_go_generated_source_files")

proto_library(
name = "blaze_query_aspect_mirror_proto",
Expand All @@ -16,15 +15,6 @@ go_proto_library(
visibility = ["//visibility:public"],
)

write_go_generated_source_files(
name = "write_pb_go",
src = ":blaze_query_aspect_mirror_go_proto",
output_files = [
"build.pb.go",
],
visibility = ["//bazel:__pkg__"],
)

go_library(
name = "query",
embed = [":blaze_query_aspect_mirror_go_proto"],
Expand Down
2 changes: 1 addition & 1 deletion cmd/aspect/root/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ go_library(
"//cmd/aspect/sync",
"//cmd/aspect/test",
"//cmd/aspect/version",
"//docs/help/topics",
"//pkg/aspect/root/flags",
"//pkg/aspecterrors",
"//pkg/bazel",
"//pkg/ioutils",
"//pkg/plugin/system",
"//docs/help/topics",
"@com_github_fatih_color//:color",
"@com_github_mattn_go_isatty//:go-isatty",
"@com_github_spf13_cobra//:cobra",
Expand Down
18 changes: 17 additions & 1 deletion cmd/aspect/root/root.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
/*
* Copyright 2023 Aspect Build Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

/*
* Copyright 2022 Aspect Build Systems, Inc.
*
Expand Down Expand Up @@ -53,12 +69,12 @@ import (
"aspect.build/cli/cmd/aspect/sync"
"aspect.build/cli/cmd/aspect/test"
"aspect.build/cli/cmd/aspect/version"
help_docs "aspect.build/cli/docs/help/topics"
"aspect.build/cli/pkg/aspect/root/flags"
"aspect.build/cli/pkg/aspecterrors"
"aspect.build/cli/pkg/bazel"
"aspect.build/cli/pkg/ioutils"
"aspect.build/cli/pkg/plugin/system"
help_docs "aspect.build/cli/docs/help"
)

var (
Expand Down

0 comments on commit 1990896

Please sign in to comment.