1# Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. 2# 3# Use of this source code is governed by a BSD-style license 4# that can be found in the LICENSE file in the root of the source 5# tree. An additional intellectual property rights grant can be found 6# in the file PATENTS. All contributing project authors may 7# be found in the AUTHORS file in the root of the source tree. 8 9USE_PYTHON3 = True 10 11 12def CheckChangeOnUpload(input_api, output_api): 13 return input_api.RunTests( 14 input_api.canned_checks.CheckLucicfgGenOutput( 15 input_api, output_api, 16 'config.star')) + input_api.canned_checks.CheckChangedLUCIConfigs( 17 input_api, output_api) 18 return res 19 20 21def CheckChangeOnCommit(input_api, output_api): 22 return CheckChangeOnUpload(input_api, output_api) 23