1commands: { 2 copy_before: { 3 from: "out/host/linux-x86/bin/lint" 4 to: "tools/out/bin/lint" 5 } 6 copy_before: { 7 from: "out/host/linux-x86/bin/lint_project_xml" 8 to: "tools/out/bin/lint_project_xml" 9 } 10 copy_before: { 11 from: "out/host/linux-x86/bin/soong_zip" 12 to: "tools/out/bin/soong_zip" 13 } 14 copy_before: { 15 from: "out/host/linux-x86/bin/zipsync" 16 to: "tools/out/bin/zipsync" 17 } 18 copy_before: { 19 from: "out/host/linux-x86/framework/lint.jar" 20 to: "tools/out/framework/lint.jar" 21 } 22 copy_before: { 23 from: "build/soong/java/lint_defaults.txt" 24 to: "build/soong/java/lint_defaults.txt" 25 } 26 copy_before: { 27 from: "out/soong/.intermediates/external/kotlinc/kotlin-stdlib/android_common/local-combined/kotlin-stdlib.jar" 28 to: "out/soong/.intermediates/external/kotlinc/kotlin-stdlib/android_common/local-combined/kotlin-stdlib.jar" 29 } 30 copy_before: { 31 from: "out/soong/.intermediates/frameworks/libs/modules-utils/java/com/android/modules/utils/build/modules-utils-build/android_common/turbine/modules-utils-build.jar" 32 to: "out/soong/.intermediates/frameworks/libs/modules-utils/java/com/android/modules/utils/build/modules-utils-build/android_common/turbine/modules-utils-build.jar" 33 } 34 copy_before: { 35 from: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi33Shims/android_common/turbine/BluetoothApi33Shims.jar" 36 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi33Shims/android_common/turbine/BluetoothApi33Shims.jar" 37 } 38 copy_before: { 39 from: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi34Shims/android_common/turbine/BluetoothApi34Shims.jar" 40 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi34Shims/android_common/turbine/BluetoothApi34Shims.jar" 41 } 42 copy_before: { 43 from: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/combined/BluetoothApiShims.jar" 44 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/combined/BluetoothApiShims.jar" 45 } 46 copy_before: { 47 from: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothShimsCommon/android_common/turbine/BluetoothShimsCommon.jar" 48 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothShimsCommon/android_common/turbine/BluetoothShimsCommon.jar" 49 } 50 copy_before: { 51 from: "out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/annotation/annotation-jvm/1.9.0-rc01/androidx.annotation_annotation/android_common/local-combined/androidx.annotation_annotation.jar" 52 to: "out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/annotation/annotation-jvm/1.9.0-rc01/androidx.annotation_annotation/android_common/local-combined/androidx.annotation_annotation.jar" 53 } 54 copy_before: { 55 from: "out/soong/lint/annotations-module-lib.zip" 56 to: "out/soong/lint/annotations-module-lib.zip" 57 } 58 copy_before: { 59 from: "out/soong/lint/api_versions_module_lib.xml" 60 to: "out/soong/lint/api_versions_module_lib.xml" 61 } 62 copy_before: { 63 from: "prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar" 64 to: "prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar" 65 } 66 copy_before: { 67 from: "prebuilts/sdk/33/module-lib/android.jar" 68 to: "prebuilts/sdk/33/module-lib/android.jar" 69 } 70 copy_before: { 71 from: "prebuilts/sdk/tools/core-lambda-stubs.jar" 72 to: "prebuilts/sdk/tools/core-lambda-stubs.jar" 73 } 74 chdir: true 75 command: "( echo \"<?xml version='1.0' encoding='utf-8'?>\" && echo \"<manifest xmlns:android='http://schemas.android.com/apk/res/android'\" && echo \" android:versionCode='1' android:versionName='1' >\" && echo \" <uses-sdk android:minSdkVersion='33' android:targetSdkVersion='33'/>\" && echo \"</manifest>\" ) > __SBOX_SANDBOX_DIR__/out/AndroidManifest.xml && cp __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint-srcs.list.rsp __SBOX_SANDBOX_DIR__/out/lint-srcs.list && 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\" && __SBOX_SANDBOX_DIR__/tools/out/bin/lint_project_xml --project_out __SBOX_SANDBOX_DIR__/out/project.xml --config_out __SBOX_SANDBOX_DIR__/out/lint.xml --name BluetoothApiShims --manifest __SBOX_SANDBOX_DIR__/out/AndroidManifest.xml --srcs __SBOX_SANDBOX_DIR__/out/lint-srcs.list --generated_srcs __SBOX_SANDBOX_DIR__/out/srcjars/list --classes __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/combined/BluetoothApiShims.jar --classpath prebuilts/sdk/33/module-lib/android.jar --classpath prebuilts/sdk/tools/core-lambda-stubs.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/annotation/annotation-jvm/1.9.0-rc01/androidx.annotation_annotation/android_common/local-combined/androidx.annotation_annotation.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/kotlinc/kotlin-stdlib/android_common/local-combined/kotlin-stdlib.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/libs/modules-utils/java/com/android/modules/utils/build/modules-utils-build/android_common/turbine/modules-utils-build.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi33Shims/android_common/turbine/BluetoothApi33Shims.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApi34Shims/android_common/turbine/BluetoothApi34Shims.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothShimsCommon/android_common/turbine/BluetoothShimsCommon.jar --extra_checks_jar prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar --root_dir $PWD --cache_dir out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/cache @build/soong/java/lint_defaults.txt && rm -rf out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/cache out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/home && mkdir -p out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/cache out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/home && rm -f __SBOX_SANDBOX_DIR__/out/lint-report.html __SBOX_SANDBOX_DIR__/out/lint-report.txt __SBOX_SANDBOX_DIR__/out/lint-report.xml && JAVA_OPTS=\"-Xmx3072m --add-opens java.base/java.util=ALL-UNNAMED\" ANDROID_SDK_HOME=out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/home SDK_ANNOTATIONS=__SBOX_SANDBOX_DIR__/out/soong/lint/annotations-module-lib.zip LINT_OPTS=-DLINT_API_DATABASE=__SBOX_SANDBOX_DIR__/out/soong/lint/api_versions_module_lib.xml __SBOX_SANDBOX_DIR__/tools/out/bin/lint --quiet --include-aosp-issues --project __SBOX_SANDBOX_DIR__/out/project.xml --config __SBOX_SANDBOX_DIR__/out/lint.xml --html __SBOX_SANDBOX_DIR__/out/lint-report.html --text __SBOX_SANDBOX_DIR__/out/lint-report.txt --xml __SBOX_SANDBOX_DIR__/out/lint-report.xml --compile-sdk-version 33 --java-language-level 11 --kotlin-language-level 1.3 --url .=.,out/soong=out --apply-suggestions --exitcode --write-reference-baseline __SBOX_SANDBOX_DIR__/out/lint-baseline.xml ; EXITCODE=$?; __SBOX_SANDBOX_DIR__/tools/out/bin/soong_zip -o __SBOX_SANDBOX_DIR__/out/suggested-fixes.zip -C . -r __SBOX_SANDBOX_DIR__/out/lint-srcs.list ; if [ $EXITCODE != 0 ]; then if [ -e __SBOX_SANDBOX_DIR__/out/lint-report.txt ]; then cat __SBOX_SANDBOX_DIR__/out/lint-report.txt ; fi; exit $EXITCODE; fi && rm -rf out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/cache out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/home && sed -i.tmp -e 's|Check performed at .*\\(</nav>\\)|\\1|' __SBOX_SANDBOX_DIR__/out/lint-report.html" 76 copy_after: { 77 from: "out/lint-baseline.xml" 78 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/lint-baseline.xml" 79 } 80 copy_after: { 81 from: "out/lint-report.html" 82 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/lint-report.html" 83 } 84 copy_after: { 85 from: "out/lint-report.txt" 86 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/lint-report.txt" 87 } 88 copy_after: { 89 from: "out/lint-report.xml" 90 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/lint-report.xml" 91 } 92 copy_after: { 93 from: "out/lint-srcs.list" 94 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/lint-srcs.list" 95 } 96 copy_after: { 97 from: "out/suggested-fixes.zip" 98 to: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint/suggested-fixes.zip" 99 } 100 input_hash: "8ad32d06baf597a5204644b8e7f18159fa0722b66c475b1774b4825c8ca5eb9c" 101 rsp_files: { 102 file: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint-srcs.list.rsp" 103 path_mappings: { 104 from: "out/soong/.intermediates/packages/modules/Bluetooth/android/apishim/BluetoothApiShims/android_common/lint" 105 to: "out" 106 } 107 path_mappings: { 108 from: "out" 109 to: "out" 110 } 111 } 112 env: { 113 name: "PATH" 114 inherit: true 115 } 116 env: { 117 name: "JAVA_HOME" 118 inherit: true 119 } 120 env: { 121 name: "TMPDIR" 122 inherit: true 123 } 124 env: { 125 name: "RBE_log_dir" 126 inherit: true 127 } 128 env: { 129 name: "RBE_platform" 130 inherit: true 131 } 132 env: { 133 name: "RBE_server_address" 134 inherit: true 135 } 136 env: { 137 name: "RBE_exec_root" 138 inherit: true 139 } 140 env: { 141 name: "OUT_DIR" 142 value: "out" 143 } 144 dont_inherit_env: true 145} 146 147