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

Unified Diff: components/display_compositor/display_compositor_export.h

Issue 1902463002: Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bot changes. Will do in a separate CL 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: components/display_compositor/display_compositor_export.h
diff --git a/components/display_compositor/display_compositor_export.h b/components/display_compositor/display_compositor_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..031e93984c1c021e01889ef481ea081c119b292d
--- /dev/null
+++ b/components/display_compositor/display_compositor_export.h
@@ -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.
+
+#ifndef COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
+#define COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
+#define DISPLAY_COMPOSITOR_EXPORT __declspec(dllexport)
+#else
+#define DISPLAY_COMPOSITOR_EXPORT __declspec(dllimport)
+#endif // defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
+
+#else // !defined(WIN32)
+
+#if defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
+#define DISPLAY_COMPOSITOR_EXPORT __attribute__((visibility("default")))
+#else
+#define DISPLAY_COMPOSITOR_EXPORT
+#endif // defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
+
+#endif // defined(WIN32)
+
+#else // !defined(COMPONENT_BUILD)
+
+#define DISPLAY_COMPOSITOR_EXPORT
+
+#endif // define(COMPONENT_BUILD)
+
+#endif // COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
« no previous file with comments | « components/display_compositor/buffer_queue_unittest.cc ('k') | components/display_compositor/display_compositor_test_suite.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698