# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'includes': [ 'mojom_bindings_generator_variables.gypi', ], 'variables': { 'variables': { 'variables': { 'for_blink%': 'false', 'use_new_wrapper_types%': 'false', }, 'for_blink%': '<(for_blink)', 'use_new_wrapper_types%': '<(use_new_wrapper_types)', '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%': [], }], ['use_new_wrapper_types=="true"', { 'mojom_generator_new_wrappers_arg%': [ '--use_new_wrapper_types', ], }, { 'mojom_generator_new_wrappers_arg%': [], }], ], }, 'for_blink%': '<(for_blink)', 'use_new_wrapper_types%': '<(use_new_wrapper_types)', 'mojom_variant%': '<(mojom_variant)', 'mojom_generator_wtf_arg%': '<(mojom_generator_wtf_arg)', 'mojom_generator_new_wrappers_arg%': '<(mojom_generator_new_wrappers_arg)', 'wtf_dependencies%': '<(wtf_dependencies)', 'mojom_output_languages%': '<(mojom_output_languages)', 'mojom_typemaps%': [], 'mojom_base_output_dir': '