1commands: { 2 copy_before: { 3 from: "tools/apksig/etc/apksigner" 4 to: "tools/out/bin/apksigner" 5 executable: true 6 } 7 copy_before: { 8 from: "out/soong/.intermediates/tools/apksig/apksigner/linux_glibc_common/withres/apksigner.jar" 9 to: "tools/out/framework/apksigner.jar" 10 executable: false 11 } 12 copy_before: { 13 from: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.pk8/gen/bob.pk8" 14 to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.pk8/gen/bob.pk8" 15 } 16 copy_before: { 17 from: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.x509.pem/gen/bob.x509.pem" 18 to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.x509.pem/gen/bob.x509.pem" 19 } 20 copy_before: { 21 from: "system/apex/shim/build/alice.pk8" 22 to: "system/apex/shim/build/alice.pk8" 23 } 24 copy_before: { 25 from: "system/apex/shim/build/alice.x509.pem" 26 to: "system/apex/shim/build/alice.x509.pem" 27 } 28 chdir: true 29 command: "__SBOX_SANDBOX_DIR__/tools/out/bin/apksigner rotate --out __SBOX_SANDBOX_DIR__/out/bob.rot --old-signer --key system/apex/shim/build/alice.pk8 --cert system/apex/shim/build/alice.x509.pem --new-signer --key __SBOX_SANDBOX_DIR__/out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.pk8/gen/bob.pk8 --cert __SBOX_SANDBOX_DIR__/out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.x509.pem/gen/bob.x509.pem" 30 copy_after: { 31 from: "out/bob.rot" 32 to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.rot/gen/bob.rot" 33 } 34 input_hash: "86364b6d4913a0843183a29260b614fb0aa7f891b15be6e4fe6a65750164cce7" 35 env: { 36 name: "PATH" 37 inherit: true 38 } 39 env: { 40 name: "JAVA_HOME" 41 inherit: true 42 } 43 env: { 44 name: "TMPDIR" 45 inherit: true 46 } 47 env: { 48 name: "RBE_log_dir" 49 inherit: true 50 } 51 env: { 52 name: "RBE_platform" 53 inherit: true 54 } 55 env: { 56 name: "RBE_server_address" 57 inherit: true 58 } 59 env: { 60 name: "RBE_exec_root" 61 inherit: true 62 } 63 env: { 64 name: "OUT_DIR" 65 value: "out" 66 } 67 dont_inherit_env: true 68} 69 70