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', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 ], | 43 ], |
44 'includes': ['../../../build/json_schema_compile.gypi'], | 44 'includes': ['../../../build/json_schema_compile.gypi'], |
45 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 45 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
46 'msvs_disabled_warnings': [4267, ], | 46 'msvs_disabled_warnings': [4267, ], |
47 }, | 47 }, |
48 { | 48 { |
49 'target_name': 'feature_compiler_tests', | 49 'target_name': 'feature_compiler_tests', |
50 'type': 'static_library', | 50 'type': 'static_library', |
51 'variables': { | 51 'variables': { |
52 'feature_class': 'APIFeature', | 52 'feature_class': 'APIFeature', |
53 'provider_class': 'TestAPIFeatureProvider', | 53 'provider_class': 'CompilerTestFeatureProvider', |
54 'out_dir': 'tools/json_schema_compiler/test', | 54 'out_dir': 'tools/json_schema_compiler/test', |
55 'out_base_filename': 'features_test', | 55 'out_base_filename': 'features_compiler_test', |
56 'in_files': [ | 56 'in_files': [ |
57 'tools/json_schema_compiler/test/features_test.json', | 57 'tools/json_schema_compiler/test/features_test.json', |
58 'tools/json_schema_compiler/test/features_test2.json', | 58 'tools/json_schema_compiler/test/features_test2.json', |
59 ], | 59 ], |
60 }, | 60 }, |
61 'inputs': ['<@(in_files)'], | 61 'inputs': ['<@(in_files)'], |
62 'sources': ['<@(in_files)'], | 62 'sources': ['<@(in_files)'], |
63 'includes': ['../json_features.gypi'], | 63 'includes': ['../json_features.gypi'], |
64 }, | 64 }, |
65 ], | 65 ], |
66 } | 66 } |
OLD | NEW |