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

Side by Side Diff: ui/accessibility/accessibility.gyp

Issue 143473003: Generate ax enums from idl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add allow custom filename property to top level idl. Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 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 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 }, 8 },
9 9
10 'targets': [ 10 'targets': [
11 { 11 {
12 'target_name': 'accessibility', 12 'target_name': 'accessibility',
13 'type': '<(component)', 13 'type': '<(component)',
14 'dependencies': [ 14 'dependencies': [
15 ':ax',
15 '../../base/base.gyp:base', 16 '../../base/base.gyp:base',
16 '../gfx/gfx.gyp:gfx', 17 '../gfx/gfx.gyp:gfx',
17 '../gfx/gfx.gyp:gfx_geometry', 18 '../gfx/gfx.gyp:gfx_geometry',
18 ], 19 ],
19 'defines': [ 20 'defines': [
20 'ACCESSIBILITY_IMPLEMENTATION', 21 'ACCESSIBILITY_IMPLEMENTATION',
21 ], 22 ],
22 'sources': [ 23 'sources': [
23 # All .cc, .h under accessibility, except unittests 24 # All .cc, .h under accessibility, except unittests
24 'ax_enums.h', 25 'ax_enums.h',
(...skipping 22 matching lines...) Expand all
47 '../gfx/gfx.gyp:gfx', 48 '../gfx/gfx.gyp:gfx',
48 '../gfx/gfx.gyp:gfx_geometry', 49 '../gfx/gfx.gyp:gfx_geometry',
49 'accessibility', 50 'accessibility',
50 ], 51 ],
51 'sources': [ 52 'sources': [
52 'ax_generated_tree_unittest.cc', 53 'ax_generated_tree_unittest.cc',
53 'ax_tree_serializer_unittest.cc', 54 'ax_tree_serializer_unittest.cc',
54 'ax_tree_unittest.cc', 55 'ax_tree_unittest.cc',
55 ] 56 ]
56 }, 57 },
58 {
59 'target_name': 'ax',
60 'type': 'static_library',
61 'sources': [
62 '<@(schema_files)',
63 ],
64 'msvs_disabled_warnings': [ 4267 ],
65 'includes': [
66 '../../build/json_schema_bundle_compile.gypi',
67 '../../build/json_schema_compile.gypi',
68 ],
69 'variables': {
70 'chromium_code': 1,
71 'schema_files': [
72 'ax_enums.idl',
not at google - send to devlin 2014/01/27 19:58:32 The reason why the filename thing is enforced is b
David Tseng 2014/01/27 20:04:24 That's exactly it. The cc generator and friends us
73 ],
74 'non_compiled_schema_files': [],
75 'cc_dir': 'ui/accessibility',
76 # TODO(dtseng): Change this once all files under ui/accessibility
77 # namespaced under ui::ax.
78 'root_namespace': '',
79 },
80 },
57 ], 81 ],
58 } 82 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698