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

Unified Diff: mojo/mojom_bindings_generator.gypi

Issue 1902263004: Mojo: Change the blink variant from "wtf" to "blink". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_public.gyp ('k') | mojo/mojom_bindings_generator_explicit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojom_bindings_generator.gypi
diff --git a/mojo/mojom_bindings_generator.gypi b/mojo/mojom_bindings_generator.gypi
index a10c2e47620610cd70789b6fa7186f3fcd90d2d1..dea11695dd144989709f9985df5cba5885df90fb 100644
--- a/mojo/mojom_bindings_generator.gypi
+++ b/mojo/mojom_bindings_generator.gypi
@@ -8,37 +8,41 @@
],
'variables': {
'variables': {
- 'mojom_variant%': 'none',
- 'for_blink%': 'false',
+ 'variables': {
+ 'for_blink%': 'false',
+ },
+ 'for_blink%': '<(for_blink)',
+ 'conditions': [
+ ['for_blink=="true"', {
+ 'mojom_output_languages%': 'c++',
+ 'mojom_variant%': 'blink',
+ 'mojom_generator_wtf_arg%': [
+ '--for_blink',
+ ],
+ 'wtf_dependencies%': [
+ '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings_wtf_support',
+ '<(DEPTH)/third_party/WebKit/Source/wtf/wtf.gyp:wtf',
+ ],
+ }, {
+ 'mojom_output_languages%': 'c++,javascript,java',
+ 'mojom_variant%': 'none',
+ 'mojom_generator_wtf_arg%': [],
+ 'wtf_dependencies%': [],
+ }],
+ ],
},
+ 'for_blink%': '<(for_blink)',
'mojom_variant%': '<(mojom_variant)',
+ 'mojom_generator_wtf_arg%': '<(mojom_generator_wtf_arg)',
+ 'wtf_dependencies%': '<(wtf_dependencies)',
+ 'mojom_output_languages%': '<(mojom_output_languages)',
'mojom_typemaps%': [],
- 'for_blink%': '<(for_blink)',
'mojom_base_output_dir':
'<!(python <(DEPTH)/build/inverse_depth.py <(DEPTH))',
'mojom_generated_outputs': [
'<!@(python <(DEPTH)/mojo/public/tools/bindings/mojom_list_outputs.py --basedir <(mojom_base_output_dir) --variant <(mojom_variant) <@(_sources))',
],
'generated_typemap_file': '<(SHARED_INTERMEDIATE_DIR)/<(mojom_base_output_dir)/<(_target_name)_type_mappings',
- 'conditions': [
- ['mojom_variant=="none"', {
- 'mojom_output_languages%': 'c++,javascript,java',
- }, {
- 'mojom_output_languages%': 'c++',
- }],
- ['for_blink=="true"', {
- 'mojom_generator_wtf_arg%': [
- '--for_blink',
- ],
- 'wtf_dependencies%': [
- '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings_wtf_support',
- '<(DEPTH)/third_party/WebKit/Source/wtf/wtf.gyp:wtf',
- ],
- }, {
- 'mojom_generator_wtf_arg%': [],
- 'wtf_dependencies%': [],
- }],
- ],
},
'actions': [
{
« no previous file with comments | « mojo/mojo_public.gyp ('k') | mojo/mojom_bindings_generator_explicit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698