1commands: { 2 copy_before: { 3 from: "out/host/linux-x86/bin/metalava" 4 to: "tools/out/bin/metalava" 5 } 6 copy_before: { 7 from: "out/host/linux-x86/bin/soong_zip" 8 to: "tools/out/bin/soong_zip" 9 } 10 copy_before: { 11 from: "out/host/linux-x86/bin/zipsync" 12 to: "tools/out/bin/zipsync" 13 } 14 copy_before: { 15 from: "out/host/linux-x86/framework/metalava.jar" 16 to: "tools/out/framework/metalava.jar" 17 } 18 copy_before: { 19 from: "build/soong/java/metalava/main-config.xml" 20 to: "build/soong/java/metalava/main-config.xml" 21 } 22 copy_before: { 23 from: "build/soong/java/metalava/source-model-selection-config.xml" 24 to: "build/soong/java/metalava/source-model-selection-config.xml" 25 } 26 copy_before: { 27 from: "frameworks/base/media/lib/tvremote/api/test-current.txt" 28 to: "frameworks/base/media/lib/tvremote/api/test-current.txt" 29 } 30 copy_before: { 31 from: "frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/TvRemoteProvider.java" 32 to: "frameworks/base/media/lib/tvremote/java/com/android/media/tv/remoteprovider/TvRemoteProvider.java" 33 } 34 copy_before: { 35 from: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" 36 to: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" 37 } 38 copy_before: { 39 from: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" 40 to: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" 41 } 42 copy_before: { 43 from: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" 44 to: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" 45 } 46 copy_before: { 47 from: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar" 48 to: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar" 49 } 50 copy_before: { 51 from: "out/soong/.intermediates/prebuilts/sdk/current/support/android-support-annotations/android_common/turbine-combined/android-support-annotations.jar" 52 to: "out/soong/.intermediates/prebuilts/sdk/current/support/android-support-annotations/android_common/turbine-combined/android-support-annotations.jar" 53 } 54 chdir: true 55 command: "rm -rf out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/stubsDir && mkdir -p out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/stubsDir && rm -rf __SBOX_SANDBOX_DIR__/out/srcjars && mkdir -p __SBOX_SANDBOX_DIR__/out/srcjars && __SBOX_SANDBOX_DIR__/tools/out/bin/zipsync -d __SBOX_SANDBOX_DIR__/out/srcjars -l __SBOX_SANDBOX_DIR__/out/srcjars/list -f \"*.java\" && rm -rf out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/home && mkdir -p out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/home __SBOX_SANDBOX_DIR__/tools/out/bin/metalava -J-XX:OnError=\"cat hs_err_pid%p.log\" -J-XX:CICompilerCount=6 -J-XX:+UseDynamicNumberOfGCThreads -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J--add-opens=java.base/java.util=ALL-UNNAMED --java-source 17 @__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything.metalava.rsp @__SBOX_SANDBOX_DIR__/out/srcjars/list --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/current/support/android-support-annotations/android_common/turbine-combined/android-support-annotations.jar --color --quiet --format=v2 --repeat-errors-max 10 --hide UnresolvedImport --api-class-resolution api --format-defaults overloaded-method-order=source,add-additional-overrides=yes --config-file build/soong/java/metalava/main-config.xml --config-file build/soong/java/metalava/source-model-selection-config.xml --api __SBOX_SANDBOX_DIR__/out/com.android.media.tv.remoteprovider.stubs.source.test_api.txt --removed-api __SBOX_SANDBOX_DIR__/out/com.android.media.tv.remoteprovider.stubs.source.test_removed.txt --stubs out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/stubsDir --exclude-documentation-from-stubs --stub-packages com.android.media.tv.remoteprovider --hide HiddenSuperclass --hide BroadcastBehavior --hide DeprecationMismatch --hide MissingPermission --hide SdkConstant --hide Todo --show-annotation android.annotation.TestApi --show-for-stub-purposes-annotation 'android.annotation.SystemApi(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS)' --error-when-new-category Documentation --hide Deprecated --hide IntDef --hide Nullable --use-same-format-as frameworks/base/media/lib/tvremote/api/test-current.txt && __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -write_if_changed -jar -o __SBOX_SANDBOX_DIR__/out/com.android.media.tv.remoteprovider.stubs.source.test-stubs.srcjar -C out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/stubsDir -D out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/stubsDir && rm -rf out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/srcjars" 56 copy_after: { 57 from: "out/com.android.media.tv.remoteprovider.stubs.source.test-stubs.srcjar" 58 to: "out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/com.android.media.tv.remoteprovider.stubs.source.test-stubs.srcjar" 59 } 60 copy_after: { 61 from: "out/com.android.media.tv.remoteprovider.stubs.source.test_api.txt" 62 to: "out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/com.android.media.tv.remoteprovider.stubs.source.test_api.txt" 63 } 64 copy_after: { 65 from: "out/com.android.media.tv.remoteprovider.stubs.source.test_removed.txt" 66 to: "out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything/com.android.media.tv.remoteprovider.stubs.source.test_removed.txt" 67 } 68 input_hash: "fd8ace7fa1b21c99862e3200f973249a104cde508a1094ef6c1815d3eca11549" 69 rsp_files: { 70 file: "out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything.metalava.rsp" 71 path_mappings: { 72 from: "out/soong/.intermediates/frameworks/base/media/lib/tvremote/com.android.media.tv.remoteprovider.stubs.source.test/android_common/everything" 73 to: "out" 74 } 75 path_mappings: { 76 from: "out" 77 to: "out" 78 } 79 } 80 env: { 81 name: "PATH" 82 inherit: true 83 } 84 env: { 85 name: "JAVA_HOME" 86 inherit: true 87 } 88 env: { 89 name: "TMPDIR" 90 inherit: true 91 } 92 env: { 93 name: "RBE_log_dir" 94 inherit: true 95 } 96 env: { 97 name: "RBE_platform" 98 inherit: true 99 } 100 env: { 101 name: "RBE_server_address" 102 inherit: true 103 } 104 env: { 105 name: "RBE_exec_root" 106 inherit: true 107 } 108 env: { 109 name: "OUT_DIR" 110 value: "out" 111 } 112 dont_inherit_env: true 113} 114 115