diff options
author | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 03:23:40 +0000 |
---|---|---|
committer | jorlow@chromium.org <jorlow@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-21 03:23:40 +0000 |
commit | 97467c9a3a1968b059db6020aad2a3fdeba33e57 (patch) | |
tree | a86b4577cbf6c3061ebec5f1f28599ec8e9bbf1e /webkit/webkit.gyp | |
parent | fa7e11dea2d3510e2d4bd65a9696a5261f9b3464 (diff) | |
download | chromium_src-97467c9a3a1968b059db6020aad2a3fdeba33e57.zip chromium_src-97467c9a3a1968b059db6020aad2a3fdeba33e57.tar.gz chromium_src-97467c9a3a1968b059db6020aad2a3fdeba33e57.tar.bz2 |
Enable DOM_STORAGE in our build. Put LocalStorage and SessionStorage behind their own flags. Add the beginnings of StorageNamespaceProxy since it implements WebCore::StorageNamespace::____StorageNamespace and we'd get link errors otherwise.--enable-local-storage and --enable-session-storage are the new flags. If you enable them and try to use DOM Storage, Chromium will crash.Originally Committed in http://src.chromium.org/viewvc/chrome?view=rev&revision=21059 but then backed out due to include path issues.BUG=4360TEST=none
Review URL: http://codereview.chromium.org/159059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.gyp')
-rw-r--r-- | webkit/webkit.gyp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 2af73cb..0b16eb4 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -9,6 +9,7 @@ 'ENABLE_DATABASE=1', 'ENABLE_DATAGRID=1', 'ENABLE_DASHBOARD_SUPPORT=0', + 'ENABLE_DOM_STORAGE=1', 'ENABLE_JAVASCRIPT_DEBUGGER=0', 'ENABLE_JSC_MULTIPLE_THREADS=0', 'ENABLE_ICONDATABASE=0', @@ -594,9 +595,6 @@ # Exclude JSC custom bindings. ['exclude', '/third_party/WebKit/WebCore/bindings/js'], - # Don't build bindings for storage. - ['exclude', '/third_party/WebKit/WebCore/storage/Storage[^/]*\\.idl$'], - # SVG_FILTERS only. ['exclude', '/third_party/WebKit/WebCore/svg/SVG(FE|Filter)[^/]*\\.idl$'], @@ -619,9 +617,6 @@ ['exclude', '/third_party/WebKit/WebCore/svg/Filter[^/]*\\.cpp$'], ['exclude', '/third_party/WebKit/WebCore/svg/SVG(FE|Filter)[^/]*\\.cpp$'], - # Exclude some, but not all, of storage. - ['exclude', '/third_party/WebKit/WebCore/storage/(Local|Session)Storage[^/]*\\.cpp$'], - # Exclude PluginDebug.cpp since it doesn't compile properly without the # correct npapi.h inclusion (http://crbug.com/17127 ['exclude', '/third_party/WebKit/WebCore/plugins/PluginDebug.cpp'], @@ -674,9 +669,7 @@ # A few things can't be excluded by patterns. List them individually. - # Do not build StorageArea or StorageNamespace for Chromium. We (will) - # have our own implementation. - '../third_party/WebKit/WebCore/storage/StorageArea.cpp', + # Don't build StorageNamespace. We have our own implementation. '../third_party/WebKit/WebCore/storage/StorageNamespace.cpp', # Use history/BackForwardListChromium.cpp instead. @@ -1047,6 +1040,8 @@ 'api/src/LocalizedStrings.cpp', 'api/src/MediaPlayerPrivateChromium.cpp', 'api/src/ResourceHandle.cpp', + 'api/src/StorageNamespaceProxy.cpp', + 'api/src/StorageNamespaceProxy.h', 'api/src/TemporaryGlue.h', 'api/src/WebCache.cpp', 'api/src/WebCString.cpp', |