Setting enable_proguard_obfuscation = false in args.gn seems to have stopped working. I get the following error when I run "gn gen out/foo":
ERROR at //chrome/android/BUILD.gn:1507:11: Assignment had no effect.
[ "//base/android/proguard/disable_chromium_obfuscation.flags" ]
^--------------------------------------------------------------
You set the variable "proguard_config_exclusions" here and it was unused before it went
out of scope.
See //chrome/android/BUILD.gn:1491:3: whence it was called.
instrumentation_test_apk("monochrome_public_test_ar_apk") {
^----------------------------------------------------------
See //BUILD.gn:329:9: which caused the file to be included.
"//chrome/android:chrome_junit_tests",
^------------------------------------
I thought this might be related to the recent upgrade to pylint 1.5.x but adding #pylint: disable=W0612 doesn't help.
Just deleting the variable assignment does seem to work.
Assigning to bsheedy as he recently added the relevant line in BUILD.gn in this CL: https://chromium-review.googlesource.com/c/chromium/src/+/1101958
Comment 1 by bugdroid1@chromium.org
, Jul 25