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

Unified Diff: third_party/mojo/mojom_bindings_generator_explicit.gypi

Issue 1127203004: Add GYP targets for mojo shell and some basic mojo services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_shell.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mojo/mojom_bindings_generator_explicit.gypi
diff --git a/third_party/mojo/mojom_bindings_generator_explicit.gypi b/third_party/mojo/mojom_bindings_generator_explicit.gypi
index 6f129b52e915394152a1dd9e75fd8e60ebe5ad6b..0a61bbf0c239ae03c120538b683ce95660fd9edb 100644
--- a/third_party/mojo/mojom_bindings_generator_explicit.gypi
+++ b/third_party/mojo/mojom_bindings_generator_explicit.gypi
@@ -12,6 +12,7 @@
'mojom_generated_outputs': [
'<!@(python <(DEPTH)/third_party/mojo/src/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) <@(mojom_files))',
],
+ 'mojom_include_path%': '<(DEPTH)',
'require_interface_bindings%': 1,
},
# Given mojom files as inputs, generate sources. These sources will be
@@ -42,7 +43,8 @@
'stamp_filename': '<(PRODUCT_DIR)/java_mojo/<(_target_name)/<(_target_name).stamp',
'mojom_import_args%': [
'-I<(DEPTH)',
- '-I<(DEPTH)/third_party/mojo/src'
+ '-I<(DEPTH)/third_party/mojo/src',
+ '-I<(mojom_include_path)',
],
},
'inputs': [
@@ -77,6 +79,7 @@
# preventing the code generator from being directly depended on by the "all"
# target.
'suppress_wildcard': '1',
+ 'hard_dependency': '1',
'direct_dependent_settings': {
# A target directly depending on this action will compile the generated
# sources.
« no previous file with comments | « mojo/mojo_shell.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698