Index: chrome/chrome_browser.gypi |
diff --git a/chrome/chrome_browser.gypi b/chrome/chrome_browser.gypi |
index a57476469bcd76b12d118f8167facdf2f850620f..e632f3d470f188495a73468897512284ad72f956 100644 |
--- a/chrome/chrome_browser.gypi |
+++ b/chrome/chrome_browser.gypi |
@@ -152,6 +152,8 @@ |
'browser/autofill/autofill_metrics.h', |
'browser/autofill/autofill_profile.cc', |
'browser/autofill/autofill_profile.h', |
+ 'browser/autofill/autofill_regex_constants.cc.utf8', |
+ 'browser/autofill/autofill_regex_constants.h', |
'browser/autofill/autofill_regexes.cc', |
'browser/autofill/autofill_regexes.h', |
'browser/autofill/autofill_scanner.cc', |
@@ -3843,7 +3845,23 @@ |
'<(grit_out_dir)/grit/theme_resources_map.cc', |
'<(grit_out_dir)/grit/theme_resources_large_map.cc', |
'<(grit_out_dir)/grit/theme_resources_standard_map.cc', |
+ |
+ # This file is generated by the autofill_regexes action. |
+ '<(INTERMEDIATE_DIR)/autofill_regex_constants.cc', |
], |
+ 'actions': [{ |
+ 'action_name': 'autofill_regexes', |
+ 'inputs': [ |
+ '<(DEPTH)/build/escape_unicode.py', |
+ 'browser/autofill/autofill_regex_constants.cc.utf8', |
+ ], |
+ 'outputs': [ |
+ '<(INTERMEDIATE_DIR)/autofill_regex_constants.cc', |
+ ], |
+ 'action': ['python', '<(DEPTH)/build/escape_unicode.py', |
+ '-o', '<(INTERMEDIATE_DIR)', |
+ 'browser/autofill/autofill_regex_constants.cc.utf8'], |
+ }], |
'conditions': [ |
['debug_devtools==1', { |
'defines': [ |