Files
openide/python/python-exec-service/BUILD.bazel
Ilia Kirianovskii f43aa95086 [bazel] Update build files (IJI-3062)
GitOrigin-RevId: 98a67396a48bddc3d084cc93c50ae2f2017bfe8c
2025-09-29 00:11:15 +00:00

90 lines
2.9 KiB
Python

### auto-generated section `build intellij.python.community.execService` start
load("//build:compiler-options.bzl", "create_kotlinc_options")
load("@rules_jvm//:jvm.bzl", "jvm_library", "resourcegroup")
create_kotlinc_options(
name = "custom_community-execService",
opt_in = ["kotlin.time.ExperimentalTime"]
)
resourcegroup(
name = "community-execService_resources",
srcs = glob(["resources/**/*"]),
strip_prefix = "resources"
)
resourcegroup(
name = "community-execService_test_resources",
srcs = glob(["testResources/**/*"]),
strip_prefix = "testResources"
)
jvm_library(
name = "community-execService",
module_name = "intellij.python.community.execService",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java", "src/**/*.form"], allow_empty = True),
resources = [":community-execService_resources"],
kotlinc_opts = ":custom_community-execService",
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",
"//platform/execution",
"//platform/projectModel-api:projectModel",
"//libraries/kotlinx/serialization/json",
"//libraries/kotlinx/serialization/core",
]
)
jvm_library(
name = "community-execService_test_lib",
visibility = ["//visibility:public"],
srcs = glob(["tests/**/*.kt", "tests/**/*.java", "tests/**/*.form"], allow_empty = True),
resources = [":community-execService_test_resources"],
kotlinc_opts = ":custom_community-execService",
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",
"//platform/execution",
"//platform/projectModel-api:projectModel",
"//libraries/kotlinx/serialization/json",
"//libraries/kotlinx/serialization/core",
]
)
### auto-generated section `build intellij.python.community.execService` end
### auto-generated section `test intellij.python.community.execService` start
load("@community//build:tests-options.bzl", "jps_test")
jps_test(
name = "community-execService_test",
runtime_deps = [":community-execService_test_lib"]
)
### auto-generated section `test intellij.python.community.execService` end