1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright (c) 2012 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.
{
'targets': [
{
# GN version: //tools/json_schema_compiler:test
'target_name': 'json_schema_compiler_tests',
'type': 'static_library',
'variables': {
'chromium_code': 1,
'schema_files': [
'additional_properties.json',
'any.json',
'arrays.json',
'callbacks.json',
'choices.json',
'crossref.json',
'enums.json',
'functions_as_parameters.json',
'functions_on_types.json',
'idl_basics.idl',
'idl_other_namespace.idl',
'idl_other_namespace_sub_namespace.idl',
'idl_object_types.idl',
'objects.json',
'simple_api.json',
'error_generation.json'
],
'cc_dir': 'tools/json_schema_compiler/test',
'root_namespace': 'test::api::%(namespace)s',
},
'inputs': [
'<@(schema_files)',
],
'sources': [
'<@(schema_files)',
'test_util.cc',
'test_util.h',
],
'includes': ['../../../build/json_schema_compile.gypi'],
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
],
}
|