Chromium Code Reviews| Index: mojo/public/tools/bindings/blink_bindings_configuration.gni |
| diff --git a/mojo/public/tools/bindings/blink_bindings_configuration.gni b/mojo/public/tools/bindings/blink_bindings_configuration.gni |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8695c300f0c7d0b4ea460feeb4cc6c8c1f2b235f |
| --- /dev/null |
| +++ b/mojo/public/tools/bindings/blink_bindings_configuration.gni |
| @@ -0,0 +1,33 @@ |
| +# Copyright 2016 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. |
| + |
| +variant = "wtf" |
|
yzshen1
2016/04/08 19:58:25
I noticed that existing real-world usage in blink/
|
| + |
| +for_blink = true |
| + |
| +_typemap_imports = [ "//mojo/public/cpp/bindings/tests/blink_typemaps.gni" ] |
| +_typemaps = [] |
| + |
| +foreach(typemap_import, _typemap_imports) { |
| + _imported = read_file(typemap_import, "scope") |
| + _typemaps += _imported.typemaps |
| +} |
| + |
| +typemaps = [] |
| +foreach(typemap, _typemaps) { |
| + typemaps += [ read_file(typemap, "scope") ] |
| +} |
| + |
| +blacklist = [ |
| + # TODO(sammc): Remove the following once |for_blink| bindings support WTF |
| + # maps. See https://crbug.com/583738. |
| + "//components/mus/public/interfaces/window_manager.mojom", |
| + "//components/mus/public/interfaces/window_tree.mojom", |
| + "//extensions/common/api/mime_handler.mojom", |
| + "//mojo/public/interfaces/bindings/tests/test_structs.mojom", |
| + "//mojo/public/interfaces/bindings/tests/test_unions.mojom", |
| + "//mojo/public/interfaces/bindings/tests/validation_test_interfaces.mojom", |
| + "//mojo/services/catalog/public/interfaces/catalog.mojom", |
| + "//mojo/shell/public/interfaces/capabilities.mojom", |
| +] |