1commands: { 2 copy_before: { 3 from: "out/soong/.intermediates/external/protobuf/aprotoc/linux_glibc_x86_64/aprotoc" 4 to: "tools/out/bin/aprotoc" 5 executable: false 6 } 7 copy_before: { 8 from: "platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/profile.proto" 9 to: "platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/profile.proto" 10 } 11 copy_before: { 12 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_registeredBeforeTest.textpb" 13 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_registeredBeforeTest.textpb" 14 } 15 copy_before: { 16 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_unregisteredAfterTest.textpb" 17 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_unregisteredAfterTest.textpb" 18 } 19 copy_before: { 20 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testIndexedScheduling_respectsSchedule.textpb" 21 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testIndexedScheduling_respectsSchedule.textpb" 22 } 23 copy_before: { 24 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testSequentialScheduling_respectsSchedule.textpb" 25 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testSequentialScheduling_respectsSchedule.textpb" 26 } 27 copy_before: { 28 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSchedule.textpb" 29 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSchedule.textpb" 30 } 31 copy_before: { 32 from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSuiteTimeout.textpb" 33 to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSuiteTimeout.textpb" 34 } 35 chdir: true 36 command: "out_dir=$(dirname __SBOX_SANDBOX_DIR__/out/lib-test-profiles.jar) && assets_dir=\"assets\" && mkdir -p $out_dir/$assets_dir && src_protos=(platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_registeredBeforeTest.textpb platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_unregisteredAfterTest.textpb platform_testing/libraries/health/runners/longevity/platform/tests/assets/testIndexedScheduling_respectsSchedule.textpb platform_testing/libraries/health/runners/longevity/platform/tests/assets/testSequentialScheduling_respectsSchedule.textpb platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSchedule.textpb platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSuiteTimeout.textpb) && for file in ${src_protos[@]} ; do fname=$(basename $file) && if ! (__SBOX_SANDBOX_DIR__/tools/out/bin/aprotoc --encode=longevity.profile.Configuration platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/profile.proto < $file > $out_dir/$assets_dir/${fname//.textpb/.pb}) ; then echo \"\x1b[0;31mFailed to parse profile $file. See above for errors.\x1b[0m\" && exit 1 ; fi ; done && jar cf __SBOX_SANDBOX_DIR__/out/lib-test-profiles.jar -C $(dirname __SBOX_SANDBOX_DIR__/out/lib-test-profiles.jar) $assets_dir" 37 copy_after: { 38 from: "out/lib-test-profiles.jar" 39 to: "out/soong/.intermediates/platform_testing/libraries/health/runners/longevity/platform/tests/lib-test-profile-text-protos/linux_glibc_common/gen/lib-test-profiles.jar" 40 } 41 input_hash: "8f5b875f706626c6089ec676ef4407d7a4e5fda8c7000f209c302cc03d0ed078" 42 env: { 43 name: "PATH" 44 inherit: true 45 } 46 env: { 47 name: "JAVA_HOME" 48 inherit: true 49 } 50 env: { 51 name: "TMPDIR" 52 inherit: true 53 } 54 env: { 55 name: "RBE_log_dir" 56 inherit: true 57 } 58 env: { 59 name: "RBE_platform" 60 inherit: true 61 } 62 env: { 63 name: "RBE_server_address" 64 inherit: true 65 } 66 env: { 67 name: "RBE_exec_root" 68 inherit: true 69 } 70 env: { 71 name: "OUT_DIR" 72 value: "out" 73 } 74 dont_inherit_env: true 75} 76 77