update bazel files

GitOrigin-RevId: eef213c0691462fde9127dd56184f7f85a892a65
This commit is contained in:
Vladimir Krivosheev
2025-05-14 21:10:06 +02:00
committed by intellij-monorepo-bot
parent 821c2050bb
commit c4be4cd1f9
5 changed files with 98 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
### auto-generated section `build intellij.java.execution.impl.backend` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "backend_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "backend",
module_name = "intellij.java.execution.impl.backend",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlinx-serialization-core",
"@lib//:kotlinx-serialization-json",
"//java/execution/shared",
"//java/execution/impl",
"//platform/editor/shared:editor",
"//platform/editor-ui-api:editor-ui",
"//platform/kernel/backend",
"//platform/platform-api:ide",
"//platform/platform-impl/rpc",
"//platform/project/shared:project",
"//platform/lang-impl",
"//platform/smRunner",
"//platform/core-ui",
],
runtime_deps = [
":backend_resources",
"//platform/backend",
]
)
### auto-generated section `build intellij.java.execution.impl.backend` end

View File

@@ -0,0 +1,30 @@
### auto-generated section `build intellij.java.execution.impl.frontend` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "frontend_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "frontend",
module_name = "intellij.java.execution.impl.frontend",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlinx-serialization-core",
"@lib//:kotlinx-serialization-json",
"//java/execution/shared",
"//platform/core-ui",
"//platform/editor-ui-api:editor-ui",
"//platform/platform-impl/rpc",
"//platform/platform-impl:ide-impl",
"//platform/kernel/shared:kernel",
"//platform/project/shared:project",
"//platform/testRunner",
"//java/java-frontback-impl:frontback-impl",
],
runtime_deps = [":frontend_resources"]
)
### auto-generated section `build intellij.java.execution.impl.frontend` end

View File

@@ -0,0 +1,29 @@
### auto-generated section `build intellij.java.execution.impl.shared` start
load("@rules_jvm//:jvm.bzl", "jvm_library", "jvm_resources")
jvm_resources(
name = "shared_resources",
files = glob(["resources/**/*"]),
strip_prefix = "resources"
)
jvm_library(
name = "shared",
module_name = "intellij.java.execution.impl.shared",
visibility = ["//visibility:public"],
srcs = glob(["src/**/*.kt", "src/**/*.java"], allow_empty = True),
deps = [
"@lib//:kotlinx-serialization-core",
"@lib//:kotlinx-serialization-json",
"//platform/core-api:core",
"//platform/core-ui",
"//platform/editor/shared:editor",
"//platform/platform-api:ide",
"//platform/platform-impl/rpc",
"//platform/platform-impl:ide-impl",
"//platform/kernel/shared:kernel",
"//platform/project/shared:project",
],
runtime_deps = [":shared_resources"]
)
### auto-generated section `build intellij.java.execution.impl.shared` end

View File

@@ -21,6 +21,9 @@ java_library(
"//xml/dom-impl",
"//java/debugger/memory-agent:java-debugger-memory-agent",
"//java/execution/impl",
"//java/execution/shared",
"//java/execution/backend",
"//java/execution/frontend",
"//platform/external-system-impl:externalSystem-impl",
"//java/idea-ui:ui",
"//java/manifest",

View File

@@ -53,6 +53,7 @@ jvm_library(
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark",
"//tools/intellij.tools.ide.metrics.benchmark:ide-metrics-benchmark_test_lib",
"//images/backend.svg",
"//platform/webSymbols:webSymbols-testFramework",
],
runtime_deps = [
":tests_test_resources",