commands: { copy_before: { from: "out/host/linux-x86/bin/metalava" to: "tools/out/bin/metalava" } copy_before: { from: "out/host/linux-x86/bin/soong_zip" to: "tools/out/bin/soong_zip" } copy_before: { from: "out/host/linux-x86/bin/zipsync" to: "tools/out/bin/zipsync" } copy_before: { from: "out/host/linux-x86/framework/metalava.jar" to: "tools/out/framework/metalava.jar" } copy_before: { from: "build/soong/java/metalava/main-config.xml" to: "build/soong/java/metalava/main-config.xml" } copy_before: { from: "build/soong/java/metalava/source-model-selection-config.xml" to: "build/soong/java/metalava/source-model-selection-config.xml" } copy_before: { from: "frameworks/base/obex/javax/obex/ObexPacket.java" to: "frameworks/base/obex/javax/obex/ObexPacket.java" } copy_before: { from: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" to: "out/soong/.intermediates/build/soong/java/core-libraries/stable.core.platform.api.stubs/android_common/combined/stable.core.platform.api.stubs.jar" } copy_before: { from: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" to: "out/soong/.intermediates/frameworks/base/ext/android_common/turbine-combined/ext.jar" } copy_before: { from: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" to: "out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar" } copy_before: { from: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/revert-annotations-exportable.txt" to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/revert-annotations-exportable.txt" } copy_before: { from: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar" to: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/javac/core-lambda-stubs.jar" } copy_before: { from: "out/soong/.intermediates/prebuilts/sdk/javax.obex-incompatibilities.api.system.latest/gen/javax.obex-incompatibilities.api.system.latest" to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-incompatibilities.api.system.latest/gen/javax.obex-incompatibilities.api.system.latest" } copy_before: { from: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.public.latest/gen/javax.obex-removed.api.public.latest" to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.public.latest/gen/javax.obex-removed.api.public.latest" } copy_before: { from: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.system.latest/gen/javax.obex-removed.api.system.latest" to: "out/soong/.intermediates/prebuilts/sdk/javax.obex-removed.api.system.latest/gen/javax.obex-removed.api.system.latest" } copy_before: { from: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.public.latest/gen/javax.obex.api.public.latest" to: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.public.latest/gen/javax.obex.api.public.latest" } copy_before: { from: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.system.latest/gen/javax.obex.api.system.latest" to: "out/soong/.intermediates/prebuilts/sdk/javax.obex.api.system.latest/gen/javax.obex.api.system.latest" } chdir: true 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" copy_after: { from: "out/javax.obex.stubs.source.system-stubs.srcjar" to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system-stubs.srcjar" } copy_after: { from: "out/javax.obex.stubs.source.system_api.txt" to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system_api.txt" } copy_after: { from: "out/javax.obex.stubs.source.system_removed.txt" to: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable/javax.obex.stubs.source.system_removed.txt" } input_hash: "a0a15ce33bd93a4a558865e70f2e485bad34354a834d038318ef3d71e6902a0d" rsp_files: { file: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable.metalava.rsp" path_mappings: { from: "out/soong/.intermediates/frameworks/base/obex/javax.obex.stubs.source.system/android_common/exportable" to: "out" } path_mappings: { from: "out" to: "out" } } 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 }