diff options
author | alexv-smirnov <[email protected]> | 2023-03-28 22:25:04 +0300 |
---|---|---|
committer | alexv-smirnov <[email protected]> | 2023-03-28 22:25:04 +0300 |
commit | b8a17f9b1c166d2e9a26b99348a4c29d972caf55 (patch) | |
tree | 1a2d881f1a9452b9c6103dbf69d73da7624e98e5 /build/plugins/sandbox_registry.py | |
parent | 25659221f18577ea38430a8ec3349836f5626b6a (diff) |
Revert ymake build from ydb oss export
Diffstat (limited to 'build/plugins/sandbox_registry.py')
-rw-r--r-- | build/plugins/sandbox_registry.py | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/build/plugins/sandbox_registry.py b/build/plugins/sandbox_registry.py deleted file mode 100644 index dc1be399b32..00000000000 --- a/build/plugins/sandbox_registry.py +++ /dev/null @@ -1,21 +0,0 @@ -import os - -import ymake - - -def onregister_sandbox_import(unit, *args): - args = iter(args) - for path in args: - path = os.path.normpath(path) - source = unit.resolve_arc_path(path) - abs_source = unit.resolve(source) - if not os.path.exists(abs_source): - ymake.report_configure_error('REGISTER_SANDBOX_IMPORT: File or directory {} does not exists'.format(path)) - splited_path = path.split(os.sep) - l, r = 0, len(splited_path) - if splited_path[-1] == "__init__.py": - r -= 1 - if not splited_path[0]: - l += 1 - path = ".".join(splited_path[l:r]) - unit.onresource(["-", "{}.{}={}".format("SANDBOX_TASK_REGISTRY", path, path)]) |