blob: 7e4f4590452f11ab2e624b6758c7150effd13fc1 [file] [log] [blame]
Tiago Vignatti142491c82023-02-17 14:29:261# Copyright 2023 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
Ian Vollick63109f692023-03-02 03:24:175"""Presubmit checks for ui/gfx
Tiago Vignatti142491c82023-02-17 14:29:266
7See https://www.chromium.org/developers/how-tos/depottools/presubmit-scripts
8for more details about the presubmit API built into depot_tools.
9"""
10
11PRESUBMIT_VERSION = '2.0.0'
12
Tiago Vignatti142491c82023-02-17 14:29:2613def CheckChange(input_api, output_api):
14 import sys
15 old_sys_path = sys.path[:]
16 results = []
17 try:
18 sys.path.append(input_api.change.RepositoryRoot())
19 from build.ios import presubmit_support
20 results += presubmit_support.CheckBundleData(
Gyuyoung Kime2447f82023-11-01 16:34:2721 input_api, output_api, 'test/data/codec/unit_tests_bundle_data')
22 results += presubmit_support.CheckBundleData(
23 input_api, output_api,
24 'test/data/compositor/unit_tests_bundle_data')
Tiago Vignatti142491c82023-02-17 14:29:2625 finally:
26 sys.path = old_sys_path
27 return results