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