1commands: { 2 copy_before: { 3 from: "prebuilts/sdk/current/public/android.jar" 4 to: "tools/src/prebuilts/sdk/current/public/android.jar" 5 } 6 copy_before: { 7 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/aapt2/linux_glibc_x86_64/aapt2" 8 to: "tools/out/bin/aapt2" 9 executable: false 10 } 11 copy_before: { 12 from: "frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/AndroidManifest.xml" 13 to: "frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/AndroidManifest.xml" 14 } 15 copy_before: { 16 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/drawable_removedpng.(test.package.falseFlag).png.flat" 17 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/drawable_removedpng.(test.package.falseFlag).png.flat" 18 } 19 copy_before: { 20 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout1.xml.flat" 21 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout1.xml.flat" 22 } 23 copy_before: { 24 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout2.(test.package.falseFlag).xml.flat" 25 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout2.(test.package.falseFlag).xml.flat" 26 } 27 copy_before: { 28 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.(test.package.trueFlag).xml.flat" 29 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.(test.package.trueFlag).xml.flat" 30 } 31 copy_before: { 32 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.xml.flat" 33 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.xml.flat" 34 } 35 copy_before: { 36 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.falseFlag).arsc.flat" 37 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.falseFlag).arsc.flat" 38 } 39 copy_before: { 40 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.trueFlag).arsc.flat" 41 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.trueFlag).arsc.flat" 42 } 43 copy_before: { 44 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.falseFlag).arsc.flat" 45 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.falseFlag).arsc.flat" 46 } 47 copy_before: { 48 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.trueFlag).arsc.flat" 49 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.trueFlag).arsc.flat" 50 } 51 copy_before: { 52 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.arsc.flat" 53 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.arsc.flat" 54 } 55 copy_before: { 56 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools2.arsc.flat" 57 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools2.arsc.flat" 58 } 59 copy_before: { 60 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_ints.arsc.flat" 61 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_ints.arsc.flat" 62 } 63 copy_before: { 64 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_strings.arsc.flat" 65 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_strings.arsc.flat" 66 } 67 copy_before: { 68 from: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_styles.arsc.flat" 69 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_styles.arsc.flat" 70 } 71 chdir: true 72 command: "__SBOX_SANDBOX_DIR__/tools/out/bin/aapt2 link -o __SBOX_SANDBOX_DIR__/out/resapp.apk --manifest frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/AndroidManifest.xml '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/drawable_removedpng.(test.package.falseFlag).png.flat' __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.arsc.flat '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.falseFlag).arsc.flat' '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(test.package.trueFlag).arsc.flat' '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.falseFlag).arsc.flat' '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools.(!test.package.trueFlag).arsc.flat' __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_bools2.arsc.flat __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_ints.arsc.flat __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_strings.arsc.flat __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/values_styles.arsc.flat __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout1.xml.flat '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout2.(test.package.falseFlag).xml.flat' __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.xml.flat '__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-compile/gen/layout_layout3.(test.package.trueFlag).xml.flat' -I __SBOX_SANDBOX_DIR__/tools/src/prebuilts/sdk/current/public/android.jar --feature-flags test.package.falseFlag:ro=false,test.package.trueFlag:ro=true" 73 copy_after: { 74 from: "out/resapp.apk" 75 to: "out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/FlaggedResourcesTest/resource-flagging-test-app-apk/gen/resapp.apk" 76 } 77 input_hash: "0d35bdde6b20057510531a722df77b139fea5d4027f79f6b3ac0b8b1fe439046" 78 env: { 79 name: "PATH" 80 inherit: true 81 } 82 env: { 83 name: "JAVA_HOME" 84 inherit: true 85 } 86 env: { 87 name: "TMPDIR" 88 inherit: true 89 } 90 env: { 91 name: "RBE_log_dir" 92 inherit: true 93 } 94 env: { 95 name: "RBE_platform" 96 inherit: true 97 } 98 env: { 99 name: "RBE_server_address" 100 inherit: true 101 } 102 env: { 103 name: "RBE_exec_root" 104 inherit: true 105 } 106 env: { 107 name: "OUT_DIR" 108 value: "out" 109 } 110 dont_inherit_env: true 111} 112 113