commands: { copy_before: { from: "tools/apksig/etc/apksigner" to: "tools/out/bin/apksigner" executable: true } copy_before: { from: "out/soong/.intermediates/tools/apksig/apksigner/linux_glibc_common/withres/apksigner.jar" to: "tools/out/framework/apksigner.jar" executable: false } copy_before: { from: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.pk8/gen/bob.pk8" to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.pk8/gen/bob.pk8" } copy_before: { from: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.x509.pem/gen/bob.x509.pem" to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.x509.pem/gen/bob.x509.pem" } copy_before: { from: "system/apex/shim/build/alice.pk8" to: "system/apex/shim/build/alice.pk8" } copy_before: { from: "system/apex/shim/build/alice.x509.pem" to: "system/apex/shim/build/alice.x509.pem" } chdir: true 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" copy_after: { from: "out/bob.rot" to: "out/soong/.intermediates/system/apex/shim/build/com.android.apex.rotation.key.bob.rot/gen/bob.rot" } input_hash: "86364b6d4913a0843183a29260b614fb0aa7f891b15be6e4fe6a65750164cce7" 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 }