summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/JavaScriptCore.gyp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
committerSimon Hausmann <simon.hausmann@nokia.com>2012-02-03 09:55:33 +0100
commitcd44dc59cdfc39534aef4d417e9f3c412e3be139 (patch)
tree8d89889ba95ed6ec9322e733846cc9cce9d7dff1 /Source/JavaScriptCore/JavaScriptCore.gyp
parentd11f84f5b5cdc0d92a08af01b13472fdd5f9acb9 (diff)
downloadqtwebkit-cd44dc59cdfc39534aef4d417e9f3c412e3be139.tar.gz
Imported WebKit commit fce473cb4d55aa9fe9d0b0322a2fffecb731b961 (http://svn.webkit.org/repository/webkit/trunk@106560)
Diffstat (limited to 'Source/JavaScriptCore/JavaScriptCore.gyp')
-rw-r--r--Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp45
1 files changed, 20 insertions, 25 deletions
diff --git a/Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp b/Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
index bec3ae17d..34b4e08e5 100644
--- a/Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
+++ b/Source/JavaScriptCore/JavaScriptCore.gyp/JavaScriptCore.gyp
@@ -1,10 +1,10 @@
#
-# Copyright (C) 2009 Google Inc. All rights reserved.
-#
+# Copyright (C) 2009, 2012 Google Inc. All rights reserved.
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
-#
+#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
@@ -14,7 +14,7 @@
# * Neither the name of Google Inc. nor the names of its
# contributors may be used to endorse or promote products derived from
# this software without specific prior written permission.
-#
+#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
@@ -30,8 +30,7 @@
{
'includes': [
- # FIXME: Sense whether upstream or downstream build, and
- # include the right features.gypi
+ '../../WebKit/chromium/WinPrecompile.gypi',
'../../WebKit/chromium/features.gypi',
'../JavaScriptCore.gypi',
],
@@ -66,7 +65,7 @@
'defines': [
# Import features_defines from features.gypi
'<@(feature_defines)',
-
+
# Turns on #if PLATFORM(CHROMIUM)
'BUILDING_CHROMIUM__=1',
# Controls wtf/FastMalloc
@@ -123,18 +122,18 @@
['exclude', '../'],
# ... Then include what we want.
['include', '../wtf/'],
- # FIXME: This is clearly not sustainable.
- ['exclude', '../wtf/efl'],
- ['exclude', '../wtf/gobject'],
- ['exclude', '../wtf/gtk'],
- ['exclude', '../wtf/mac'],
- ['exclude', '../wtf/qt'],
- ['exclude', '../wtf/url'],
- ['exclude', '../wtf/wince'],
- ['exclude', '../wtf/wx'],
- ['exclude', '../wtf/unicode/wince'],
- ['exclude', '../wtf/unicode/glib'],
- ['exclude', '../wtf/unicode/qt4'],
+ # FIXME: This is clearly not sustainable.
+ ['exclude', '../wtf/efl'],
+ ['exclude', '../wtf/gobject'],
+ ['exclude', '../wtf/gtk'],
+ ['exclude', '../wtf/mac'],
+ ['exclude', '../wtf/qt'],
+ ['exclude', '../wtf/url'],
+ ['exclude', '../wtf/wince'],
+ ['exclude', '../wtf/wx'],
+ ['exclude', '../wtf/unicode/wince'],
+ ['exclude', '../wtf/unicode/glib'],
+ ['exclude', '../wtf/unicode/qt4'],
# GLib/GTK, even though its name doesn't really indicate.
['exclude', '/(gtk|glib|gobject)/.*\\.(cpp|h)$'],
['exclude', '(Default|Gtk|Mac|None|Qt|Win|Wx|Efl|Symbian)\\.(cpp|mm)$'],
@@ -172,7 +171,8 @@
['exclude', 'ThreadingPthreads\\.cpp$'],
['include', 'Thread(ing|Specific)Win\\.cpp$'],
['exclude', 'OSAllocatorPosix\\.cpp$'],
- ['include', 'OSAllocatorWin\\.cpp$']
+ ['include', 'OSAllocatorWin\\.cpp$'],
+ ['include', 'win/OwnPtrWin\\.cpp$'],
],
'include_dirs!': [
'<(SHARED_INTERMEDIATE_DIR)/webkit',
@@ -198,11 +198,6 @@
'dependencies': [
'wtf',
],
- 'conditions': [
- ['OS=="win"', {
- 'dependencies': ['<(chromium_src_dir)/build/win/system.gyp:cygwin'],
- }],
- ],
'variables': { 'optimize': 'max' },
'actions': [
{