1commands: { 2 copy_before: { 3 from: "cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug-key.pem" 4 to: "tools/src/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug-key.pem" 5 } 6 copy_before: { 7 from: "cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug.x509.pem" 8 to: "tools/src/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug.x509.pem" 9 } 10 copy_before: { 11 from: "out/soong/.intermediates/external/fsverity-utils/fsverity/linux_glibc_x86_64/fsverity" 12 to: "tools/out/bin/fsverity" 13 executable: false 14 } 15 copy_before: { 16 from: "out/soong/.intermediates/external/fsverity-utils/libfsverity/linux_glibc_x86_64_shared/libfsverity.so" 17 to: "tools/out/lib64/libfsverity.so" 18 executable: false 19 } 20 copy_before: { 21 from: "out/soong/.intermediates/external/boringssl/libcrypto/linux_glibc_x86_64_shared/libcrypto-host.so" 22 to: "tools/out/lib64/libcrypto-host.so" 23 executable: false 24 } 25 copy_before: { 26 from: "out/soong/.intermediates/prebuilts/clang/host/linux-x86/libc++/linux_glibc_x86_64_shared/libc++.so" 27 to: "tools/out/lib64/libc++.so" 28 executable: false 29 } 30 copy_before: { 31 from: "out/soong/.intermediates/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/CtsApkVerityTestAppSplit/android_common/CtsApkVerityTestAppSplit.apk" 32 to: "out/soong/.intermediates/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/CtsApkVerityTestAppSplit/android_common/CtsApkVerityTestAppSplit.apk" 33 } 34 chdir: true 35 command: "__SBOX_SANDBOX_DIR__/tools/out/bin/fsverity sign __SBOX_SANDBOX_DIR__/out/soong/.intermediates/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/CtsApkVerityTestAppSplit/android_common/CtsApkVerityTestAppSplit.apk __SBOX_SANDBOX_DIR__/out/CtsApkVerityTestAppSplit.apk.fsv_sig --key=__SBOX_SANDBOX_DIR__/tools/src/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug-key.pem --cert=__SBOX_SANDBOX_DIR__/tools/src/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/fsverity-debug.x509.pem > /dev/null" 36 copy_after: { 37 from: "out/CtsApkVerityTestAppSplit.apk.fsv_sig" 38 to: "out/soong/.intermediates/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/CtsApkVerityTestAppSplitFsvSig/android_common/gen/CtsApkVerityTestAppSplit.apk.fsv_sig" 39 } 40 input_hash: "71eb504d6b761ccc54532ca5288bbf88aecb5cb3ac76ccae78a010df8a8c88a8" 41 env: { 42 name: "PATH" 43 inherit: true 44 } 45 env: { 46 name: "JAVA_HOME" 47 inherit: true 48 } 49 env: { 50 name: "TMPDIR" 51 inherit: true 52 } 53 env: { 54 name: "RBE_log_dir" 55 inherit: true 56 } 57 env: { 58 name: "RBE_platform" 59 inherit: true 60 } 61 env: { 62 name: "RBE_server_address" 63 inherit: true 64 } 65 env: { 66 name: "RBE_exec_root" 67 inherit: true 68 } 69 env: { 70 name: "OUT_DIR" 71 value: "out" 72 } 73 dont_inherit_env: true 74} 75 76