Files
openide/plugins/ByteCodeViewer/BUILD.bazel
Vladimir Krivosheev 0272d6a0c7 IJ-MR-175479 IJ-CR-146078 IJPL-209476 miglayout-swing, mvstore, proxy-vole, rhino, winp
GitOrigin-RevId: 18f6ef6f31cc80b26bca98a7ab025e2ade284102
2025-10-06 16:34:02 +00:00

79 lines
2.5 KiB
Python

### auto-generated section `build intellij.java.byteCodeViewer` start
load("//build:compiler-options.bzl", "create_kotlinc_options")
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
create_kotlinc_options(
name = "custom_java-byteCodeViewer",
x_explicit_api_mode = "strict"
)
resourcegroup(
name = "java-byteCodeViewer_resources",
srcs = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "java-byteCodeViewer",
module_name = "intellij.java.byteCodeViewer",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
resources = [":java-byteCodeViewer_resources"],
kotlinc_opts = ":custom_java-byteCodeViewer",
deps = [
"//libraries/asm",
"//platform/analysis-api:analysis",
"//platform/editor-ui-api:editor-ui",
"//platform/projectModel-api:projectModel",
"//platform/util",
"//platform/core-api:core",
"//platform/platform-api:ide",
"//platform/platform-impl:ide-impl",
"//platform/lang-api:lang",
"//platform/lang-impl",
"//java/java-psi-api:psi",
"//java/execution/openapi:java-execution",
"//java/openapi:java",
"//java/compiler/impl",
"//platform/core-ui",
"//java/java-frontback-psi-impl:frontback-psi-impl",
]
)
jvm_library(
name = "java-byteCodeViewer_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["test/**/*.kt", "test/**/*.java", "test/**/*.form"], allow_empty = True),
kotlinc_opts = ":custom_java-byteCodeViewer",
associates = [":java-byteCodeViewer"],
deps = [
"//libraries/asm",
"//platform/analysis-api:analysis",
"//platform/editor-ui-api:editor-ui",
"//platform/projectModel-api:projectModel",
"//platform/util",
"//platform/core-api:core",
"//platform/platform-api:ide",
"//platform/platform-impl:ide-impl",
"//platform/lang-api:lang",
"//platform/lang-impl",
"//java/java-psi-api:psi",
"//java/execution/openapi:java-execution",
"//java/openapi:java",
"//java/compiler/impl",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//platform/core-ui",
"//java/java-frontback-psi-impl:frontback-psi-impl",
]
)
### auto-generated section `build intellij.java.byteCodeViewer` end
### auto-generated section `test intellij.java.byteCodeViewer` start
load("@community//build:tests-options.bzl", "jps_test")
jps_test(
name = "java-byteCodeViewer_test",
runtime_deps = [":java-byteCodeViewer_test_lib"]
)
### auto-generated section `test intellij.java.byteCodeViewer` end