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/api/system-current.txt" 28 to: "frameworks/base/obex/api/system-current.txt" 29 } 30 copy_before: { 31 from: "frameworks/base/obex/javax/obex/ObexPacket.java" 32 to: "frameworks/base/obex/javax/obex/ObexPacket.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/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/everything/stubsDir && mkdir -p out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/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/obex/javax.obex.stubs.source.system/android_common/everything/home && mkdir -p out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/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/obex/javax.obex.stubs.source.system/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 --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/everything/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)' --error-when-new-category Documentation --hide Deprecated --hide IntDef --hide Nullable --update-baseline:compatibility:released __SBOX_SANDBOX_DIR__/out/last_released_baseline.txt --error-message:compatibility:released $'\\n******************************\\nYou have tried to change the API from what has been previously released in\\nan SDK. Please fix the errors listed above.\\n******************************\\n' --use-same-format-as frameworks/base/obex/api/system-current.txt && __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/everything/stubsDir -D out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/stubsDir && touch __SBOX_SANDBOX_DIR__/out/check_last_released_api.timestamp && rm -rf out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/srcjars" 72 copy_after: { 73 from: "out/check_last_released_api.timestamp" 74 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/check_last_released_api.timestamp" 75 } 76 copy_after: { 77 from: "out/javax.obex.stubs.source.system-stubs.srcjar" 78 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/javax.obex.stubs.source.system-stubs.srcjar" 79 } 80 copy_after: { 81 from: "out/javax.obex.stubs.source.system_api.txt" 82 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/javax.obex.stubs.source.system_api.txt" 83 } 84 copy_after: { 85 from: "out/javax.obex.stubs.source.system_removed.txt" 86 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/javax.obex.stubs.source.system_removed.txt" 87 } 88 copy_after: { 89 from: "out/last_released_baseline.txt" 90 to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything/last_released_baseline.txt" 91 } 92 input_hash: "fbcf6e1bc811f449ac8621f89f8ea5b09d22168f4bf0c35612554746678182d5" 93 rsp_files: { 94 file: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything.metalava.rsp" 95 path_mappings: { 96 from: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/everything" 97 to: "out" 98 } 99 path_mappings: { 100 from: "out" 101 to: "out" 102 } 103 } 104 env: { 105 name: "PATH" 106 inherit: true 107 } 108 env: { 109 name: "JAVA_HOME" 110 inherit: true 111 } 112 env: { 113 name: "TMPDIR" 114 inherit: true 115 } 116 env: { 117 name: "RBE_log_dir" 118 inherit: true 119 } 120 env: { 121 name: "RBE_platform" 122 inherit: true 123 } 124 env: { 125 name: "RBE_server_address" 126 inherit: true 127 } 128 env: { 129 name: "RBE_exec_root" 130 inherit: true 131 } 132 env: { 133 name: "OUT_DIR" 134 value: "out" 135 } 136 dont_inherit_env: true 137} 138 139