commands: { copy_before: { from: "out/soong/.intermediates/external/protobuf/aprotoc/linux_glibc_x86_64/aprotoc" to: "tools/out/bin/aprotoc" executable: false } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/profile.proto" to: "platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/profile.proto" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_registeredBeforeTest.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_registeredBeforeTest.textpb" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_unregisteredAfterTest.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testExtraArgs_unregisteredAfterTest.textpb" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testIndexedScheduling_respectsSchedule.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testIndexedScheduling_respectsSchedule.textpb" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testSequentialScheduling_respectsSchedule.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testSequentialScheduling_respectsSchedule.textpb" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSchedule.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSchedule.textpb" } copy_before: { from: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSuiteTimeout.textpb" to: "platform_testing/libraries/health/runners/longevity/platform/tests/assets/testTimestampScheduling_respectsSuiteTimeout.textpb" } chdir: true 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" copy_after: { from: "out/lib-test-profiles.jar" to: "out/soong/.intermediates/platform_testing/libraries/health/runners/longevity/platform/tests/lib-test-profile-text-protos/android_common/gen/lib-test-profiles.jar" } input_hash: "8f5b875f706626c6089ec676ef4407d7a4e5fda8c7000f209c302cc03d0ed078" 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 }