1commands: {
2 copy_before: {
3  from: "out/soong/.intermediates/external/toybox/toybox/linux_glibc_x86_64/toybox"
4  to: "tools/out/bin/toybox"
5  executable: false
6 }
7 copy_before: {
8  from: "out/soong/.intermediates/platform_testing/utils/shell-as/shell-as-test-app/android_common/shell-as-test-app.apk"
9  to: "out/soong/.intermediates/platform_testing/utils/shell-as/shell-as-test-app/android_common/shell-as-test-app.apk"
10 }
11 chdir: true
12 command: "CC_ARCH=arm64 CC_NATIVE_BRIDGE= CC_MULTILIB=lib64 CC_OS=android && (  echo '#include <stddef.h>';  echo '#include <stdint.h>';  echo '';  echo 'namespace shell_as {';  echo 'const uint8_t kTestAppApk[] = {';  __SBOX_SANDBOX_DIR__/tools/out/bin/toybox xxd -i < __SBOX_SANDBOX_DIR__/out/soong/.intermediates/platform_testing/utils/shell-as/shell-as-test-app/android_common/shell-as-test-app.apk;  echo '};';  echo 'void GetTestApk(uint8_t **apk, size_t *length) {';  echo '  *apk = (uint8_t*) kTestAppApk;';  echo '  *length = sizeof(kTestAppApk);';  echo '}';  echo '}  // namespace shell_as';) > __SBOX_SANDBOX_DIR__/out/test-app-apk.cpp"
13 copy_after: {
14  from: "out/test-app-apk.cpp"
15  to: "out/soong/.intermediates/platform_testing/utils/shell-as/shell-as-test-app-apk-cpp/android_arm64_armv8-2a_cortex-a55/gen/test-app-apk.cpp"
16 }
17 input_hash: "0d78c2136da03b5fae4a7d786856260befb5c7defa8d7aed3f55b5dc9a0dc8b5"
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