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