summaryrefslogtreecommitdiffstats
path: root/build/plugins/bundle.py
diff options
context:
space:
mode:
authoralexv-smirnov <[email protected]>2023-03-28 22:25:04 +0300
committeralexv-smirnov <[email protected]>2023-03-28 22:25:04 +0300
commitb8a17f9b1c166d2e9a26b99348a4c29d972caf55 (patch)
tree1a2d881f1a9452b9c6103dbf69d73da7624e98e5 /build/plugins/bundle.py
parent25659221f18577ea38430a8ec3349836f5626b6a (diff)
Revert ymake build from ydb oss export
Diffstat (limited to 'build/plugins/bundle.py')
-rw-r--r--build/plugins/bundle.py22
1 files changed, 0 insertions, 22 deletions
diff --git a/build/plugins/bundle.py b/build/plugins/bundle.py
deleted file mode 100644
index 0bec8254eec..00000000000
--- a/build/plugins/bundle.py
+++ /dev/null
@@ -1,22 +0,0 @@
-import os
-
-
-def onbundle(unit, *args):
- """
- @usage BUNDLE(<Dir [NAME Name]>...)
-
- Brings build artefact from module Dir under optional Name to the current module (e.g. UNION)
- If NAME is not specified, the name of the Dir's build artefact will be preserved
- It makes little sense to specify BUNDLE on non-final targets and so this may stop working without prior notice.
- Bundle on multimodule will select final target among multimodule variants and will fail if there are none or more than one.
- """
- i = 0
- while i < len(args):
- if i + 2 < len(args) and args[i + 1] == "NAME":
- target, name = args[i], args[i + 2]
- i += 3
- else:
- target, name = args[i], os.path.basename(args[i])
- i += 1
-
- unit.on_bundle_target([target, name])