Exclude chrome_browser_main.cc's printf in PRESUBMIT.py.

The printf in that file is legitimate, so it shouldn't
trigger the warning.

BUG=none
NOTRY=true

Review URL: https://codereview.chromium.org/103133002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238522 0039d316-1c4b-4281-b951-d872f2087c98
parent a0a4460f
...@@ -866,8 +866,9 @@ def _CheckSpamLogging(input_api, output_api): ...@@ -866,8 +866,9 @@ def _CheckSpamLogging(input_api, output_api):
_TEST_CODE_EXCLUDED_PATHS + _TEST_CODE_EXCLUDED_PATHS +
input_api.DEFAULT_BLACK_LIST + input_api.DEFAULT_BLACK_LIST +
(r"^base[\\\/]logging\.h$", (r"^base[\\\/]logging\.h$",
r"^chrome[\\\/]browser[\\\/]chrome_browser_main\.cc$",
r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]" r"^chrome[\\\/]renderer[\\\/]extensions[\\\/]"
r"logging_native_handler\.cc", r"logging_native_handler\.cc$",
r"^remoting[\\\/]base[\\\/]logging\.h$", r"^remoting[\\\/]base[\\\/]logging\.h$",
r"^sandbox[\\\/]linux[\\\/].*",)) r"^sandbox[\\\/]linux[\\\/].*",))
source_file_filter = lambda x: input_api.FilterSourceFile( source_file_filter = lambda x: input_api.FilterSourceFile(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment