aboutsummaryrefslogtreecommitdiff
path: root/infra/config/PRESUBMIT.py
diff options
context:
space:
mode:
authorSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-25 16:27:50 +0000
committerSadaf Ebrahimi <sadafebrahimi@google.com>2023-08-25 16:27:50 +0000
commit678702573531f19ae36847a6a07257aaae623fbe (patch)
tree5d9b28c2e73f9d5e76d9556181a6cf73ac4bd182 /infra/config/PRESUBMIT.py
parent8ef2efc6534659701bc7114e57133207547f60e7 (diff)
downloadlibyuv-678702573531f19ae36847a6a07257aaae623fbe.tar.gz
Move libyuv/files/ directly under libyuv
Test: TreeHugger Merged-In: I773d1ae01539cc5d200768b526f10b2922567f72 Change-Id: I4ba1f1e781d7fd3ad96639dfdc08f654e45ae3d3
Diffstat (limited to 'infra/config/PRESUBMIT.py')
-rw-r--r--infra/config/PRESUBMIT.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/infra/config/PRESUBMIT.py b/infra/config/PRESUBMIT.py
new file mode 100644
index 00000000..f79e08ad
--- /dev/null
+++ b/infra/config/PRESUBMIT.py
@@ -0,0 +1,13 @@
+# 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.
+
+USE_PYTHON3 = True
+
+
+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)