Index: mojo/services/native_viewport/native_viewport_export.h |
diff --git a/mojo/services/native_viewport/native_viewport_export.h b/mojo/services/native_viewport/native_viewport_export.h |
index 647b6892e37b5e6d191ae7eee202598f793afa96..4870c566f9d91d54908fbf26aff84d2a32bb3009 100644 |
--- a/mojo/services/native_viewport/native_viewport_export.h |
+++ b/mojo/services/native_viewport/native_viewport_export.h |
@@ -5,6 +5,8 @@ |
#ifndef MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_ |
#define MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_ |
+#if defined(COMPONENT_BUILD) |
+ |
#if defined(WIN32) |
#if defined(MOJO_NATIVE_VIEWPORT_IMPLEMENTATION) |
@@ -23,4 +25,8 @@ |
#endif // defined(WIN32) |
+#else // !defined(COMPONENT_BUILD) |
+#define MOJO_NATIVE_VIEWPORT_EXPORT |
+#endif |
+ |
#endif // MOJO_SERVICES_NATIVE_VIEWPORT_EXPORT_H_ |