Add presubmit check to enforce that we don't add "#pragma comment(lib" anymore.
BUG=597028
Review URL: https://codereview.chromium.org/1847353003
Cr-Commit-Position: refs/heads/master@{#384754}
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index fb3d60f..33e704e 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -270,6 +270,14 @@
r'^base[\\\/]message_loop[\\\/].*',
),
),
+ (
+ '#pragma comment(lib,',
+ (
+ 'Specify libraries to link with in build files and not in the source.',
+ ),
+ True,
+ (),
+ ),
)
_IPC_ENUM_TRAITS_DEPRECATED = (