Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / mojo / services / native_viewport / native_viewport_export.h
index 647b689..4870c56 100644 (file)
@@ -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_