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

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

Issue 213693011: Replace RULE_INPUT_PATH with RULE_INPUT_DIRNAME/RULE_INPUT_ROOT.mojom (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 | « build/common.gypi ('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': {
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 '<(DEPTH)/mojo/public/bindings/pylib/parse/mojo_parser.py', 44 '<(DEPTH)/mojo/public/bindings/pylib/parse/mojo_parser.py',
45 '<(DEPTH)/mojo/public/bindings/pylib/parse/mojo_translate.py', 45 '<(DEPTH)/mojo/public/bindings/pylib/parse/mojo_translate.py',
46 '<(DEPTH)/mojo/public/bindings/pylib/generate/__init__.py', 46 '<(DEPTH)/mojo/public/bindings/pylib/generate/__init__.py',
47 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom.py', 47 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom.py',
48 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_data.py', 48 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_data.py',
49 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_generator.py', 49 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_generator.py',
50 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_pack.py', 50 '<(DEPTH)/mojo/public/bindings/pylib/generate/mojom_pack.py',
51 '<(DEPTH)/mojo/public/bindings/pylib/generate/template_expander.py', 51 '<(DEPTH)/mojo/public/bindings/pylib/generate/template_expander.py',
52 ], 52 ],
53 'outputs': [ 53 'outputs': [
54 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_PATH). cc', 54 '<(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_PATH). h', 55 '<(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_PATH). js', 56 '<(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_PATH)- internal.h', 57 '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_DIRNAM E)/<(RULE_INPUT_ROOT).mojom-internal.h',
58 ], 58 ],
59 'action': [ 59 'action': [
60 'python', '<@(mojom_bindings_generator)', 60 'python', '<@(mojom_bindings_generator)',
61 '<(RULE_INPUT_PATH)', 61 '<(RULE_INPUT_DIRNAME)/<(RULE_INPUT_ROOT).mojom',
62 '-d', '<(DEPTH)', 62 '-d', '<(DEPTH)',
63 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)', 63 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)',
64 ], 64 ],
65 'message': 'Generating Mojo bindings from <(RULE_INPUT_PATH)', 65 'message': 'Generating Mojo bindings from <(RULE_INPUT_DIRNAME)/<(RULE_INP UT_ROOT).mojom',
66 'process_outputs_as_sources': 1, 66 'process_outputs_as_sources': 1,
67 } 67 }
68 ], 68 ],
69 'include_dirs': [ 69 'include_dirs': [
70 '<(DEPTH)', 70 '<(DEPTH)',
71 '<(SHARED_INTERMEDIATE_DIR)', 71 '<(SHARED_INTERMEDIATE_DIR)',
72 ], 72 ],
73 'direct_dependent_settings': { 73 'direct_dependent_settings': {
74 'include_dirs': [ 74 'include_dirs': [
75 '<(DEPTH)', 75 '<(DEPTH)',
76 '<(SHARED_INTERMEDIATE_DIR)', 76 '<(SHARED_INTERMEDIATE_DIR)',
77 ], 77 ],
78 }, 78 },
79 'hard_dependency': 1, 79 'hard_dependency': 1,
80 } 80 }
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698