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/obex/javax/obex/ObexPacket.java" 28 to: "frameworks/base/obex/javax/obex/ObexPacket.java" 29 } 30 copy_before: { 31 from: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" 32 to: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" 33 } 34 copy_before: { 35 from: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" 36 to: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" 37 } 38 copy_before: { 39 from: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" 40 to: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" 41 } 42 copy_before: { 43 from: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/revert-annotations-exportable.txt" 44 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/revert-annotations-exportable.txt" 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/javax.obex-incompatibilities.api.system.latest/gen/javax.obex-incompatibilities.api.system.latest" 52 to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-incompatibilities.api.system.latest/gen/javax.obex-incompatibilities.api.system.latest" 53 } 54 copy_before: { 55 from: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.public.latest/gen/javax.obex-removed.api.public.latest" 56 to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.public.latest/gen/javax.obex-removed.api.public.latest" 57 } 58 copy_before: { 59 from: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.system.latest/gen/javax.obex-removed.api.system.latest" 60 to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.system.latest/gen/javax.obex-removed.api.system.latest" 61 } 62 copy_before: { 63 from: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.public.latest/gen/javax.obex.api.public.latest" 64 to: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.public.latest/gen/javax.obex.api.public.latest" 65 } 66 copy_before: { 67 from: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.system.latest/gen/javax.obex.api.system.latest" 68 to: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.system.latest/gen/javax.obex.api.system.latest" 69 } 70 chdir: true 71 command: "rm -rf out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/stubsDir && mkdir -p out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/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/obex/javax.obex.stubs.source.system/android_common/exportable/home && mkdir -p out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/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/obex/javax.obex.stubs.source.system/android_common/exportable.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 --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/javax.obex.stubs.source.system_api.txt --removed-api __SBOX_SANDBOX_DIR__/out/javax.obex.stubs.source.system_removed.txt --stubs out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/stubsDir --exclude-documentation-from-stubs --check-compatibility:api:released __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/javax.obex.api.public.latest/gen/javax.obex.api.public.latest --check-compatibility:api:released __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/javax.obex.api.system.latest/gen/javax.obex.api.system.latest --check-compatibility:removed:released __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.public.latest/gen/javax.obex-removed.api.public.latest --check-compatibility:removed:released __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.system.latest/gen/javax.obex-removed.api.system.latest --baseline:compatibility:released __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/javax.obex-incompatibilities.api.system.latest/gen/javax.obex-incompatibilities.api.system.latest --stub-packages javax.obex --hide HiddenSuperclass --hide BroadcastBehavior --hide DeprecationMismatch --hide MissingPermission --hide SdkConstant --hide Todo --show-annotation 'android.annotation.SystemApi(client=android.annotation.SystemApi.Client.PRIVILEGED_APPS)' @__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/revert-annotations-exportable.txt --error-when-new-category Documentation --hide Deprecated --hide IntDef --hide Nullable && __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -write_if_changed -jar -o __SBOX_SANDBOX_DIR__/out/javax.obex.stubs.source.system-stubs.srcjar -C out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/stubsDir -D out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/stubsDir && rm -rf out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/srcjars" 72 copy_after: { 73 from: "out/javax.obex.stubs.source.system-stubs.srcjar" 74 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system-stubs.srcjar" 75 } 76 copy_after: { 77 from: "out/javax.obex.stubs.source.system_api.txt" 78 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system_api.txt" 79 } 80 copy_after: { 81 from: "out/javax.obex.stubs.source.system_removed.txt" 82 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system_removed.txt" 83 } 84 input_hash: "a0a15ce33bd93a4a558865e70f2e485bad34354a834d038318ef3d71e6902a0d" 85 rsp_files: { 86 file: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable.metalava.rsp" 87 path_mappings: { 88 from: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable" 89 to: "out" 90 } 91 path_mappings: { 92 from: "out" 93 to: "out" 94 } 95 } 96 env: { 97 name: "PATH" 98 inherit: true 99 } 100 env: { 101 name: "JAVA_HOME" 102 inherit: true 103 } 104 env: { 105 name: "TMPDIR" 106 inherit: true 107 } 108 env: { 109 name: "RBE_log_dir" 110 inherit: true 111 } 112 env: { 113 name: "RBE_platform" 114 inherit: true 115 } 116 env: { 117 name: "RBE_server_address" 118 inherit: true 119 } 120 env: { 121 name: "RBE_exec_root" 122 inherit: true 123 } 124 env: { 125 name: "OUT_DIR" 126 value: "out" 127 } 128 dont_inherit_env: true 129} 130 131