blob: c8bef10af0ddeea3204145fefefab95c80bd9d87 [file] [log] [blame]
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Top-level presubmit script for components/viz."""
def CheckChangeOnUpload(input_api, output_api):
import sys
original_sys_path = sys.path
sys.path = sys.path + [input_api.os_path.join(
'components', 'viz')]
import presubmit_checks as ps
return ps.RunAllChecks(input_api, output_api, white_list)