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

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

Issue 728043002: Revert of 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 ],
9 'rules': [ 6 'rules': [
10 { 7 {
11 'rule_name': '<(_target_name)_mojom_bindings_generator', 8 'rule_name': '<(_target_name)_mojom_bindings_generator',
12 'extension': 'mojom', 9 'extension': 'mojom',
13 'variables': { 10 'variables': {
14 'mojom_base_output_dir': 11 'mojom_base_output_dir':
15 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))', 12 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
13 'mojom_bindings_generator':
14 '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py',
16 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', 15 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
17 'mojom_import_args%': [ 16 'mojom_import_args%': [
18 '-I<(DEPTH)' 17 '-I<(DEPTH)'
19 ], 18 ],
20 }, 19 },
21 'inputs': [ 20 'inputs': [
22 '<@(mojom_bindings_generator_sources)', 21 '<(mojom_bindings_generator)',
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',
23 ], 76 ],
24 'outputs': [ 77 'outputs': [
25 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc', 78 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc',
26 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h', 79 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h',
27 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js', 80 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js',
28 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT)_mojom.py', 81 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT)_mojom.py',
29 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h', 82 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h',
30 ], 83 ],
31 'action': [ 84 'action': [
32 'python', '<@(mojom_bindings_generator)', 85 'python', '<@(mojom_bindings_generator)',
(...skipping 18 matching lines...) Expand all
51 '<(SHARED_INTERMEDIATE_DIR)', 104 '<(SHARED_INTERMEDIATE_DIR)',
52 ], 105 ],
53 'variables': { 106 'variables': {
54 'generated_src_dirs': [ 107 'generated_src_dirs': [
55 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src', 108 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
56 ], 109 ],
57 }, 110 },
58 }, 111 },
59 'hard_dependency': 1, 112 'hard_dependency': 1,
60 } 113 }
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