Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: PRESUBMIT.py

Issue 1719083002: Fixing include guards, and presubmit. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 1ad3a5ea3e3339ac60f85cb8323c128271c016bd..6f19e24a465267508d51978e286b662c047381cd 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -8,7 +8,14 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presubmit API built into depot_tools.
"""
+LINT_FILTERS = [
+ '-',
+ '+build/header_guard',
+]
+
def CheckChangeOnUpload(input_api, output_api):
results = []
results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api)
+ results += input_api.canned_checks.CheckChangeLintsClean(
+ input_api, output_api, None, LINT_FILTERS)
return results
« no previous file with comments | « no previous file | fpdfsdk/include/fpdfxfa/fpdfxfa_page.h » ('j') | xfa/src/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698