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': { |
(...skipping 22 matching lines...) Expand all Loading... |
33 ], | 33 ], |
34 'sources': [ | 34 'sources': [ |
35 '<@(schema_files)', | 35 '<@(schema_files)', |
36 'test_util.cc', | 36 'test_util.cc', |
37 'test_util.h', | 37 'test_util.h', |
38 ], | 38 ], |
39 'includes': ['../../../build/json_schema_compile.gypi'], | 39 'includes': ['../../../build/json_schema_compile.gypi'], |
40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
41 'msvs_disabled_warnings': [4267, ], | 41 'msvs_disabled_warnings': [4267, ], |
42 }, | 42 }, |
| 43 { |
| 44 'target_name': "features_generator_tests", |
| 45 'type': 'static_library', |
| 46 'variables': { |
| 47 'chromium_code': 1, |
| 48 'schema_files': [ |
| 49 'test_features.json' |
| 50 ], |
| 51 'cc_dir': 'tools/json_schema_compiler/test', |
| 52 'root_namespace': 'test::features', |
| 53 }, |
| 54 'inputs': [ |
| 55 '<@(schema_files)', |
| 56 ], |
| 57 'sources': [ |
| 58 '<@(schema_files)', |
| 59 ], |
| 60 'includes': ['../../../build/features_compile.gypi'] |
| 61 }, |
43 ], | 62 ], |
44 } | 63 } |
OLD | NEW |