commands: { copy_before: { from: "out/host/linux-x86/bin/lint" to: "tools/out/bin/lint" } copy_before: { from: "out/host/linux-x86/bin/lint_project_xml" to: "tools/out/bin/lint_project_xml" } 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/lint.jar" to: "tools/out/framework/lint.jar" } copy_before: { from: "build/soong/java/lint_defaults.txt" to: "build/soong/java/lint_defaults.txt" } copy_before: { from: "out/soong/.intermediates/external/conscrypt/conscrypt.module.platform.api.stubs.from-text/android_common/conscrypt.module.platform.api.stubs.from-text/conscrypt.module.platform.api.stubs.from-text.jar" to: "out/soong/.intermediates/external/conscrypt/conscrypt.module.platform.api.stubs.from-text/android_common/conscrypt.module.platform.api.stubs.from-text/conscrypt.module.platform.api.stubs.from-text.jar" } copy_before: { from: "out/soong/.intermediates/external/icu/android_icu4j/stable.i18n.module.platform.api.stubs.from-text/android_common/stable.i18n.module.platform.api.stubs.from-text/stable.i18n.module.platform.api.stubs.from-text.jar" to: "out/soong/.intermediates/external/icu/android_icu4j/stable.i18n.module.platform.api.stubs.from-text/android_common/stable.i18n.module.platform.api.stubs.from-text/stable.i18n.module.platform.api.stubs.from-text.jar" } copy_before: { from: "out/soong/.intermediates/external/libphonenumber/libphonenumber-platform/android_common/turbine/libphonenumber-platform.jar" to: "out/soong/.intermediates/external/libphonenumber/libphonenumber-platform/android_common/turbine/libphonenumber-platform.jar" } copy_before: { from: "out/soong/.intermediates/external/rappor/rappor/android_common/turbine/rappor.jar" to: "out/soong/.intermediates/external/rappor/rappor/android_common/turbine/rappor.jar" } copy_before: { from: "out/soong/.intermediates/external/tagsoup/tagsoup/android_common/turbine/tagsoup.jar" to: "out/soong/.intermediates/external/tagsoup/tagsoup/android_common/turbine/tagsoup.jar" } copy_before: { from: "out/soong/.intermediates/frameworks/base/framework/android_common/repackaged-jarjar/turbine/framework.jar" to: "out/soong/.intermediates/frameworks/base/framework/android_common/repackaged-jarjar/turbine/framework.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/test-base/android.test.base.stubs.system.from-text/android_common/android.test.base.stubs.system.from-text/android.test.base.stubs.system.from-text.jar" to: "out/soong/.intermediates/frameworks/base/test-base/android.test.base.stubs.system.from-text/android_common/android.test.base.stubs.system.from-text/android.test.base.stubs.system.from-text.jar" } copy_before: { from: "out/soong/.intermediates/libcore/art.module.public.api.stubs.module_lib.from-text/android_common/art.module.public.api.stubs.module_lib.from-text/art.module.public.api.stubs.module_lib.from-text.jar" to: "out/soong/.intermediates/libcore/art.module.public.api.stubs.module_lib.from-text/android_common/art.module.public.api.stubs.module_lib.from-text/art.module.public.api.stubs.module_lib.from-text.jar" } copy_before: { from: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine/core-lambda-stubs.jar" to: "out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine/core-lambda-stubs.jar" } copy_before: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/busybox/R.jar" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/busybox/R.jar" } copy_before: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/combined/SdkSandboxTestUtilsExampleTestSdk.jar" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/combined/SdkSandboxTestUtilsExampleTestSdk.jar" } copy_before: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/manifest_fixer/AndroidManifest.xml" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/manifest_fixer/AndroidManifest.xml" } copy_before: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/repackaged-jarjar/turbine/CtsSdkSandboxTestRunner.jar" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/repackaged-jarjar/turbine/CtsSdkSandboxTestRunner.jar" } copy_before: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/turbine-combined/CtsSdkSandboxTestRunner.jar" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/turbine-combined/CtsSdkSandboxTestRunner.jar" } copy_before: { from: "out/soong/lint/annotations-public.zip" to: "out/soong/lint/annotations-public.zip" } copy_before: { from: "out/soong/lint/api_versions_public.xml" to: "out/soong/lint/api_versions_public.xml" } copy_before: { from: "prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar" to: "prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar" } chdir: true command: "cp __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/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 SdkSandboxTestUtilsExampleTestSdk --test --manifest __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/manifest_fixer/AndroidManifest.xml --merged_manifest __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/manifest_fixer/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/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/combined/SdkSandboxTestUtilsExampleTestSdk.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/libcore/art.module.public.api.stubs.module_lib.from-text/android_common/art.module.public.api.stubs.module_lib.from-text/art.module.public.api.stubs.module_lib.from-text.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/conscrypt/conscrypt.module.platform.api.stubs.from-text/android_common/conscrypt.module.platform.api.stubs.from-text/conscrypt.module.platform.api.stubs.from-text.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/icu/android_icu4j/stable.i18n.module.platform.api.stubs.from-text/android_common/stable.i18n.module.platform.api.stubs.from-text/stable.i18n.module.platform.api.stubs.from-text.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/libcore/core-lambda-stubs/android_common/turbine/core-lambda-stubs.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/busybox/R.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/libphonenumber/libphonenumber-platform/android_common/turbine/libphonenumber-platform.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/tagsoup/tagsoup/android_common/turbine/tagsoup.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/external/rappor/rappor/android_common/turbine/rappor.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/framework/android_common/turbine-combined/framework.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/framework/android_common/repackaged-jarjar/turbine/framework.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/frameworks/base/test-base/android.test.base.stubs.system.from-text/android_common/android.test.base.stubs.system.from-text/android.test.base.stubs.system.from-text.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/turbine-combined/CtsSdkSandboxTestRunner.jar --classpath __SBOX_SANDBOX_DIR__/out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/testrunner/CtsSdkSandboxTestRunner/android_common/repackaged-jarjar/turbine/CtsSdkSandboxTestRunner.jar --extra_checks_jar prebuilts/cmdline-tools/AndroidGlobalLintChecker.jar --root_dir $PWD --cache_dir out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/cache @build/soong/java/lint_defaults.txt && rm -rf out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/cache out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/home && mkdir -p out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/cache out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/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/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/home SDK_ANNOTATIONS=__SBOX_SANDBOX_DIR__/out/soong/lint/annotations-public.zip LINT_OPTS=-DLINT_API_DATABASE=__SBOX_SANDBOX_DIR__/out/soong/lint/api_versions_public.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 35 --java-language-level 17 --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/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/cache out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/home && sed -i.tmp -e 's|Check performed at .*\\(\\)|\\1|' __SBOX_SANDBOX_DIR__/out/lint-report.html" copy_after: { from: "out/lint-baseline.xml" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/lint-baseline.xml" } copy_after: { from: "out/lint-report.html" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/lint-report.html" } copy_after: { from: "out/lint-report.txt" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/lint-report.txt" } copy_after: { from: "out/lint-report.xml" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/lint-report.xml" } copy_after: { from: "out/lint-srcs.list" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/lint-srcs.list" } copy_after: { from: "out/suggested-fixes.zip" to: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint/suggested-fixes.zip" } input_hash: "bed9ce96b1b3df538c091a19b031fe50227dec1935ce60287d878446ab0a63c9" rsp_files: { file: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint-srcs.list.rsp" path_mappings: { from: "out/soong/.intermediates/packages/modules/AdServices/sdksandbox/tests/testutils/testscenario/example/sdk/SdkSandboxTestUtilsExampleTestSdk/android_common/lint" 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 }