Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Side by Side Diff: tools/json_schema_compiler/test/json_schema_compiler_tests.gyp

Issue 22228002: Add optional schema compiler error messages (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced up to latest master. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 'schema_files': [ 12 'schema_files': [
13 'additional_properties.json', 13 'additional_properties.json',
14 'any.json', 14 'any.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', 22 'idl_basics.idl',
23 'idl_object_types.idl', 23 'idl_object_types.idl',
24 'objects.json', 24 'objects.json',
25 'simple_api.json', 25 'simple_api.json',
26 'error_generation.json'
26 ], 27 ],
27 'cc_dir': 'tools/json_schema_compiler/test', 28 'cc_dir': 'tools/json_schema_compiler/test',
28 'root_namespace': 'test::api', 29 'root_namespace': 'test::api',
29 }, 30 },
30 'inputs': [ 31 'inputs': [
31 '<@(schema_files)', 32 '<@(schema_files)',
32 ], 33 ],
33 'sources': [ 34 'sources': [
34 '<@(schema_files)', 35 '<@(schema_files)',
35 'test_util.cc', 36 'test_util.cc',
36 'test_util.h', 37 'test_util.h',
37 ], 38 ],
38 'includes': ['../../../build/json_schema_compile.gypi'], 39 'includes': ['../../../build/json_schema_compile.gypi'],
39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 40 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
40 'msvs_disabled_warnings': [4267, ], 41 'msvs_disabled_warnings': [4267, ],
41 }, 42 },
42 ], 43 ],
43 } 44 }
OLDNEW
« no previous file with comments | « tools/json_schema_compiler/test/error_generation_unittest.cc ('k') | tools/json_schema_compiler/util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698