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

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

Issue 728553002: Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 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 'includes': [
7 'mojom_bindings_generator_variables.gypi',
8 ],
6 'rules': [ 9 'rules': [
7 { 10 {
8 'rule_name': '<(_target_name)_mojom_bindings_generator', 11 'rule_name': '<(_target_name)_mojom_bindings_generator',
9 'extension': 'mojom', 12 'extension': 'mojom',
10 'variables': { 13 'variables': {
11 'mojom_base_output_dir': 14 'mojom_base_output_dir':
12 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', 15 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
13 'mojom_bindings_generator':
14 '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py',
15 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', 16 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
16 'mojom_import_args%': [ 17 'mojom_import_args%': [
17 '-I<(DEPTH)' 18 '-I<(DEPTH)'
18 ], 19 ],
19 }, 20 },
20 'inputs': [ 21 'inputs': [
21 '<(mojom_bindings_generator)', 22 '<@(mojom_bindings_generator_sources)',
22 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/enum_decla ration.tmpl',
23 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ declaration.tmpl',
24 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ definition.tmpl',
25 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ macros.tmpl',
26 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ proxy_declaration.tmpl',
27 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ request_validator_declaration.tmpl',
28 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ response_validator_declaration.tmpl',
29 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/interface_ stub_declaration.tmpl',
30 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.cc. tmpl',
31 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module.h.t mpl',
32 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/module-int ernal.h.tmpl',
33 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/params_def inition.tmpl',
34 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_dec laration.tmpl',
35 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_def inition.tmpl',
36 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_mac ros.tmpl',
37 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_ser ialization_declaration.tmpl',
38 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/struct_ser ialization_definition.tmpl',
39 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_cl ass_declaration.tmpl',
40 '<(DEPTH)/mojo/public/tools/bindings/generators/cpp_templates/wrapper_cl ass_definition.tmpl',
41 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/constant_ definition.tmpl',
42 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/constants .java.tmpl',
43 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/enum_defi nition.tmpl',
44 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/enum.java .tmpl',
45 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/header.ja va.tmpl',
46 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface _definition.tmpl',
47 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface .java.tmpl',
48 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/interface _internal.java.tmpl',
49 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/struct_de finition.tmpl',
50 '<(DEPTH)/mojo/public/tools/bindings/generators/java_templates/struct.ja va.tmpl',
51 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/enum_defini tion.tmpl',
52 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/interface_d efinition.tmpl',
53 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module_defi nition.tmpl',
54 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module.amd. tmpl',
55 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/module.sky. tmpl',
56 '<(DEPTH)/mojo/public/tools/bindings/generators/js_templates/struct_defi nition.tmpl',
57 '<(DEPTH)/mojo/public/tools/bindings/generators/python_templates/module_ macros.tmpl',
58 '<(DEPTH)/mojo/public/tools/bindings/generators/python_templates/module. py.tmpl',
59 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_cpp_generator.py',
60 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_java_generator.py' ,
61 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_js_generator.py',
62 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_python_generator.p y',
63 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/__init__.py',
64 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/error.py',
65 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/__init__.py',
66 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/data.py',
67 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/generator.py',
68 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/module.py',
69 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/pack.py',
70 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/template_expan der.py',
71 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/__init__.py',
72 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/ast.py',
73 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/lexer.py',
74 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/parser.py',
75 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/translate.py',
76 ], 23 ],
77 'outputs': [ 24 'outputs': [
78 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc', 25 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc',
79 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h', 26 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h',
80 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js', 27 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js',
81 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT)_mojom.py', 28 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT)_mojom.py',
82 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h', 29 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h',
83 ], 30 ],
84 'action': [ 31 'action': [
85 'python', '<@(mojom_bindings_generator)', 32 'python', '<@(mojom_bindings_generator)',
(...skipping 18 matching lines...) Expand all
104 '<(SHARED_INTERMEDIATE_DIR)', 51 '<(SHARED_INTERMEDIATE_DIR)',
105 ], 52 ],
106 'variables': { 53 'variables': {
107 'generated_src_dirs': [ 54 'generated_src_dirs': [
108 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', 55 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
109 ], 56 ],
110 }, 57 },
111 }, 58 },
112 'hard_dependency': 1, 59 'hard_dependency': 1,
113 } 60 }
OLDNEW
« no previous file with comments | « mojo/public/python/mojo/system.pyx ('k') | mojo/public/tools/bindings/mojom_bindings_generator_explicit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698