mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
79 lines
2.5 KiB
Python
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 |