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

Unified 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, 11 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 side-by-side diff with in-line comments
Download patch
Index: ui/accessibility/accessibility.gyp
diff --git a/ui/accessibility/accessibility.gyp b/ui/accessibility/accessibility.gyp
index 2db99d636ce93e90c3c68d571e99a3e5a0d56427..ed3659197d7ebf57022e90ca2e639715746c14db 100644
--- a/ui/accessibility/accessibility.gyp
+++ b/ui/accessibility/accessibility.gyp
@@ -12,6 +12,7 @@
'target_name': 'accessibility',
'type': '<(component)',
'dependencies': [
+ ':ax',
'../../base/base.gyp:base',
'../gfx/gfx.gyp:gfx',
'../gfx/gfx.gyp:gfx_geometry',
@@ -54,5 +55,28 @@
'ax_tree_unittest.cc',
]
},
+ {
+ 'target_name': 'ax',
+ 'type': 'static_library',
+ 'sources': [
+ '<@(schema_files)',
+ ],
+ 'msvs_disabled_warnings': [ 4267 ],
+ 'includes': [
+ '../../build/json_schema_bundle_compile.gypi',
+ '../../build/json_schema_compile.gypi',
+ ],
+ 'variables': {
+ 'chromium_code': 1,
+ 'schema_files': [
+ '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
+ ],
+ 'non_compiled_schema_files': [],
+ 'cc_dir': 'ui/accessibility',
+ # TODO(dtseng): Change this once all files under ui/accessibility
+ # namespaced under ui::ax.
+ 'root_namespace': '',
+ },
+ },
],
}

Powered by Google App Engine
This is Rietveld 408576698