Browse Source

components: autofill: set -fbracket-depth=1000

Signed-off-by: Rebecca Chang Swee Fun <rebecca.chang@starfivetech.com>
Rebecca Chang Swee Fun 1 year ago
parent
commit
9cc2b9099d
1 changed files with 6 additions and 0 deletions
  1. 6 0
      components/autofill/core/browser/BUILD.gn

+ 6 - 0
components/autofill/core/browser/BUILD.gn

@@ -57,6 +57,12 @@ action("regex_patterns_inl_h") {
 }
 
 static_library("browser") {
+  if (is_clang) {
+    cflags = [
+      "-fbracket-depth=1000",
+    ]
+  }
+
   sources = [
     "address_normalization_manager.cc",
     "address_normalization_manager.h",