1 # 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.
5 """Top-level presubmit for //net
7 See https://www.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into depot_tools.
11 PRESUBMIT_VERSION = '2.0.0'
13 def CheckChange(input_api, output_api):
15 old_sys_path = sys.path[:]
18 sys.path.append(input_api.change.RepositoryRoot())
19 from build.ios import presubmit_support
20 results += presubmit_support.CheckBundleData(
23 'data/test_bundle_data',
25 results += presubmit_support.CheckBundleData(
28 'data/test_support_bundle_data',
30 results += presubmit_support.CheckBundleData(
33 'third_party/nist-pkits/test_bundle_data',
34 globroot='third_party/nist-pkits')
36 sys.path = old_sys_path