commands: { copy_before: { from: "external/executorch/codegen/templates/Functions.h" to: "tools/src/external/executorch/codegen/templates/Functions.h" } copy_before: { from: "external/executorch/codegen/templates/NativeFunctions.h" to: "tools/src/external/executorch/codegen/templates/NativeFunctions.h" } copy_before: { from: "external/executorch/codegen/templates/RegisterCodegenUnboxedKernels.cpp" to: "tools/src/external/executorch/codegen/templates/RegisterCodegenUnboxedKernels.cpp" } copy_before: { from: "external/executorch/codegen/templates/RegisterDispatchDefinitions.ini" to: "tools/src/external/executorch/codegen/templates/RegisterDispatchDefinitions.ini" } copy_before: { from: "external/executorch/codegen/templates/RegisterDispatchKeyCustomOps.cpp" to: "tools/src/external/executorch/codegen/templates/RegisterDispatchKeyCustomOps.cpp" } copy_before: { from: "external/executorch/codegen/templates/RegisterKernels.cpp" to: "tools/src/external/executorch/codegen/templates/RegisterKernels.cpp" } copy_before: { from: "external/executorch/codegen/templates/RegisterKernels.h" to: "tools/src/external/executorch/codegen/templates/RegisterKernels.h" } copy_before: { from: "external/executorch/codegen/templates/RegisterSchema.cpp" to: "tools/src/external/executorch/codegen/templates/RegisterSchema.cpp" } copy_before: { from: "external/executorch/codegen/templates/aten_interned_strings.h" to: "tools/src/external/executorch/codegen/templates/aten_interned_strings.h" } copy_before: { from: "external/executorch/kernels/portable/functions.yaml" to: "tools/src/external/executorch/kernels/portable/functions.yaml" } copy_before: { from: "external/pytorch/aten/src/ATen/native/native_functions.yaml" to: "tools/src/external/pytorch/aten/src/ATen/native/native_functions.yaml" } copy_before: { from: "external/pytorch/aten/src/ATen/native/tags.yaml" to: "tools/src/external/pytorch/aten/src/ATen/native/tags.yaml" } copy_before: { from: "out/soong/.intermediates/external/pytorch/torchgen/torchgen_executorch/linux_glibc_x86_64_PY3/torchgen_executorch" to: "tools/out/bin/torchgen_executorch" executable: false } copy_before: { from: "out/soong/.intermediates/external/sqlite/dist/libsqlite/linux_glibc_x86_64_shared/libsqlite.so" to: "tools/out/lib64/libsqlite.so" executable: false } copy_before: { from: "out/soong/.intermediates/external/icu/icu4c/source/i18n/libicui18n/linux_glibc_x86_64_shared/libicui18n-host.so" to: "tools/out/lib64/libicui18n-host.so" executable: false } copy_before: { from: "out/soong/.intermediates/external/icu/icu4c/source/common/libicuuc/linux_glibc_x86_64_shared/libicuuc-host.so" to: "tools/out/lib64/libicuuc-host.so" executable: false } copy_before: { from: "out/soong/.intermediates/external/icu/icu4c/source/stubdata/icu-data_host_i18n_apex/linux_glibc_common/icudt75l.dat" to: "tools/out/com.android.i18n/etc/icu/icudt75l.dat" executable: false } copy_before: { from: "out/soong/.intermediates/prebuilts/clang/host/linux-x86/libc++/linux_glibc_x86_64_shared/libc++.so" to: "tools/out/lib64/libc++.so" executable: false } chdir: true command: "CC_ARCH=x86_64 CC_NATIVE_BRIDGE= CC_MULTILIB=lib64 CC_OS=linux_glibc && mkdir templates; cp __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterCodegenUnboxedKernels.cpp __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterDispatchKeyCustomOps.cpp __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterKernels.cpp __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterSchema.cpp __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/Functions.h __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/NativeFunctions.h __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterKernels.h __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/aten_interned_strings.h __SBOX_SANDBOX_DIR__/tools/src/external/executorch/codegen/templates/RegisterDispatchDefinitions.ini templates;__SBOX_SANDBOX_DIR__/tools/out/bin/torchgen_executorch --source-path=. --tags-path=__SBOX_SANDBOX_DIR__/tools/src/external/pytorch/aten/src/ATen/native/tags.yaml --aten_yaml_path=__SBOX_SANDBOX_DIR__/tools/src/external/pytorch/aten/src/ATen/native/native_functions.yaml --functions_yaml_path=__SBOX_SANDBOX_DIR__/tools/src/external/executorch/kernels/portable/functions.yaml --install_dir=__SBOX_SANDBOX_DIR__/out/" copy_after: { from: "out/RegisterCodegenUnboxedKernels_0.cpp" to: "out/soong/.intermediates/external/executorch/executorch_portable_ops_gen_cpp/linux_glibc_x86_64/gen/RegisterCodegenUnboxedKernels_0.cpp" } input_hash: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" 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 }