Index: ppapi/host/ppapi_host_export.h |
diff --git a/ppapi/host/ppapi_host_export.h b/ppapi/host/ppapi_host_export.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..90cf2ef928e7851193e70e279c14549bbf0cd56c |
--- /dev/null |
+++ b/ppapi/host/ppapi_host_export.h |
@@ -0,0 +1,30 @@ |
+// 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 PPAPI_HOST_PPAPI_HOST_EXPORT_H_ |
+#define PPAPI_HOST_PPAPI_HOST_EXPORT_H_ |
+#pragma once |
+ |
+#if defined(COMPONENT_BUILD) |
+#if defined(WIN32) |
+ |
+#if defined(PPAPI_HOST_IMPLEMENTATION) |
+#define PPAPI_HOST_EXPORT __declspec(dllexport) |
+#else |
+#define PPAPI_HOST_EXPORT __declspec(dllimport) |
+#endif // defined(PPAPI_HOST_IMPLEMENTATION) |
+ |
+#else // defined(WIN32) |
+#if defined(PPAPI_HOST_IMPLEMENTATION) |
+#define PPAPI_HOST_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define PPAPI_HOST_EXPORT |
+#endif |
+#endif |
+ |
+#else // defined(COMPONENT_BUILD) |
+#define PPAPI_HOST_EXPORT |
+#endif |
+ |
+#endif // PPAPI_HOST_PPAPI_HOST_EXPORT_H_ |