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/framework/metalava.jar" 12 to: "tools/out/framework/metalava.jar" 13 } 14 copy_before: { 15 from: "build/soong/java/metalava/main-config.xml" 16 to: "build/soong/java/metalava/main-config.xml" 17 } 18 copy_before: { 19 from: "build/soong/java/metalava/source-model-selection-config.xml" 20 to: "build/soong/java/metalava/source-model-selection-config.xml" 21 } 22 copy_before: { 23 from: "device/sample/frameworks/PlatformLibrary/api/current.txt" 24 to: "device/sample/frameworks/PlatformLibrary/api/current.txt" 25 } 26 copy_before: { 27 from: "device/sample/frameworks/PlatformLibrary/api/system-current.txt" 28 to: "device/sample/frameworks/PlatformLibrary/api/system-current.txt" 29 } 30 copy_before: { 31 from: "out/soong/.intermediates/build/soong/java/core-libraries/core-current-stubs-for-system-modules-no-annotations/android_common/jarjar/turbine/core-current-stubs-for-system-modules-no-annotations.jar" 32 to: "out/soong/.intermediates/build/soong/java/core-libraries/core-current-stubs-for-system-modules-no-annotations/android_common/jarjar/turbine/core-current-stubs-for-system-modules-no-annotations.jar" 33 } 34 copy_before: { 35 from: "out/soong/.intermediates/frameworks/base/api/android_stubs_current/android_common/turbine-combined/android_stubs_current.jar" 36 to: "out/soong/.intermediates/frameworks/base/api/android_stubs_current/android_common/turbine-combined/android_stubs_current.jar" 37 } 38 copy_before: { 39 from: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine-combined/core-lambda-stubs.jar" 40 to: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine-combined/core-lambda-stubs.jar" 41 } 42 copy_before: { 43 from: "out/soong/.intermediates/tools/metalava/stub-annotations/android_common/turbine-combined/stub-annotations.jar" 44 to: "out/soong/.intermediates/tools/metalava/stub-annotations/android_common/turbine-combined/stub-annotations.jar" 45 } 46 chdir: true 47 command: "rm -rf out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/stubsDir && mkdir -p out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/stubsDir && rm -rf out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/home && mkdir -p out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/home && ANDROID_PREFS_ROOT=out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/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 --source-files device/sample/frameworks/PlatformLibrary/api/current.txt device/sample/frameworks/PlatformLibrary/api/system-current.txt --color --quiet --include-annotations --force-convert-to-warning-nullability-annotations +*:-android.*:+android.icu.*:-dalvik.* --repeat-errors-max 10 --hide UnresolvedImport --hide InvalidNullabilityOverride --hide ChangedDefault --config-file build/soong/java/metalava/main-config.xml --config-file build/soong/java/metalava/source-model-selection-config.xml --api-class-resolution api:classpath --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/build/soong/java/core-libraries/core-current-stubs-for-system-modules-no-annotations/android_common/jarjar/turbine/core-current-stubs-for-system-modules-no-annotations.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/tools/metalava/stub-annotations/android_common/turbine-combined/stub-annotations.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/api/android_stubs_current/android_common/turbine-combined/android_stubs_current.jar:__SBOX_SANDBOX_DIR__/out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine-combined/core-lambda-stubs.jar --stubs out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/stubsDir && __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -write_if_changed -jar -o __SBOX_SANDBOX_DIR__/out/com.example.android.platform_library.stubs.system.from-text-stubs.srcjar -C out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/stubsDir -D out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/stubsDir" 48 copy_after: { 49 from: "out/com.example.android.platform_library.stubs.system.from-text-stubs.srcjar" 50 to: "out/soong/.intermediates/device/sample/frameworks/PlatformLibrary/com.example.android.platform_library.stubs.system.from-text/android_common/metalava/com.example.android.platform_library.stubs.system.from-text-stubs.srcjar" 51 } 52 input_hash: "4b5cc777e0824be291fa040d559a912ef0bef4ebef10e0f7eeb1fb3fe4962d5a" 53 env: { 54 name: "PATH" 55 inherit: true 56 } 57 env: { 58 name: "JAVA_HOME" 59 inherit: true 60 } 61 env: { 62 name: "TMPDIR" 63 inherit: true 64 } 65 env: { 66 name: "RBE_log_dir" 67 inherit: true 68 } 69 env: { 70 name: "RBE_platform" 71 inherit: true 72 } 73 env: { 74 name: "RBE_server_address" 75 inherit: true 76 } 77 env: { 78 name: "RBE_exec_root" 79 inherit: true 80 } 81 env: { 82 name: "OUT_DIR" 83 value: "out" 84 } 85 dont_inherit_env: true 86} 87 88