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

Side by Side Diff: mojo/public/tools/bindings/mojom_bindings_generator_explicit.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
(Empty)
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
3 # found in the LICENSE file.
4
5 {
6 'includes': [
7 'mojom_bindings_generator_variables.gypi',
8 ],
9 'variables': {
10 'mojom_base_output_dir':
11 '<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
12 'mojom_generated_outputs': [
13 '<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --ba sedir <(mojom_base_output_dir) <@(mojom_files))',
14 ],
15 },
16 'actions': [
17 {
18 'action_name': '<(_target_name)_mojom_bindings_generator',
19 'variables': {
20 'java_out_dir': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
21 'mojom_import_args%': [
22 '-I<(DEPTH)'
23 ],
24 },
25 'inputs': [
26 '<@(mojom_bindings_generator_sources)',
27 '<@(mojom_files)',
28 ],
29 'outputs': [
30 '<@(mojom_generated_outputs)',
31 ],
32 'action': [
33 'python', '<@(mojom_bindings_generator)',
34 '<@(mojom_files)',
35 '--use_chromium_bundled_pylibs',
36 '-d', '<(DEPTH)',
37 '<@(mojom_import_args)',
38 '-o', '<(SHARED_INTERMEDIATE_DIR)',
39 '--java_output_directory=<(java_out_dir)',
40 ],
41 'message': 'Generating Mojo bindings from <@(mojom_files)',
42 'process_outputs_as_sources': 1,
43 }
44 ],
45 'direct_dependent_settings': {
46 'sources': [
47 '<@(mojom_generated_outputs)',
48 ],
49 # Include paths needed to compile the generated sources into a library.
50 'include_dirs': [
51 '<(DEPTH)',
52 '<(SHARED_INTERMEDIATE_DIR)',
53 ],
54 'direct_dependent_settings': {
55 # Include paths needed to find the generated header files and their
56 # transitive dependancies when using the library.
57 'include_dirs': [
58 '<(DEPTH)',
59 '<(SHARED_INTERMEDIATE_DIR)',
60 ],
61 'variables': {
62 'generated_src_dirs': [
63 '<(PRODUCT_DIR)/java_mojo/<(_target_name)/src',
64 ],
65 },
66 }
67 },
68 'hard_dependency': 1,
69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698