Files
brave-core/patches/build-android-gyp-proguard.py.patch
T

13 lines
617 B
Diff

diff --git a/build/android/gyp/proguard.py b/build/android/gyp/proguard.py
index 06ac6b77b543fd444ee6e2fcfa66afcc2e559e12..b14a202c551c8efc9eba01857d2fed9c7fe161cd 100755
--- a/build/android/gyp/proguard.py
+++ b/build/android/gyp/proguard.py
@@ -393,6 +393,7 @@ def _OptimizeWithR8(options, config_paths, libraries, dynamic_config_data):
'--pg-map-output',
tmp_mapping_path,
]
+ cmd.remove('--map-id-template'); cmd.remove(f'{options.source_file} ({options.package_name})') # required to omit package check for mapping file
if options.uses_split:
cmd += ['--isolated-splits']