[python] Eliminate nested resource roots in helpers

Merge-request: IJ-MR-174869
Merged-by: Egor Eliseev <Egor.Eliseev@jetbrains.com>

GitOrigin-RevId: 0bf11bb8fe739c9a72615dc5f3de794235d0e589
This commit is contained in:
Egor Eliseev
2025-09-16 08:51:23 +00:00
committed by intellij-monorepo-bot
parent 0210559627
commit f88aaf937f
436 changed files with 14 additions and 33 deletions

View File

@@ -555,38 +555,29 @@ jvm_resources(
strip_prefix = "helpers"
)
jvm_resources(
name = "python-helpers_resources_1",
files = glob(["helpers/third_party/thriftpy/**/*"]),
strip_prefix = "helpers/third_party/thriftpy"
)
jvm_library(
name = "python-helpers",
visibility = ["//visibility:public"],
srcs = glob([], allow_empty = True),
runtime_deps = [
":python-helpers_resources",
":python-helpers_resources_1",
]
runtime_deps = [":python-helpers_resources"]
)
### auto-generated section `build intellij.python.helpers` end
### auto-generated section `build intellij.python.helpers.tests` start
jvm_resources(
name = "python-helpers-tests_test_resources",
files = glob(["helpers/testResources/**/*"]),
strip_prefix = "helpers/testResources"
files = glob(["helpersTestResources/**/*"]),
strip_prefix = "helpersTestResources"
)
jvm_library(
name = "python-helpers-tests_test_lib",
module_name = "intellij.python.helpers.tests",
visibility = ["//visibility:public"],
srcs = glob(["helpers/tests/**/*.kt", "helpers/tests/**/*.java", "helpers/tests/**/*.form"], allow_empty = True, exclude = [
"helpers/tests/.gradle/**/*",
"helpers/tests/.tox/**/*",
"helpers/tests/build/**/*",
srcs = glob(["helpersTests/**/*.kt", "helpersTests/**/*.java", "helpersTests/**/*.form"], allow_empty = True, exclude = [
"helpersTests/.gradle/**/*",
"helpersTests/.tox/**/*",
"helpersTests/build/**/*",
]),
deps = [
"//python:python-helpers",

View File

@@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

Some files were not shown because too many files have changed in this diff Show More