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

Unified Diff: webkit/compositor_bindings/webkit_compositor_bindings_export.h

Issue 11617016: Componentize webkit/compositor_bindings target (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add ui dep to cc_test_support Created 8 years 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
« no previous file with comments | « webkit/compositor_bindings/web_video_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/compositor_bindings/webkit_compositor_bindings_export.h
diff --git a/webkit/compositor_bindings/webkit_compositor_bindings_export.h b/webkit/compositor_bindings/webkit_compositor_bindings_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..c7313435c83a19efd95a5f1f9ee594c5cc923815
--- /dev/null
+++ b/webkit/compositor_bindings/webkit_compositor_bindings_export.h
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 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.
+
+#ifndef WEBKIT_COMPOSITOR_BINDINGS_WEBKIT_COMPOSITOR_BINDINGS_EXPORT_H_
+#define WEBKIT_COMPOSITOR_BINDINGS_WEBKIT_COMPOSITOR_BINDINGS_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION)
+#define WEBKIT_COMPOSITOR_BINDINGS_EXPORT __declspec(dllexport)
+#else
+#define WEBKIT_COMPOSITOR_BINDINGS_EXPORT __declspec(dllimport)
+#endif // defined(WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(WEBKIT_COMPOSITOR_BINDINGS_IMPLEMENTATION)
+#define WEBKIT_COMPOSITOR_BINDINGS_EXPORT __attribute__((visibility("default")))
+#else
+#define WEBKIT_COMPOSITOR_BINDINGS_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define WEBKIT_COMPOSITOR_BINDINGS_EXPORT
+#endif
+
+#endif // WEBKIT_COMPOSITOR_BINDINGS_WEBKIT_COMPOSITOR_BINDINGS_EXPORT_H_
« no previous file with comments | « webkit/compositor_bindings/web_video_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698