1commands: { 2 copy_before: { 3 from: "out/host/linux-x86/bin/go/soong_zip/linux_glibc_x86_64/obj/soong_zip" 4 to: "tools/out/bin/soong_zip" 5 executable: false 6 } 7 copy_before: { 8 from: "out/soong/.intermediates/system/apex/apexd/apexd_testdata/com.android.apex.compressed.v1/android_common_com.android.apex.compressed.v1/com.android.apex.compressed.v1.capex" 9 to: "out/soong/.intermediates/system/apex/apexd/apexd_testdata/com.android.apex.compressed.v1/android_common_com.android.apex.compressed.v1/com.android.apex.compressed.v1.capex" 10 } 11 chdir: true 12 command: "unzip -q __SBOX_SANDBOX_DIR__/out/soong/.intermediates/system/apex/apexd/apexd_testdata/com.android.apex.compressed.v1/android_common_com.android.apex.compressed.v1/com.android.apex.compressed.v1.capex -d __SBOX_SANDBOX_DIR__/out && echo 'different-key' >> __SBOX_SANDBOX_DIR__/out/apex_pubkey && __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -d -C __SBOX_SANDBOX_DIR__/out -D __SBOX_SANDBOX_DIR__/out -L 9 -o __SBOX_SANDBOX_DIR__/out/com.android.apex.compressed_key_mismatch_with_original.capex" 13 copy_after: { 14 from: "out/com.android.apex.compressed_key_mismatch_with_original.capex" 15 to: "out/soong/.intermediates/system/apex/apexd/apexd_testdata/gen_key_mismatch_with_original_capex/android_common/gen/com.android.apex.compressed_key_mismatch_with_original.capex" 16 } 17 input_hash: "d59fd9b43f51db7bf1c2bf9143e5ddc48fcc8874641601fddc7eec227c8a8e01" 18 env: { 19 name: "PATH" 20 inherit: true 21 } 22 env: { 23 name: "JAVA_HOME" 24 inherit: true 25 } 26 env: { 27 name: "TMPDIR" 28 inherit: true 29 } 30 env: { 31 name: "RBE_log_dir" 32 inherit: true 33 } 34 env: { 35 name: "RBE_platform" 36 inherit: true 37 } 38 env: { 39 name: "RBE_server_address" 40 inherit: true 41 } 42 env: { 43 name: "RBE_exec_root" 44 inherit: true 45 } 46 env: { 47 name: "OUT_DIR" 48 value: "out" 49 } 50 dont_inherit_env: true 51} 52 53