mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
[bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
This commit is contained in:
committed by
intellij-monorepo-bot
parent
c1a45b2a46
commit
f43aa95086
@@ -1,15 +1,15 @@
|
||||
### auto-generated section `build intellij.python.community.services.internal.impl` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "python-community-services-internal-impl_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
srcs = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "python-community-services-internal-impl_test_resources",
|
||||
files = glob(["testResources/**/*"]),
|
||||
srcs = glob(["testResources/**/*"]),
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@ jvm_library(
|
||||
module_name = "intellij.python.community.services.internal.impl",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
||||
resources = [":python-community-services-internal-impl_resources"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
"//python/python-parser:parser",
|
||||
@@ -28,14 +29,14 @@ jvm_library(
|
||||
"@lib//:kotlinx-coroutines-core",
|
||||
"//python/python-sdk:sdk",
|
||||
"//python/python-exec-service/execService.python",
|
||||
],
|
||||
runtime_deps = [":python-community-services-internal-impl_resources"]
|
||||
]
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "python-community-services-internal-impl_test_lib",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True),
|
||||
resources = [":python-community-services-internal-impl_test_resources"],
|
||||
associates = [":python-community-services-internal-impl"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
@@ -56,8 +57,7 @@ jvm_library(
|
||||
"//python/junit5Tests-framework:community-junit5Tests-framework_test_lib",
|
||||
"//python/python-exec-service/execService.python",
|
||||
"//python/python-exec-service/execService.python:execService.python_test_lib",
|
||||
],
|
||||
runtime_deps = [":python-community-services-internal-impl_test_resources"]
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.python.community.services.internal.impl` end
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
### auto-generated section `build intellij.python.community.services.shared` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "shared_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
srcs = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "shared_test_resources",
|
||||
files = glob(["testResources/**/*"]),
|
||||
srcs = glob(["testResources/**/*"]),
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@ jvm_library(
|
||||
module_name = "intellij.python.community.services.shared",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
||||
resources = [":shared_resources"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
"//python/openapi:community",
|
||||
@@ -26,14 +27,14 @@ jvm_library(
|
||||
"//python/python-exec-service/execService.python",
|
||||
"//platform/diagnostic",
|
||||
"//platform/util",
|
||||
],
|
||||
runtime_deps = [":shared_resources"]
|
||||
]
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "shared_test_lib",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True),
|
||||
resources = [":shared_test_resources"],
|
||||
associates = [":shared"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
@@ -50,8 +51,7 @@ jvm_library(
|
||||
"//python/python-exec-service/execService.python:execService.python_test_lib",
|
||||
"//platform/diagnostic",
|
||||
"//platform/util",
|
||||
],
|
||||
runtime_deps = [":shared_test_resources"]
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.python.community.services.shared` end
|
||||
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
### auto-generated section `build intellij.python.community.services.systemPython` start
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
|
||||
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "system-python_resources",
|
||||
files = glob(["resources/**/*"]),
|
||||
srcs = glob(["resources/**/*"]),
|
||||
strip_prefix = "resources"
|
||||
)
|
||||
|
||||
jvm_resources(
|
||||
resourcegroup(
|
||||
name = "system-python_test_resources",
|
||||
files = glob(["testResources/**/*"]),
|
||||
srcs = glob(["testResources/**/*"]),
|
||||
strip_prefix = "testResources"
|
||||
)
|
||||
|
||||
@@ -18,6 +18,7 @@ jvm_library(
|
||||
module_name = "intellij.python.community.services.systemPython",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["gen/**/*.kt", "gen/**/*.java", "src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
|
||||
resources = [":system-python_resources"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
"//python/python-sdk:sdk",
|
||||
@@ -35,14 +36,14 @@ jvm_library(
|
||||
"//python/python-venv:community-impl-venv",
|
||||
"//python/python-psi-impl:psi-impl",
|
||||
],
|
||||
exports = ["//python/services/shared"],
|
||||
runtime_deps = [":system-python_resources"]
|
||||
exports = ["//python/services/shared"]
|
||||
)
|
||||
|
||||
jvm_library(
|
||||
name = "system-python_test_lib",
|
||||
visibility = ["//visibility:public"],
|
||||
srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True),
|
||||
resources = [":system-python_test_resources"],
|
||||
associates = [":system-python"],
|
||||
deps = [
|
||||
"@lib//:kotlin-stdlib",
|
||||
@@ -80,8 +81,7 @@ jvm_library(
|
||||
exports = [
|
||||
"//python/services/shared",
|
||||
"//python/services/shared:shared_test_lib",
|
||||
],
|
||||
runtime_deps = [":system-python_test_resources"]
|
||||
]
|
||||
)
|
||||
### auto-generated section `build intellij.python.community.services.systemPython` end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user