Index: skia/skia_mojo_bindings.gyp |
diff --git a/skia/skia_mojo_bindings.gyp b/skia/skia_mojo_bindings.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bfcb11fffb24052b14ec1638f878a59d83907678 |
--- /dev/null |
+++ b/skia/skia_mojo_bindings.gyp |
@@ -0,0 +1,37 @@ |
+# 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. |
+ |
+{ |
+ 'targets': [ |
+ { |
+ 'target_name': 'skia_mojo_bindings', |
+ 'type': 'static_library', |
+ # The optimize: 'max' scattered throughout are particularly |
+ # important when compiled by MSVC 2013, which seems |
+ # to mis-link-time-compile code that's built with |
+ # different optimization levels. http://crbug.com/543583 |
+ 'variables': { |
+ 'mojom_typemaps': [ |
+ 'public/interfaces/skia.typemap', |
+ ], |
+ 'mojom_typemap_dependencies': [ |
+ '<(DEPTH)/skia/skia.gyp:skia', |
+ '<(DEPTH)/ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc', |
+ ], |
+ 'optimize': 'max', |
+ }, |
+ 'dependencies': [ |
+ '../skia/skia.gyp:skia', |
+ '../base/base.gyp:base', |
+ ], |
+ 'includes': [ |
+ '../third_party/mojo/mojom_bindings_generator.gypi', |
+ ], |
+ 'sources': [ |
+ # Note: file list duplicated in GN build. |
+ 'public/interfaces/bitmap.mojom', |
+ ], |
+ }, |
+ ], |
+} |