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

Side by Side Diff: mojo/public/tools/bindings/mojom_bindings_generator.gypi

Issue 273233002: Mojo cpp bindings: add support for validating incoming messages. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync and rebase Created 6 years, 7 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
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'rules': [ 6 'rules': [
7 { 7 {
8 'rule_name': 'Generate C++ source files from mojom files', 8 'rule_name': 'Generate C++ source files from mojom files',
9 'extension': 'mojom', 9 'extension': 'mojom',
10 'variables': { 10 'variables': {
11 # TODO(sky): uncomment this once gyp bug fixed and remove explicit 11 # TODO(sky): uncomment this once gyp bug fixed and remove explicit
12 # setting everywhere 12 # setting everywhere
13 # 'mojom_base_output_dir': 13 # 'mojom_base_output_dir':
14 # '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', 14 # '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
15 'mojom_bindings_generator': 15 'mojom_bindings_generator':
16 '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py', 16 '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py',
17 }, 17 },
18 'inputs': [ 18 'inputs': [
19 '<(mojom_bindings_generator)', 19 '<(mojom_bindings_generator)',
20 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_decla ration.tmpl', 20 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_decla ration.tmpl',
21 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_trait s.tmpl', 21 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_trait s.tmpl',
22 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ declaration.tmpl', 22 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ declaration.tmpl',
23 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ definition.tmpl', 23 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ definition.tmpl',
24 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ macros.tmpl', 24 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ macros.tmpl',
25 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ proxy_declaration.tmpl', 25 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ proxy_declaration.tmpl',
26 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ request_validator_declaration.tmpl',
27 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ response_validator_declaration.tmpl',
26 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ stub_declaration.tmpl', 28 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ stub_declaration.tmpl',
27 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.cc. tmpl', 29 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.cc. tmpl',
28 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.h.t mpl', 30 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.h.t mpl',
29 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module-int ernal.h.tmpl', 31 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module-int ernal.h.tmpl',
30 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/params_def inition.tmpl', 32 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/params_def inition.tmpl',
31 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_bui lder_definition.tmpl', 33 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_bui lder_definition.tmpl',
32 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_dec laration.tmpl', 34 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_dec laration.tmpl',
33 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_def inition.tmpl', 35 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_def inition.tmpl',
34 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_des tructor.tmpl', 36 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_des tructor.tmpl',
35 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_mac ros.tmpl', 37 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_mac ros.tmpl',
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 '<(SHARED_INTERMEDIATE_DIR)', 78 '<(SHARED_INTERMEDIATE_DIR)',
77 ], 79 ],
78 'direct_dependent_settings': { 80 'direct_dependent_settings': {
79 'include_dirs': [ 81 'include_dirs': [
80 '<(DEPTH)', 82 '<(DEPTH)',
81 '<(SHARED_INTERMEDIATE_DIR)', 83 '<(SHARED_INTERMEDIATE_DIR)',
82 ], 84 ],
83 }, 85 },
84 'hard_dependency': 1, 86 'hard_dependency': 1,
85 } 87 }
OLDNEW
« no previous file with comments | « mojo/public/tools/bindings/mojom.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698