Files
openide/java/structuralsearch-java/BUILD.bazel
Vladimir Krivosheev 0bc1cf1557 update bazel files
GitOrigin-RevId: 7320d3eff3aba093692ce66839c720ece6d7c4db
2024-12-30 11:28:24 +00:00

47 lines
1.4 KiB
Python

### auto-generated section `build intellij.java.structuralSearch` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "structuralSearch_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "structuralSearch",
module_name = "intellij.java.structuralSearch",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"//platform/structuralsearch:structuralSearch",
"//platform/lang-impl",
"//java/openapi:java",
"//java/java-impl:impl",
"//platform/duplicates-analysis",
],
runtime_deps = [":structuralSearch_resources"]
)
jvm_library(
name = "structuralSearch_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["testSrc/**/*.kt", "testSrc/**/*.java"], allow_empty = True),
associates = [":structuralSearch"],
deps = [
"//platform/structuralsearch:structuralSearch",
"//platform/lang-impl",
"//platform/testFramework",
"//platform/testFramework:testFramework_test_lib",
"//java/openapi:java",
"//java/java-impl:impl",
"//platform/duplicates-analysis",
"//java/testFramework",
],
runtime_deps = [":structuralSearch_resources"]
)
jvm_test(
name = "structuralSearch_test",
runtime_deps = [":structuralSearch_test_lib"]
)
### auto-generated section `build intellij.java.structuralSearch` end