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

Unified Diff: mojo/public/tools/bindings/blink_bindings_configuration.gni

Issue 1832703002: Mojo: Simplify typemap usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-bindings-variant-import
Patch Set: add missing mash dependency 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
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..2a191fa4101d68b9b89dcc63689dd03b9b4e6020
--- /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"
+
+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",
+ "//services/catalog/public/interfaces/catalog.mojom",
+ "//services/shell/public/interfaces/capabilities.mojom",
+]

Powered by Google App Engine
This is Rietveld 408576698