aboutsummaryrefslogtreecommitdiff
path: root/infra/config/PRESUBMIT.py
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2024-05-03 23:40:04 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-05-03 23:40:04 +0000
commitc1068d3eb9464eb1e6028869524930c57feb716b (patch)
tree7aa355fd0b89ec0b2611e17ee84a14c6fa449e22 /infra/config/PRESUBMIT.py
parentad14b7e1bb4ad1db3cc083b70c9179f86b2e2052 (diff)
parenta270e88f71c875f86ebc612ff3232b204bbc75c9 (diff)
downloadlibyuv-androidx-glance-release.tar.gz
Merge "Snap for 11801295 from 488a2af021e3e7473f083a9435b1472c0d411f3d to androidx-glance-release" into androidx-glance-releaseandroidx-glance-release
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)