From 3b2e1a333a2bc787c88672638548d881e7008a8d Mon Sep 17 00:00:00 2001 From: Carmelo Messina Date: Mon, 6 Mar 2023 21:14:50 +0100 Subject: [PATCH] fix android build --- build/patches/00111-temp-fix-build.patch | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/build/patches/00111-temp-fix-build.patch b/build/patches/00111-temp-fix-build.patch index c6836b5e..68d67b90 100644 --- a/build/patches/00111-temp-fix-build.patch +++ b/build/patches/00111-temp-fix-build.patch @@ -3,15 +3,22 @@ Date: Mon, 6 Mar 2023 10:13:05 +0000 Subject: 111 temp fix build --- - build/config/android/rules.gni | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) + build/config/android/rules.gni | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni --- a/build/config/android/rules.gni +++ b/build/config/android/rules.gni -@@ -5083,8 +5083,8 @@ if (enable_java_templates && is_android) { +@@ -5077,14 +5077,14 @@ if (enable_java_templates && is_android) { + _all_module_unused_resources_deps = [] + foreach(_module, _modules) { + _module_target = _module.module_target +- _module_target_name = get_label_info(_module_target, "name") + _module_build_config = _module.build_config + _module_build_config_target = _module.build_config_target if (!_proguard_enabled) { ++ _module_target_name = get_label_info(_module_target, "name") _dex_target = "${_module_target_name}__final_dex" - _rebased_module_build_config = - rebase_path(_module_build_config, root_build_dir)