Base: codex-main originale (prima del fork aKode)

This commit is contained in:
Andrea
2026-11-09 10:37:42 +01:00
commit 7874033c81
10166 changed files with 2728937 additions and 0 deletions

19
third_party/voice/bazel_copy.py vendored Normal file
View File

@@ -0,0 +1,19 @@
"""Copy declared library payloads while keeping a real native-search directory."""
from pathlib import Path
import shutil
import sys
def copy_payloads(locator, pairs):
if len(pairs) % 2:
raise ValueError("library copies require source/destination pairs")
Path(locator).mkdir(parents=True, exist_ok=True)
for source, destination in zip(pairs[::2], pairs[1::2], strict=True):
output = Path(destination)
output.parent.mkdir(parents=True, exist_ok=True)
shutil.copyfile(source, output)
if __name__ == "__main__":
copy_payloads(sys.argv[1], sys.argv[2:])