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: "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/tools/hidl/test/version_test/bad1/version/1.0/IFoo.hal" to: "system/tools/hidl/test/version_test/bad1/version/1.0/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad1/version/2.2/IBar.hal" to: "system/tools/hidl/test/version_test/bad1/version/2.2/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad1/version/2.3/IBar.hal" to: "system/tools/hidl/test/version_test/bad1/version/2.3/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad2/version/2.2/IBar.hal" to: "system/tools/hidl/test/version_test/bad2/version/2.2/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad2/version/2.3/IBar.hal" to: "system/tools/hidl/test/version_test/bad2/version/2.3/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad2/version/2.4/IBar.hal" to: "system/tools/hidl/test/version_test/bad2/version/2.4/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.2/IBar.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.2/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.2/IFoo.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.2/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.3/IBar.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.3/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.4/IBar.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.4/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.4/IFoo.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.4/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.5/IBar.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.5/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad3/version/2.5/IFoo.hal" to: "system/tools/hidl/test/version_test/bad3/version/2.5/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad4/version/1.0/IFoo.hal" to: "system/tools/hidl/test/version_test/bad4/version/1.0/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad4/version/2.2/IBar.hal" to: "system/tools/hidl/test/version_test/bad4/version/2.2/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad4/version/2.2/IFoo.hal" to: "system/tools/hidl/test/version_test/bad4/version/2.2/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad4/version/2.3/IBaz.hal" to: "system/tools/hidl/test/version_test/bad4/version/2.3/IBaz.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad5/version/2.2/IFoo.hal" to: "system/tools/hidl/test/version_test/bad5/version/2.2/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/bad5/version/2.3/IBaz.hal" to: "system/tools/hidl/test/version_test/bad5/version/2.3/IBaz.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/1.0/IFoo.hal" to: "system/tools/hidl/test/version_test/good/version/1.0/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.2/IBar.hal" to: "system/tools/hidl/test/version_test/good/version/2.2/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.2/IFoo.hal" to: "system/tools/hidl/test/version_test/good/version/2.2/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.3/IBar.hal" to: "system/tools/hidl/test/version_test/good/version/2.3/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.3/IBaz.hal" to: "system/tools/hidl/test/version_test/good/version/2.3/IBaz.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.4/IBar.hal" to: "system/tools/hidl/test/version_test/good/version/2.4/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.4/IFoo.hal" to: "system/tools/hidl/test/version_test/good/version/2.4/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.5/IBar.hal" to: "system/tools/hidl/test/version_test/good/version/2.5/IBar.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/2.5/IFoo.hal" to: "system/tools/hidl/test/version_test/good/version/2.5/IFoo.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/3.0/types.hal" to: "system/tools/hidl/test/version_test/good/version/3.0/types.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/3.1/ICanExtendTypesOnly.hal" to: "system/tools/hidl/test/version_test/good/version/3.1/ICanExtendTypesOnly.hal" } copy_before: { from: "system/tools/hidl/test/version_test/good/version/3.1/types.hal" to: "system/tools/hidl/test/version_test/good/version/3.1/types.hal" } chdir: true command: "set +o pipefail; __SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/good test.version.version@1.0 test.version.version@2.2 test.version.version@2.3 test.version.version@2.4 test.version.version@2.5 test.version.version@3.0 test.version.version@3.1&&(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/bad1 test.version.version@2.3 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)&&(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/bad2 test.version.version@2.4 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)&&(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/bad3 test.version.version@2.5 2>&1 | grep \"Cannot enforce minor version\" > /dev/null)&&(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/bad4 test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /dev/null)&&(__SBOX_SANDBOX_DIR__/tools/out/bin/hidl-gen -L check -r test.version:system/tools/hidl/test/version_test/bad5 test.version.version@2.3 2>&1 | grep \"doesn't pass minor version\" > /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/version_test/hidl_hash_version_gen/gen/TODO_b_37575883.cpp" } input_hash: "8d1ff97dce47a566b7aefa355e4fb537d27c808c14a8138963ef69782d1181a5" 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 }