Index: Source/WebKit/chromium/WebKit.gyp |
diff --git a/Source/WebKit/chromium/WebKit.gyp b/Source/WebKit/chromium/WebKit.gyp |
index 7a30c5617243d4eb766251727dc2c93f30239279..896a464eb148df8ba88a648cf85a99c32669d1f6 100644 |
--- a/Source/WebKit/chromium/WebKit.gyp |
+++ b/Source/WebKit/chromium/WebKit.gyp |
@@ -64,6 +64,7 @@ |
], |
'defines': [ |
'WEBKIT_IMPLEMENTATION=1', |
+ 'INSIDE_WEBKIT', |
], |
'sources': [ |
'<@(webcore_platform_support_files)', |
@@ -395,7 +396,6 @@ |
'src/WebCache.cpp', |
'src/WebCachedURLRequest.cpp', |
'src/WebColorName.cpp', |
- 'src/WebCommon.cpp', |
'src/WebCrossOriginPreflightResultCache.cpp', |
'src/WebDOMActivityLogger.cpp', |
'src/WebDOMCustomEvent.cpp', |
@@ -557,7 +557,6 @@ |
['component=="shared_library"', { |
'defines': [ |
'WEBKIT_DLL', |
- 'WEBKIT_IMPLEMENTATION=1', |
], |
'dependencies': [ |
'../../core/core.gyp:webcore_derived', |
@@ -746,6 +745,30 @@ |
}], |
], |
}, |
+ { |
+ 'target_name': 'blink_common', |
+ 'type': '<(component)', |
+ 'variables': { 'enable_wexit_time_destructors': 1 }, |
+ 'dependencies': [ |
+ '../../wtf/wtf.gyp:wtf', |
+ '<(DEPTH)/skia/skia.gyp:skia', |
+ ], |
+ 'defines': [ |
+ 'INSIDE_WEBKIT', |
+ 'BLINK_COMMON_IMPLEMENTATION=1', |
+ ], |
+ 'include_dirs': [ |
+ '../..', |
+ '../../..', |
+ ], |
+ 'sources': [ |
+ '../../core/platform/chromium/support/WebFilterOperation.cpp', |
+ '../../core/platform/chromium/support/WebFilterOperations.cpp', |
+ '../../core/platform/chromium/support/WebCString.cpp', |
+ '../../core/platform/chromium/support/WebString.cpp', |
+ 'src/WebCommon.cpp', |
+ ], |
+ }, |
], # targets |
'conditions': [ |
['gcc_version>=46', { |