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..af95298e0e377c06e4d38794c4462bc1fc21f1a8 |
--- /dev/null |
+++ b/mojo/public/tools/bindings/chromium_bindings_configuration.gni |
@@ -0,0 +1,20 @@ |
+# 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. |
+ |
+_typemap_imports = [ |
+ "//gpu/command_buffer/common/typemaps.gni", |
+ "//mojo/public/cpp/bindings/tests/chromium_typemaps.gni", |
+ "//url/mojo/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") ] |
+} |