Skip to content

Commit

Permalink
Register LinterApiClient implementations as extensions
Browse files Browse the repository at this point in the history
(cherry picked from commit 62ce4c2)
  • Loading branch information
Googler authored and mai93 committed Jan 29, 2024
1 parent 33ad4de commit 4f7cfd8
Show file tree
Hide file tree
Showing 37 changed files with 121 additions and 121 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

cc_binary(
name = "simple",
srcs = ["simple/simple.cc"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

cc_library(
name = "simple",
srcs = ["simple/simple.cc"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

cc_test(
name = "simple",
srcs = ["simple/simple.cc"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

cc_library(
name = "simple",
srcs = ["simple.cc"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

cc_binary(
name = "simple_prefined",
srcs = ["simple/simple.cc"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "test",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "simple",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "foo",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "foo",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "foo",
srcs = ["testsrc/Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "no_plugin",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_library(
name = "foolib",
srcs = ["Foo.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

java_plugin(
name = "plugin",
srcs = ["Plugin.java"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
load(
"//aspect/testing/rules:fast_build_aspect_test_fixture.bzl",
"fast_build_aspect_test_fixture",
)
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])
load(
"//aspect/testing/rules:fast_build_aspect_test_fixture.bzl",
"fast_build_aspect_test_fixture",
)

java_test(
name = "FooTest",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
licenses(["notice"])

load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"])

proto_library(
name = "foo_proto",
srcs = ["foo.proto"],
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_binary",
"scala_library",
)
load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)

licenses(["notice"]) # Apache 2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_library",
)
load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_library",
)

licenses(["notice"]) # Apache 2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_macro_library",
)
load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_macro_library",
)

licenses(["notice"]) # Apache 2.0

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_test",
)
load(
"//aspect/testing/rules:intellij_aspect_test_fixture.bzl",
"intellij_aspect_test_fixture",
)
load(
"@io_bazel_rules_scala//scala:scala.bzl",
"scala_test",
)

licenses(["notice"]) # Apache 2.0

Expand Down
10 changes: 5 additions & 5 deletions aswb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ load(
"//build_defs:intellij_plugin_debug_target.bzl",
"intellij_plugin_debug_target",
)
load(
"//intellij_platform_sdk:build_defs.bzl",
"combine_visibilities",
"select_for_plugin_api",
)
load(
"//testing:test_defs.bzl",
"intellij_integration_test_suite",
"intellij_unit_test_suite",
)
load(
"//intellij_platform_sdk:build_defs.bzl",
"combine_visibilities",
"select_for_plugin_api",
)

licenses(["notice"])

Expand Down
10 changes: 5 additions & 5 deletions clwb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# Description: Builds clwb
#

load(
"//:build-visibility.bzl",
"CLWB_PACKAGES_VISIBILITY",
"PLUGIN_PACKAGES_VISIBILITY",
)
load("//:version.bzl", "VERSION")
load(
"//build_defs:build_defs.bzl",
Expand All @@ -25,6 +20,11 @@ load(
"//testing:test_defs.bzl",
"intellij_unit_test_suite",
)
load(
"//:build-visibility.bzl",
"CLWB_PACKAGES_VISIBILITY",
"PLUGIN_PACKAGES_VISIBILITY",
)

licenses(["notice"])

Expand Down
8 changes: 4 additions & 4 deletions common/ui/properties/BUILD
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
load(
"//:build-visibility.bzl",
"COMMON_PLUGINS_VISIBILITY",
)
load(
"//testing:test_defs.bzl",
"intellij_unit_test_suite",
)
load(
"//:build-visibility.bzl",
"COMMON_PLUGINS_VISIBILITY",
)

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion cpp/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ load(
"optional_plugin_xml",
"stamped_plugin_xml",
)
load("//intellij_platform_sdk:build_defs.bzl", "select_for_ide")
load(
"//testing:test_defs.bzl",
"intellij_integration_test_suite",
"intellij_unit_test_suite",
)
load("//intellij_platform_sdk:build_defs.bzl", "select_for_ide")

licenses(["notice"])

Expand Down
4 changes: 2 additions & 2 deletions dart/BUILD
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
load("//build_defs:build_defs.bzl", "intellij_plugin_library")
load("//testing:test_defs.bzl", "intellij_unit_test_suite")
load(
"//:build-visibility.bzl",
"PLUGIN_PACKAGES_VISIBILITY",
)
load("//build_defs:build_defs.bzl", "intellij_plugin_library")
load("//testing:test_defs.bzl", "intellij_unit_test_suite")

licenses(["notice"])

Expand Down
2 changes: 1 addition & 1 deletion ext/proto/BUILD
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
load("@io_bazel_rules_go//proto:def.bzl", "go_grpc_library", "go_proto_library")
load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library")
load("@io_bazel_rules_go//proto:def.bzl", "go_grpc_library", "go_proto_library")

proto_library(
name = "intellijext_proto",
Expand Down
12 changes: 6 additions & 6 deletions golang/BUILD
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
load(
"//:build-visibility.bzl",
"GOLANG_PACKAGES_VISIBILITY",
"PLUGIN_PACKAGES_VISIBILITY",
"//testing:test_defs.bzl",
"intellij_integration_test_suite",
"intellij_unit_test_suite",
)
load(
"//build_defs:build_defs.bzl",
Expand All @@ -11,9 +11,9 @@ load(
"stamped_plugin_xml",
)
load(
"//testing:test_defs.bzl",
"intellij_integration_test_suite",
"intellij_unit_test_suite",
"//:build-visibility.bzl",
"GOLANG_PACKAGES_VISIBILITY",
"PLUGIN_PACKAGES_VISIBILITY",
)

licenses(["notice"])
Expand Down
Loading

0 comments on commit 4f7cfd8

Please sign in to comment.