Files
openide/python/python-syntax/BUILD.bazel
T
Vladimir Krivosheevandintellij-monorepo-bot 17916c90f8 libraries -> lib, resources, opt-in, test deps
GitOrigin-RevId: db66ee95dcb0f0553b40c9cc56cd6afed8634cdd
2024-11-27 13:53:42 +00:00

33 lines
1.0 KiB
Python

### auto-generated section `build intellij.python.syntax` start
load("@rules_jvm//:jvm.bzl", "jvm_resources")
load("@rules_jvm//:rules.bzl", "jvm_library")
jvm_resources(
name = "syntax_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "syntax",
module_name = "intellij.python.syntax",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True, exclude = ["**/module-info.java"]),
javac_opts = "@rules_jvm//:j17",
kotlinc_opts = "@rules_jvm//:k17",
deps = [
"//platform/analysis-api:analysis",
"//platform/core-api:core",
"//python/python-parser:parser",
"//platform/editor-ui-api:editor",
"//python/python-syntax-core:syntax-core",
"//python/python-ast:ast",
"//platform/lang-impl",
"//platform/editor-ui-ex:editor-ex",
"//platform/core-ui",
"//platform/code-style-impl:codeStyle-impl",
"@lib//:fastutil-min",
],
runtime_deps = [":syntax_resources"]
)
### auto-generated section `build intellij.python.syntax` end