Index: components/mus/common/mus_common_export.h |
diff --git a/components/mus/common/mus_common_export.h b/components/mus/common/mus_common_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3a2e9306426b0810fa946c4363fb9e2219637cee |
--- /dev/null |
+++ b/components/mus/common/mus_common_export.h |
@@ -0,0 +1,29 @@ |
+// Copyright (c) 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_MUS_COMMON_MUS_COMMON_EXPORT_H_ |
+#define COMPONENTS_MUS_COMMON_MUS_COMMON_EXPORT_H_ |
+ |
+#if defined(COMPONENT_BUILD) |
+#if defined(WIN32) |
+ |
+#if defined(MUS_IPC_IMPLEMENTATION) |
+#define MUS_COMMON_EXPORT __declspec(dllexport) |
+#else |
+#define MUS_COMMON_EXPORT __declspec(dllimport) |
+#endif // defined(MUS_IPC_IMPLEMENTATION) |
+ |
+#else // defined(WIN32) |
+#if defined(MUS_IPC_IMPLEMENTATION) |
+#define MUS_COMMON_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define MUS_COMMON_EXPORT |
+#endif |
+#endif |
+ |
+#else // defined(COMPONENT_BUILD) |
+#define MUS_COMMON_EXPORT |
+#endif |
+ |
+#endif // COMPONENTS_MUS_COMMON_MUS_COMMON_EXPORT_H_ |