crashpad/infra/config/PRESUBMIT.py
Scott Graham 2951fbde52 Remove cq_name from cq.cfg, no longer required/allowed
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>
2018-10-18 22:33:43 +00:00

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)