commands: { copy_before: { from: "out/host/linux-x86/bin/line_endings" to: "tools/out/bin/line_endings" } copy_before: { from: "out/host/linux-x86/bin/soong_zip" to: "tools/out/bin/soong_zip" } copy_before: { from: "out/soong/.intermediates/development/build/platform-tools/windows_common/preparer.sh" to: "tools/src/out/soong/.intermediates/development/build/platform-tools/windows_common/preparer.sh" } copy_before: { from: "prebuilts/clang/host/linux-x86/clang-r536225/bin/llvm-objcopy" to: "tools/src/prebuilts/clang/host/linux-x86/clang-r536225/bin/llvm-objcopy" } copy_before: { from: "prebuilts/clang/host/linux-x86/clang-r536225/bin/llvm-strip" to: "tools/src/prebuilts/clang/host/linux-x86/clang-r536225/bin/llvm-strip" } copy_before: { from: "prebuilts/clang/host/linux-x86/clang-r536225/lib/x86_64-unknown-linux-gnu/libc++.so" to: "tools/src/prebuilts/clang/host/linux-x86/clang-r536225/lib/x86_64-unknown-linux-gnu/libc++.so" } copy_before: { from: "out/soong/.intermediates/dalvik/tools/hprof-conv/hprof-conv/windows_x86/hprof-conv.exe" to: "out/soong/.intermediates/dalvik/tools/hprof-conv/hprof-conv/windows_x86/hprof-conv.exe" } copy_before: { from: "out/soong/.intermediates/development/build/platform-tools/windows_common/NOTICES.txt" to: "out/soong/.intermediates/development/build/platform-tools/windows_common/NOTICES.txt" } copy_before: { from: "out/soong/.intermediates/development/host/windows/AdbWinApi/windows_x86_shared/AdbWinApi.dll" to: "out/soong/.intermediates/development/host/windows/AdbWinApi/windows_x86_shared/AdbWinApi.dll" } copy_before: { from: "out/soong/.intermediates/development/host/windows/AdbWinUsbApi/windows_x86_shared/AdbWinUsbApi.dll" to: "out/soong/.intermediates/development/host/windows/AdbWinUsbApi/windows_x86_shared/AdbWinUsbApi.dll" } copy_before: { from: "out/soong/.intermediates/development/sdk/platform_tools_properties/gen/source.properties" to: "out/soong/.intermediates/development/sdk/platform_tools_properties/gen/source.properties" } copy_before: { from: "out/soong/.intermediates/development/tools/etc1tool/etc1tool/windows_x86/etc1tool.exe" to: "out/soong/.intermediates/development/tools/etc1tool/etc1tool/windows_x86/etc1tool.exe" } copy_before: { from: "out/soong/.intermediates/external/e2fsprogs/misc/mke2fs/windows_x86/mke2fs.exe" to: "out/soong/.intermediates/external/e2fsprogs/misc/mke2fs/windows_x86/mke2fs.exe" } copy_before: { from: "out/soong/.intermediates/external/f2fs-tools/make_f2fs/windows_x86/make_f2fs.exe" to: "out/soong/.intermediates/external/f2fs-tools/make_f2fs/windows_x86/make_f2fs.exe" } copy_before: { from: "out/soong/.intermediates/external/f2fs-tools/make_f2fs_casefold/windows_x86/make_f2fs_casefold.exe" to: "out/soong/.intermediates/external/f2fs-tools/make_f2fs_casefold/windows_x86/make_f2fs_casefold.exe" } copy_before: { from: "out/soong/.intermediates/external/sqlite/dist/sqlite3/windows_x86/sqlite3.exe" to: "out/soong/.intermediates/external/sqlite/dist/sqlite3/windows_x86/sqlite3.exe" } copy_before: { from: "out/soong/.intermediates/packages/modules/adb/adb/windows_x86/adb.exe" to: "out/soong/.intermediates/packages/modules/adb/adb/windows_x86/adb.exe" } copy_before: { from: "out/soong/.intermediates/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/libwinpthread-1/windows_x86_shared/libwinpthread-1.dll" to: "out/soong/.intermediates/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/libwinpthread-1/windows_x86_shared/libwinpthread-1.dll" } copy_before: { from: "out/soong/.intermediates/system/core/fastboot/fastboot/windows_x86/fastboot.exe" to: "out/soong/.intermediates/system/core/fastboot/fastboot/windows_x86/fastboot.exe" } copy_before: { from: "system/extras/ext4_utils/mke2fs.conf" to: "system/extras/ext4_utils/mke2fs.conf" } chdir: true command: "__SBOX_SANDBOX_DIR__/tools/src/out/soong/.intermediates/development/build/platform-tools/windows_common/preparer.sh && cp __SBOX_SANDBOX_DIR__/out/soong/.intermediates/development/build/platform-tools/windows_common/NOTICES.txt out/soong/.intermediates/development/build/platform-tools/windows_common/zip/NOTICE.txt && cp system/extras/ext4_utils/mke2fs.conf out/soong/.intermediates/development/build/platform-tools/windows_common/zip/mke2fs.conf && cp __SBOX_SANDBOX_DIR__/out/soong/.intermediates/development/sdk/platform_tools_properties/gen/source.properties out/soong/.intermediates/development/build/platform-tools/windows_common/zip/source.properties && __SBOX_SANDBOX_DIR__/tools/src/prebuilts/clang/host/linux-x86/clang-r536225/bin/llvm-strip out/soong/.intermediates/development/build/platform-tools/windows_common/zip/*.exe && find out/soong/.intermediates/development/build/platform-tools/windows_common/zip -name '*.aidl' -o -name '*.css' -o -name '*.html' -o -name '*.java' -o -name '*.js' -o -name '*.prop' -o -name '*.template' -o -name '*.txt' -o -name '*.windows' -o -name '*.xml' -print0 | xargs -0 -n 500 __SBOX_SANDBOX_DIR__/tools/out/bin/line_endings unix && find out/soong/.intermediates/development/build/platform-tools/windows_common/zip '(' -name '.*' -o -name '*~' -o -name 'Makefile' -o -name 'Android.mk' -o -name '.*.swp' -o -name '.DS_Store' -o -name '*.pyc' -o -name 'OWNERS' -o -name 'MODULE_LICENSE_*' -o -name '*.ezt' -o -name 'Android.bp' ')' -print0 | xargs -0 -r rm -rf && find out/soong/.intermediates/development/build/platform-tools/windows_common/zip -name '_*' ! -name '__*' -print0 | xargs -0 -r rm -rf && find out/soong/.intermediates/development/build/platform-tools/windows_common/zip -maxdepth 2 -name '*.bat' -type f -print0 | xargs -0 -r unix2dos && __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -o __SBOX_SANDBOX_DIR__/out/output.zip -P platform-tools -C out/soong/.intermediates/development/build/platform-tools/windows_common/zip -D out/soong/.intermediates/development/build/platform-tools/windows_common/zip && rm -rf out/soong/.intermediates/development/build/platform-tools/windows_common/zip" copy_after: { from: "out/output.zip" to: "out/soong/.intermediates/development/build/platform-tools/windows_common/zip/output.zip" } input_hash: "b7f8711a62cc56bab0204f1e2ac660fe08cae62bd5ac4d0b4539bebb706e1acc" env: { name: "PATH" inherit: true } env: { name: "JAVA_HOME" inherit: true } env: { name: "TMPDIR" inherit: true } env: { name: "RBE_log_dir" inherit: true } env: { name: "RBE_platform" inherit: true } env: { name: "RBE_server_address" inherit: true } env: { name: "RBE_exec_root" inherit: true } env: { name: "OUT_DIR" value: "out" } dont_inherit_env: true }