From 9a9486159b0661eab4d9f3130b3b5e1f23b22066 Mon Sep 17 00:00:00 2001 From: Ryan Tseng Date: Tue, 24 Jul 2018 00:27:55 +0000 Subject: Add PRESUBMIT.py for infra/config branch Change-Id: I54822eda40002b5d15cde7cd3b48bcddee90f1a2 Reviewed-on: https://pdfium-review.googlesource.com/38711 Commit-Queue: Ryan Tseng Reviewed-by: Lei Zhang --- PRESUBMIT.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 PRESUBMIT.py 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) -- cgit v1.2.3