mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-26 23:01:05 +08:00
2951fbde52
Also add cq PRESUBMIT to validate future changes. TBR=iannucci@chromium.org Bug: chromium:892712 Change-Id: Ia2b3fe9550857939843fda738068aabec26942e2 Reviewed-on: https://chromium-review.googlesource.com/c/1289715 Reviewed-by: Scott Graham <scottmg@chromium.org>
20 lines
864 B
Python
20 lines
864 B
Python
# Copyright 2018 The Crashpad Authors. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
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)
|