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

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

Issue 267743008: Mojo: Use ./<(RULE_INPUT_DIRNAME) in mojom_bindings_generator.gypi. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « no previous file | 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/translate.py', 52 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/parse/translate.py',
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 '--use_chromium_bundled_pylibs',
64 '-d', '<(DEPTH)', 64 '-d', '<(DEPTH)',
65 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)', 65 '-o', '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(RULE_INPUT_ DIRNAME)',
66 ], 66 ],
67 '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',
68 'process_outputs_as_sources': 1, 68 'process_outputs_as_sources': 1,
69 } 69 }
70 ], 70 ],
71 'include_dirs': [ 71 'include_dirs': [
72 '<(DEPTH)', 72 '<(DEPTH)',
73 '<(SHARED_INTERMEDIATE_DIR)', 73 '<(SHARED_INTERMEDIATE_DIR)',
74 ], 74 ],
75 'direct_dependent_settings': { 75 'direct_dependent_settings': {
76 'include_dirs': [ 76 'include_dirs': [
77 '<(DEPTH)', 77 '<(DEPTH)',
78 '<(SHARED_INTERMEDIATE_DIR)', 78 '<(SHARED_INTERMEDIATE_DIR)',
79 ], 79 ],
80 }, 80 },
81 'hard_dependency': 1, 81 'hard_dependency': 1,
82 } 82 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698