Skip to content

Commit

Permalink
Formatted clwb/BUILD (#7242)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeFrosch authored Jan 22, 2025
1 parent 79a0262 commit b603672
Showing 1 changed file with 21 additions and 11 deletions.
32 changes: 21 additions & 11 deletions clwb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,21 @@ java_library(
visibility = ["//clwb:__subpackages__"],
deps = [
"//base",
"//clwb/sdkcompat",
"//common/actions",
"//common/experiments",
"//cpp",
"//intellij_platform_sdk:jsr305",
"//intellij_platform_sdk:plugin_api",
"//sdkcompat",
"//clwb/sdkcompat",
"//shared",
],
)

intellij_plugin(
name = "clwb_bazel",
plugin_xml = ":stamped_plugin_xml",
plugin_icons = ["//common:pluginIcon.svg"],
plugin_xml = ":stamped_plugin_xml",
tags = [
"incomplete-deps", # remove this suppression and add any missing deps, see go/java-import-deps-checking-lsc
],
Expand All @@ -115,19 +115,29 @@ repackaged_files(
repackaged_files(
name = "aspect_directory",
srcs = ["//aspect:aspect_files"],
java_copts = [
"-source",
"8",
"-target",
"8",
],
prefix = "clwb/aspect",
strip_prefix = "/aspect",
visibility = CLWB_PACKAGES_VISIBILITY,
java_copts = ["-source", "8", "-target", "8"],
)

repackaged_files(
name = "aspect_template_directory",
srcs = ["//aspect_template:aspect_files"],
java_copts = [
"-source",
"8",
"-target",
"8",
],
prefix = "clwb/aspect_template",
strip_prefix = "/aspect_template",
visibility = CLWB_PACKAGES_VISIBILITY,
java_copts = ["-source", "8", "-target", "8"],
)

repackaged_files(
Expand Down Expand Up @@ -180,41 +190,41 @@ filegroup(

clwb_integration_test(
name = "simple_integration_test",
project = "simple",
srcs = ["tests/integrationtests/com/google/idea/blaze/clwb/SimpleTest.java"],
project = "simple",
)

clwb_integration_test(
name = "virtual_includes_integration_test",
project = "virtual_includes",
srcs = ["tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java"],
project = "virtual_includes",
)

clwb_integration_test(
name = "llvm_toolchain_integration_test",
project = "llvm_toolchain",
srcs = ["tests/integrationtests/com/google/idea/blaze/clwb/LlvmToolchainTest.java"],
project = "llvm_toolchain",
)

clwb_integration_test(
name = "external_includes_integration_test",
project = "external_includes",
srcs = ["tests/integrationtests/com/google/idea/blaze/clwb/ExternalIncludesTest.java"],
project = "external_includes",
)

clwb_integration_test(
name = "query_sync_integration_test",
project = "simple",
srcs = ["tests/integrationtests/com/google/idea/blaze/clwb/QuerySyncTest.java"],
project = "simple",
)

test_suite(
name = "integration_tests",
tests = [
":external_includes_integration_test",
":llvm_toolchain_integration_test",
":query_sync_integration_test",
":simple_integration_test",
":virtual_includes_integration_test",
":external_includes_integration_test",
":query_sync_integration_test",
],
)

0 comments on commit b603672

Please sign in to comment.