From b52e2f10b227dfb5aaca96019bec5660e2045a85 Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Sun, 25 May 2025 16:39:10 +0200 Subject: [PATCH] [TOOLS] Disable android java static analysis Java static analyses, which are active only in the debug version, are currently not working. --- build/cromite.gn_args | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build/cromite.gn_args b/build/cromite.gn_args index 0b26f49d..f827aae4 100644 --- a/build/cromite.gn_args +++ b/build/cromite.gn_args @@ -4,10 +4,8 @@ build_contextual_search=false build_with_tflite_lib=false chrome_pgo_phase=0 dcheck_always_on=false -dfmify_dev_ui=false disable_android_lint=true disable_fieldtrial_testing_config=true -enable_gvr_services=false enable_hangout_services_extension=false enable_iterator_debugging=false enable_mdns=false @@ -119,6 +117,9 @@ if (target_os == "android") { chrome_pgo_phase = 2 # enable pgo + # do not split Developer UI split into a separate Dynamic Feature Module + dfmify_dev_ui = false + if (getenv("USE_KEYSTORE") != "") { android_keystore_path = "/home/lg/working_dir/cromite.keystore" android_keystore_name = "cromite" @@ -136,6 +137,9 @@ if (target_os == "android") { symbol_level = 1 strip_debug_info = false generate_linker_map = false + + # Disable static analysis + android_static_analysis = "off" } else { generate_linker_map = true }