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

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

Issue 258733003: Mojo: Mojom: Add flag to force using bundled Python modules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « no previous file | mojo/public/tools/bindings/mojom_bindings_generator.py » ('j') | 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': {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ], 53 ],
54 'outputs': [ 54 'outputs': [
55 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc', 55 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.cc',
56 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h', 56 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.h',
57 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js', 57 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom.js',
58 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h', 58 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h',
59 ], 59 ],
60 'action': [ 60 'action': [
61 'python', '<@(mojom_bindings_generator)', 61 'python', '<@(mojom_bindings_generator)',
62 '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom', 62 '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom',
63 '--use_chromium_bundled_pylibs',
63 '-d', '<(DEPTH)', 64 '-d', '<(DEPTH)',
64 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)', 65 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)',
65 ], 66 ],
66 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP UT_ROOT).mojom', 67 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP UT_ROOT).mojom',
67 'process_outputs_as_sources': 1, 68 'process_outputs_as_sources': 1,
68 } 69 }
69 ], 70 ],
70 'include_dirs': [ 71 'include_dirs': [
71 '<(DEPTH)', 72 '<(DEPTH)',
72 '<(SHARED_INTERMEDIATE_DIR)', 73 '<(SHARED_INTERMEDIATE_DIR)',
73 ], 74 ],
74 'direct_dependent_settings': { 75 'direct_dependent_settings': {
75 'include_dirs': [ 76 'include_dirs': [
76 '<(DEPTH)', 77 '<(DEPTH)',
77 '<(SHARED_INTERMEDIATE_DIR)', 78 '<(SHARED_INTERMEDIATE_DIR)',
78 ], 79 ],
79 }, 80 },
80 'hard_dependency': 1, 81 'hard_dependency': 1,
81 } 82 }
OLDNEW
« no previous file with comments | « no previous file | mojo/public/tools/bindings/mojom_bindings_generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698