• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2020 The ChromiumOS Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import sys
6
7USE_PYTHON3 = True
8
9# TODO(https://crbug.com/1046543): is there a better way to do this cross
10# repo import?
11sys.path.insert(1, 'config/presubmit')
12import presubmits
13
14def CheckChangeOnUpload(input_api, output_api):
15  return presubmits.CheckGenConfig(input_api, output_api)
16
17def CheckChangeOnCommit(input_api, output_api):
18  return presubmits.CheckGenConfig(input_api, output_api)
19