Skip to content

Commit

Permalink
update clwb BUILD file + fix ijwb visibility typo
Browse files Browse the repository at this point in the history
  • Loading branch information
xuansontrinh committed Oct 5, 2024
1 parent 7f5a369 commit 8d6b4c4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build-visibility.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ASWB_PLUGIN_PACKAGES_VISIBILITY = ["//visibility:public"]

CLWB_PACKAGES_VISIBILITY = None

IJWB_PACKAGES_VISIBILIY = None
IJWB_PACKAGES_VISIBILITY = None

GOLANG_PACKAGES_VISIBILITY = None

Expand Down
11 changes: 11 additions & 0 deletions clwb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,15 @@ repackaged_files(
java_copts = ["-source", "8", "-target", "8"],
)

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

repackaged_files(
name = "clwb_bazel_gdbserver_wrapper",
srcs = ["//clwb:gdbserver_wrapper"],
Expand All @@ -115,6 +124,7 @@ intellij_plugin_debug_target(
name = "clwb_bazel_dev",
deps = [
":aspect_directory",
":aspect_template_directory",
":clwb_bazel_gdbserver_wrapper",
":plugin_jar",
],
Expand All @@ -124,6 +134,7 @@ plugin_deploy_zip(
name = "clwb_bazel_zip",
srcs = [
":aspect_directory",
":aspect_template_directory",
":clwb_bazel_gdbserver_wrapper",
":plugin_jar",
],
Expand Down
10 changes: 5 additions & 5 deletions ijwb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ load(
load("//intellij_platform_sdk:build_defs.bzl", "select_for_ide")
load(
"//:build-visibility.bzl",
"IJWB_PACKAGES_VISIBILIY",
"IJWB_PACKAGES_VISIBILITY",
"PLUGIN_PACKAGES_VISIBILITY",
)

Expand Down Expand Up @@ -60,7 +60,7 @@ stamped_plugin_xml(
java_library(
name = "ijwb_lib",
srcs = glob(["src/**/*.java"]),
visibility = IJWB_PACKAGES_VISIBILIY,
visibility = IJWB_PACKAGES_VISIBILITY,
deps = [
"//base",
"//intellij_platform_sdk:jsr305",
Expand Down Expand Up @@ -109,7 +109,7 @@ repackaged_files(
srcs = ["//aspect:aspect_files"],
prefix = "ijwb/aspect",
strip_prefix = "/aspect",
visibility = IJWB_PACKAGES_VISIBILIY,
visibility = IJWB_PACKAGES_VISIBILITY,
java_copts = ["-source", "8", "-target", "8"],
)

Expand All @@ -118,15 +118,15 @@ repackaged_files(
srcs = ["//aspect_template:aspect_files"],
prefix = "ijwb/aspect_template",
strip_prefix = "/aspect_template",
visibility = IJWB_PACKAGES_VISIBILIY,
visibility = IJWB_PACKAGES_VISIBILITY,
java_copts = ["-source", "8", "-target", "8"],
)

repackaged_files(
name = "fast_build_javac",
srcs = ["//java:fast_build_javac"],
prefix = "ijwb/lib",
visibility = IJWB_PACKAGES_VISIBILIY,
visibility = IJWB_PACKAGES_VISIBILITY,
java_copts = ["-source", "8", "-target", "8"],
)

Expand Down

0 comments on commit 8d6b4c4

Please sign in to comment.