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

Unified Diff: Source/common/common.gyp

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: Source/common/common.gyp
diff --git a/public/blink.gyp b/Source/common/common.gyp
similarity index 58%
copy from public/blink.gyp
copy to Source/common/common.gyp
index e62e94f9fae3efacfd397f85dcef0a9fe4e85966..488fa9ba14efe6324f4744f1255506b7766c6dc8 100644
--- a/public/blink.gyp
+++ b/Source/common/common.gyp
@@ -27,20 +27,42 @@
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
+
{
'includes': [
- '../Source/core/features.gypi',
+ '../core/features.gypi',
],
'targets': [
{
- 'target_name': 'blink',
- 'type': 'none',
+ 'target_name': 'blink_common',
+ 'type': '<(component)',
+ 'variables': { 'enable_wexit_time_destructors': 1, },
'dependencies': [
- '../Source/WebKit/chromium/WebKit.gyp:webkit',
+ '../weborigin/weborigin.gyp:weborigin',
abarth-chromium 2013/06/06 21:51:16 Is WebOrigin still needed?
+ '../wtf/wtf.gyp:wtf',
+ '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl',
+ '<(DEPTH)/skia/skia.gyp:skia',
],
- 'export_dependent_settings': [
- '../Source/WebKit/chromium/WebKit.gyp:webkit',
- ]
- },
- ],
+ 'defines': [
+ 'BLINK_COMMON_IMPLEMENTATION=1',
+ 'INSIDE_WEBKIT',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ 'sources': [
+ '../../public/common/WebAssertion.h',
+ '../../public/common/WebCString.h',
+ '../../public/common/WebColor.h',
+ '../../public/common/WebFilterOperation.h',
+ '../../public/common/WebFilterOperations.h',
+ '../../public/common/WebString.h',
+ 'WebAssertion.cpp',
+ 'WebCString.cpp',
+ 'WebFilterOperation.cpp',
+ 'WebFilterOperations.cpp',
+ 'WebString.cpp',
+ ],
+ }
+ ]
}

Powered by Google App Engine
This is Rietveld 408576698