OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'json_schema_compiler_tests', | 8 'target_name': 'json_schema_compiler_tests', |
9 'type': 'static_library', | 9 'type': 'static_library', |
10 'variables': { | 10 'variables': { |
11 'chromium_code': 1, | 11 'chromium_code': 1, |
12 'json_schema_files': [ | 12 'schema_files': [ |
| 13 'additional_properties.json', |
13 'any.json', | 14 'any.json', |
14 'additional_properties.json', | |
15 'arrays.json', | 15 'arrays.json', |
16 'callbacks.json', | 16 'callbacks.json', |
17 'choices.json', | 17 'choices.json', |
18 'crossref.json', | 18 'crossref.json', |
19 'enums.json', | 19 'enums.json', |
20 'functions_as_parameters.json', | 20 'functions_as_parameters.json', |
21 'functions_on_types.json', | 21 'functions_on_types.json', |
| 22 'idl_basics.idl', |
| 23 'idl_object_types.idl', |
22 'objects.json', | 24 'objects.json', |
23 'simple_api.json', | 25 'simple_api.json', |
24 ], | 26 ], |
25 'idl_schema_files': [ | |
26 'idl_basics.idl', | |
27 'idl_object_types.idl' | |
28 ], | |
29 'cc_dir': 'tools/json_schema_compiler/test', | 27 'cc_dir': 'tools/json_schema_compiler/test', |
30 'root_namespace': 'test::api', | 28 'root_namespace': 'test::api', |
31 }, | 29 }, |
32 'inputs': [ | 30 'inputs': [ |
33 '<@(idl_schema_files)', | 31 '<@(schema_files)', |
34 ], | 32 ], |
35 'sources': [ | 33 'sources': [ |
36 '<@(json_schema_files)', | 34 '<@(schema_files)', |
37 '<@(idl_schema_files)', | |
38 ], | 35 ], |
39 'includes': ['../../../build/json_schema_compile.gypi'], | 36 'includes': ['../../../build/json_schema_compile.gypi'], |
40 }, | 37 }, |
41 ], | 38 ], |
42 } | 39 } |
OLD | NEW |