Reads network quality provided by the NQE and compares it
[chromium-blink-merge.git] / tools / json_schema_compiler / test / json_schema_compiler_tests.gyp
blob404e9b09b565335f0b0cf0a498f3b7637bc80d69
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //tools/json_schema_compiler:test
9       'target_name': 'json_schema_compiler_tests',
10       'type': 'static_library',
11       'variables': {
12         'chromium_code': 1,
13         'schema_files': [
14           'additional_properties.json',
15           'any.json',
16           'arrays.json',
17           'callbacks.json',
18           'choices.json',
19           'crossref.json',
20           'enums.json',
21           'functions_as_parameters.json',
22           'functions_on_types.json',
23           'idl_basics.idl',
24           'idl_other_namespace.idl',
25           'idl_other_namespace_sub_namespace.idl',
26           'idl_object_types.idl',
27           'objects.json',
28           'simple_api.json',
29           'error_generation.json'
30         ],
31         'cc_dir': 'tools/json_schema_compiler/test',
32         'root_namespace': 'test::api::%(namespace)s',
33       },
34       'inputs': [
35         '<@(schema_files)',
36       ],
37       'sources': [
38         '<@(schema_files)',
39         'test_util.cc',
40         'test_util.h',
41       ],
42       'includes': ['../../../build/json_schema_compile.gypi'],
43       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
44       'msvs_disabled_warnings': [4267, ],
45     },
46   ],