Add IS_TIZEN_DA to fix build break in standard build.
[platform/framework/web/chromium-efl.git] / net / PRESUBMIT.py
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.
4
5 """Top-level presubmit for //net
6
7 See https://www.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into depot_tools.
9 """
10
11 PRESUBMIT_VERSION = '2.0.0'
12
13 def 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(
21             input_api,
22             output_api,
23             'data/test_bundle_data',
24             globroot='.')
25         results += presubmit_support.CheckBundleData(
26             input_api,
27             output_api,
28             'data/test_support_bundle_data',
29             globroot='.')
30         results += presubmit_support.CheckBundleData(
31             input_api,
32             output_api,
33             'third_party/nist-pkits/test_bundle_data',
34             globroot='third_party/nist-pkits')
35     finally:
36         sys.path = old_sys_path
37     return results