summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Tseng <hinoka@google.com>2018-07-24 00:27:55 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-07-24 00:27:55 +0000
commit9a9486159b0661eab4d9f3130b3b5e1f23b22066 (patch)
tree3df02cf1caba3166ddecf397b00caeb679f64862
parent0011794a2776c9bac715921b07286bf7de0c0048 (diff)
downloadpdfium-9a9486159b0661eab4d9f3130b3b5e1f23b22066.tar.xz
Add PRESUBMIT.py for infra/config branch
Change-Id: I54822eda40002b5d15cde7cd3b48bcddee90f1a2 Reviewed-on: https://pdfium-review.googlesource.com/38711 Commit-Queue: Ryan Tseng <hinoka@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org>
-rw-r--r--PRESUBMIT.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
new file mode 100644
index 0000000000..01ec0eed29
--- /dev/null
+++ b/PRESUBMIT.py
@@ -0,0 +1,11 @@
+# Copyright 2018 The PDFium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+def CheckChangeOnUpload(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)
+
+
+def CheckChangeOnCommit(input_api, output_api):
+ return input_api.canned_checks.CheckChangedLUCIConfigs(input_api, output_api)