commands: { copy_before: { from: "out/soong/.intermediates/system/tools/hidl/hidl-gen/linux_glibc_x86_64/hidl-gen" to: "tools/out/bin/hidl-gen" 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 } copy_before: { from: "out/soong/.intermediates/system/libhidl/transport/android.hidl/gen/android.hidl.txt" to: "out/soong/.intermediates/system/libhidl/transport/android.hidl/gen/android.hidl.txt" } copy_before: { from: "system/libhidl/transport/base/1.0/IBase.hal" to: "system/libhidl/transport/base/1.0/IBase.hal" } copy_before: { from: "system/libhidl/transport/base/1.0/types.hal" to: "system/libhidl/transport/base/1.0/types.hal" } copy_before: { from: "system/libhidl/transport/current.txt" to: "system/libhidl/transport/current.txt" } copy_before: { from: "system/tools/hidl/test/hash_test/correct_hash/current.txt" to: "system/tools/hidl/test/hash_test/correct_hash/current.txt" } copy_before: { from: "system/tools/hidl/test/hash_test/correct_hash/hash/1.0/IHash.hal" to: "system/tools/hidl/test/hash_test/correct_hash/hash/1.0/IHash.hal" } copy_before: { from: "system/tools/hidl/test/hash_test/incorrect_hash/current.txt" to: "system/tools/hidl/test/hash_test/incorrect_hash/current.txt" } copy_before: { from: "system/tools/hidl/test/hash_test/incorrect_hash/hash/1.0/IHash.hal" to: "system/tools/hidl/test/hash_test/incorrect_hash/hash/1.0/IHash.hal" } copy_before: { from: "system/tools/hidl/test/hash_test/missing_hash/hash/1.0/IUnhashed.hal" to: "system/tools/hidl/test/hash_test/missing_hash/hash/1.0/IUnhashed.hal" } chdir: true command: "set +o pipefail; __SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r android.hidl:system/libhidl/transport -r test.hash:system/tools/hidl/test/hash_test/correct_hash test.hash.hash@1.0 && !(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -F -L check -r android.hidl:system/libhidl/transport -r test.hash:system/tools/hidl/test/hash_test/missing_hash test.hash.hash@1.0 2> /dev/null) && !(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r android.hidl:system/libhidl/transport -r test.hash:system/tools/hidl/test/hash_test/incorrect_hash test.hash.hash@1.0 2> /dev/null) && __SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L hash -r android.hidl:system/libhidl/transport -r test.hash:system/tools/hidl/test/hash_test/incorrect_hash test.hash.hash@1.0 > /dev/null && echo 'int main(){return 0;}' > __SBOX_SANDBOX_DIR__/out/TODO_b_37575883.cpp" copy_after: { from: "out/TODO_b_37575883.cpp" to: "out/soong/.intermediates/system/tools/hidl/test/hash_test/hidl_hash_test_gen/gen/TODO_b_37575883.cpp" } input_hash: "a6db73835c7337b9c5658964b9f484af210ffb94fb02064d217a7cdd79fd343b" 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 }