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

Unified Diff: public/common/WebCommonExport.h

Issue 15079005: Create a minimal webkit_common static library for use in browser process (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 months 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
Index: public/common/WebCommonExport.h
diff --git a/Source/weborigin/WebOriginExport.h b/public/common/WebCommonExport.h
similarity index 79%
copy from Source/weborigin/WebOriginExport.h
copy to public/common/WebCommonExport.h
index 528489c543281c69fa9c232c55c646fbceae8006..75a58188243f71a55fded25f3ce687d700315267 100644
--- a/Source/weborigin/WebOriginExport.h
+++ b/public/common/WebCommonExport.h
@@ -28,26 +28,25 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef WebCommonExport_h
+#define WebCommonExport_h
-#ifndef WebOriginExport_h
-#define WebOriginExport_h
-
-#if !defined(WEBORIGIN_IMPLEMENTATION)
-#define WEBORIGIN_IMPLEMENTATION 0
+#if !defined(BLINK_COMMON_IMPLEMENTATION)
+#define BLINK_COMMON_IMPLEMENTATION 0
#endif
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
-#if WEBORIGIN_IMPLEMENTATION
-#define WEBORIGIN_EXPORT __declspec(dllexport)
-#else
-#define WEBORIGIN_EXPORT __declspec(dllimport)
+#if BLINK_COMMON_IMPLEMENTATION
+#define BLINK_COMMON_EXPORT __declspec(dllexport)
+#else // defined(BLINK_COMMON_IMPLEMENTATION)
+#define BLINK_COMMON_EXPORT __declspec(dllimport)
#endif
#else // defined(WIN32)
-#define WEBORIGIN_EXPORT __attribute__((visibility("default")))
+#define BLINK_COMMON_EXPORT __attribute__((visibility("default")))
#endif
#else // defined(COMPONENT_BUILD)
-#define WEBORIGIN_EXPORT
+#define BLINK_COMMON_EXPORT
#endif
-#endif // WebOriginExport_h
+#endif // WebCommonExport_h

Powered by Google App Engine
This is Rietveld 408576698