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

Unified Diff: cc/animation/animation_export.h

Issue 2506093003: CC Animation: Make cc/animation an independent GN component. (Closed)
Patch Set: Rebase. Created 4 years, 1 month 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 | « cc/animation/animation_events.h ('k') | cc/animation/animation_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_export.h
diff --git a/cc/animation/animation_export.h b/cc/animation/animation_export.h
new file mode 100644
index 0000000000000000000000000000000000000000..7fd5873aa79e848cc3ec35b2fc5301ed4dd72f96
--- /dev/null
+++ b/cc/animation/animation_export.h
@@ -0,0 +1,29 @@
+// 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 CC_ANIMATION_ANIMATION_EXPORT_H_
+#define CC_ANIMATION_ANIMATION_EXPORT_H_
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(CC_ANIMATION_IMPLEMENTATION)
+#define CC_ANIMATION_EXPORT __declspec(dllexport)
+#else
+#define CC_ANIMATION_EXPORT __declspec(dllimport)
+#endif // defined(CC_ANIMATION_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(CC_ANIMATION_IMPLEMENTATION)
+#define CC_ANIMATION_EXPORT __attribute__((visibility("default")))
+#else
+#define CC_ANIMATION_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define CC_ANIMATION_EXPORT
+#endif
+
+#endif // CC_ANIMATION_ANIMATION_EXPORT_H_
« no previous file with comments | « cc/animation/animation_events.h ('k') | cc/animation/animation_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698