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 27 matching lines...) Expand all Loading... |
38 ], | 38 ], |
39 'sources': [ | 39 'sources': [ |
40 '<@(schema_files)', | 40 '<@(schema_files)', |
41 'test_util.cc', | 41 'test_util.cc', |
42 'test_util.h', | 42 'test_util.h', |
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 { |
| 49 'target_name': 'feature_compiler_tests', |
| 50 'type': 'static_library', |
| 51 'variables': { |
| 52 'feature_class': 'APIFeature', |
| 53 'provider_class': 'TestAPIFeatureProvider', |
| 54 'out_dir': 'tools/json_schema_compiler/test', |
| 55 'out_base_filename': 'features_test', |
| 56 'in_files': [ |
| 57 'tools/json_schema_compiler/test/features_test.json', |
| 58 'tools/json_schema_compiler/test/features_test2.json', |
| 59 ], |
| 60 }, |
| 61 'inputs': ['<@(in_files)'], |
| 62 'sources': ['<@(in_files)'], |
| 63 'includes': ['../json_features.gypi'], |
| 64 }, |
48 ], | 65 ], |
49 } | 66 } |
OLD | NEW |