Files
Ilya.Kazakevich 2e14347844 Python: extract python-specific extensions from exec service to simplify API and make it extendable for intepreters.
Use `ExecService` `api.kt` to exec any binary and extensions from `execService.python/api.kt` for python-specific things (i.e helpers)

GitOrigin-RevId: bb217798a9d1ee886c4b12220ec1f66a5ef08336
2025-06-07 22:05:56 +00:00

64 lines
2.0 KiB
Python

### auto-generated section `build intellij.python.community.execService` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources", "jvm_test")
jvm_resources(
name = "community-execService_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "community-execService",
module_name = "intellij.python.community.execService",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlin-stdlib",
"@lib//:jetbrains-annotations",
"//python/openapi:community",
"//platform/eel-provider",
"//platform/util",
"@lib//:kotlinx-coroutines-core",
"//platform/eel-impl",
"//platform/core-api:core",
"//platform/eel",
"//platform/util/progress",
],
runtime_deps = [":community-execService_resources"]
)
jvm_library(
name = "community-execService_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["tests/**/*.kt", "tests/**/*.java"], allow_empty = True),
associates = [":community-execService"],
deps = [
"@lib//:kotlin-stdlib",
"@lib//:jetbrains-annotations",
"//python/openapi:community",
"//python/openapi:community_test_lib",
"//platform/eel-provider",
"//platform/util",
"@lib//:kotlinx-coroutines-core",
"//platform/eel-impl",
"//platform/testFramework/junit5",
"//platform/testFramework/junit5:junit5_test_lib",
"@lib//:junit5",
"@lib//:hamcrest",
"@lib//:junit5Params",
"//platform/core-api:core",
"//platform/eel",
"//platform/testFramework/junit5/eel",
"//platform/testFramework/junit5/eel:eel_test_lib",
"@lib//:junit5Pioneer",
"//platform/testFramework/common",
"//platform/util/progress",
],
runtime_deps = [":community-execService_resources"]
)
jvm_test(
name = "community-execService_test",
runtime_deps = [":community-execService_test_lib"]
)
### auto-generated section `build intellij.python.community.execService` end