Files
openide/python/python-exec-service/execService.python/BUILD.bazel
Ilia Kirianovskii dc268560b6 [bazel] Update build files (IJI-2835)
GitOrigin-RevId: 275260ab73f59d3c08f0b4cb9f4c89b74054094a
2025-08-20 08:49:22 +00:00

70 lines
2.5 KiB
Python

### auto-generated section `build intellij.python.community.execService.python` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "execService.python_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "execService.python",
module_name = "intellij.python.community.execService.python",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"//python/python-exec-service:community-execService",
"//python/openapi:community",
"@lib//:jetbrains-annotations",
"@lib//:kotlinx-coroutines-core",
"//platform/eel",
"//platform/eel-provider",
"//python/impl.helperLocator:community-helpersLocator",
"//platform/util",
"//platform/core-api:core",
"//python/python-sdk:sdk",
],
runtime_deps = [":execService.python_resources"]
)
jvm_library(
name = "execService.python_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True),
associates = [":execService.python"],
deps = [
"@lib//:kotlin-stdlib",
"//python/python-exec-service:community-execService",
"//python/python-exec-service:community-execService_test_lib",
"//python/openapi:community",
"//python/openapi:community_test_lib",
"@lib//:jetbrains-annotations",
"@lib//:kotlinx-coroutines-core",
"//platform/eel",
"//platform/eel-provider",
"//python/impl.helperLocator:community-helpersLocator",
"@lib//:junit5",
"//platform/testFramework/junit5",
"//platform/testFramework/junit5:junit5_test_lib",
"//python/junit5Tests-framework:community-junit5Tests-framework_test_lib",
"//platform/testFramework/junit5/eel",
"//platform/testFramework/junit5/eel:eel_test_lib",
"@lib//:junit5Params",
"//platform/util",
"//platform/core-api:core",
"//python/python-sdk:sdk",
"//python/python-sdk:sdk_test_lib",
],
runtime_deps = [":execService.python_resources"]
)
### auto-generated section `build intellij.python.community.execService.python` end
### auto-generated section `test intellij.python.community.execService.python` start
load("@community//build:tests-options.bzl", "jps_test")
jps_test(
name = "execService.python_test",
runtime_deps = [":execService.python_test_lib"]
)
### auto-generated section `test intellij.python.community.execService.python` end