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

Unified Diff: mojo/public/tools/bindings/chromium_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: 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/chromium_bindings_configuration.gni
diff --git a/mojo/public/tools/bindings/chromium_bindings_configuration.gni b/mojo/public/tools/bindings/chromium_bindings_configuration.gni
new file mode 100644
index 0000000000000000000000000000000000000000..5e7493c7ab84d67346239a189faf8c53e892876b
--- /dev/null
+++ b/mojo/public/tools/bindings/chromium_bindings_configuration.gni
@@ -0,0 +1,22 @@
+# 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.
+
+_typemaps = [
+ "//gpu/command_buffer/common/capabilities.typemap",
+ "//gpu/command_buffer/common/command_buffer.typemap",
+ "//gpu/command_buffer/common/mailbox.typemap",
+ "//gpu/command_buffer/common/mailbox_holder.typemap",
+ "//gpu/command_buffer/common/sync_token.typemap",
+ "//gpu/command_buffer/common/value_state.typemap",
+ "//mojo/public/cpp/bindings/tests/rect_chromium.typemap",
+ "//mojo/public/cpp/bindings/tests/struct_with_traits.typemap",
+ "//mojo/public/cpp/bindings/tests/test_native_types_chromium.typemap",
+ "//url/mojo/origin.typemap",
+ "//url/mojo/gurl.typemap",
+]
+
+typemaps = []
+foreach(typemap, _typemaps) {
+ typemaps += [ read_file(typemap, "scope") ]
+}

Powered by Google App Engine
This is Rietveld 408576698