Commit 75f7839e authored by abarth@webkit.org's avatar abarth@webkit.org

2011-03-14 Adam Barth <abarth@webkit.org>

        Reviewed by Dimitri Glazkov.

        Add remaining files to WebCore.gypi
        https://bugs.webkit.org/show_bug.cgi?id=56351

        Adding the remaining files to WebCore.gypi required updating the
        include/exclude lists in WebCore.gyp.  These lists aren't overly
        elegant, but we can try to improve them in the future.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * bindings/v8/ScriptCachedFrameData.cpp:
            - Added ifdefs to this file to match the header.
        * platform/graphics/WOFFFileFormat.cpp:
            - Fixed build error when compiling without ENABLE(OPENTYPE_SANITIZER).


git-svn-id: svn://svn.chromium.org/blink/trunk@81093 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a4283731
2011-03-14 Adam Barth <abarth@webkit.org>
Reviewed by Dimitri Glazkov.
Add remaining files to WebCore.gypi
https://bugs.webkit.org/show_bug.cgi?id=56351
Adding the remaining files to WebCore.gypi required updating the
include/exclude lists in WebCore.gyp. These lists aren't overly
elegant, but we can try to improve them in the future.
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* bindings/v8/ScriptCachedFrameData.cpp:
- Added ifdefs to this file to match the header.
* platform/graphics/WOFFFileFormat.cpp:
- Fixed build error when compiling without ENABLE(OPENTYPE_SANITIZER).
2011-03-14 Anton Muhin <antonm@chromium.org> 2011-03-14 Anton Muhin <antonm@chromium.org>
Reviewed by Adam Barth. Reviewed by Adam Barth.
......
...@@ -1127,6 +1127,8 @@ ...@@ -1127,6 +1127,8 @@
# Start by excluding everything then include html files only. # Start by excluding everything then include html files only.
['exclude', '.*'], ['exclude', '.*'],
['include', 'html/'], ['include', 'html/'],
['exclude', 'AllInOne\\.cpp$'],
], ],
}, },
{ {
...@@ -1167,32 +1169,23 @@ ...@@ -1167,32 +1169,23 @@
'../../WebKit/mac/WebCoreSupport/WebSystemInterface.mm', '../../WebKit/mac/WebCoreSupport/WebSystemInterface.mm',
], ],
'sources/': [ 'sources/': [
# Start by excluding everything then include platform files only.
['exclude', '.*'], ['exclude', '.*'],
['include', 'platform/'], ['include', 'platform/'],
# Exclude things that don't apply to the Chromium platform on the basis # FIXME: Figure out how to store these patterns in a variable.
# of their enclosing directories and tags at the ends of their ['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|freetype|fftw|gstreamer|gtk|haiku|linux|mac|mkl|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
# filenames. ['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|fftw|gtk|haiku|linux|mac|mkl|opentype|posix|qt|soup|svg|symbian|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'],
# A few things can't be excluded by patterns. List them individually.
['include', 'platform/graphics/opentype/OpenTypeSanitizer\\.cpp$'], ['include', 'platform/graphics/opentype/OpenTypeSanitizer\\.cpp$'],
# Exclude some DB-related files. ['exclude', 'platform/LinkHash\\.cpp$'],
['exclude', 'platform/sql/SQLiteFileSystem\\.cpp$'],
# Use platform/MIMETypeRegistryChromium.cpp instead.
['exclude', 'platform/MIMETypeRegistry\\.cpp$'], ['exclude', 'platform/MIMETypeRegistry\\.cpp$'],
# Theme.cpp is used only if we're using USE_NEW_THEME. We are not for
# Windows and Linux. We manually include Theme.cpp for the Mac below.
['exclude', 'platform/Theme\\.cpp$'], ['exclude', 'platform/Theme\\.cpp$'],
['exclude', 'platform/graphics/ANGLEWebKitBridge\\.(cpp|h)$'],
# Use LinkHashChromium.cpp instead ['exclude', 'platform/image-encoders/JPEGImageEncoder\\.(cpp|h)$'],
['exclude', 'platform/LinkHash\\.cpp$'], ['exclude', 'platform/image-encoders/PNGImageEncoder\\.(cpp|h)$'],
['exclude', 'platform/network/ResourceHandle\\.cpp$'],
['exclude', 'platform/sql/SQLiteFileSystem\\.cpp$'],
['include', 'thirdparty/glu/libtess/'], ['include', 'thirdparty/glu/libtess/'],
], ],
...@@ -1360,15 +1353,14 @@ ...@@ -1360,15 +1353,14 @@
'<@(webcore_files)', '<@(webcore_files)',
], ],
'sources/': [ 'sources/': [
# Start by excluding everything then include rendering files only.
['exclude', '.*'], ['exclude', '.*'],
['include', 'rendering/'], ['include', 'rendering/'],
# Exclude things that don't apply to the Chromium platform on the basis # FIXME: Figure out how to store these patterns in a variable.
# of their enclosing directories and tags at the ends of their ['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|freetype|fftw|gstreamer|gtk|haiku|linux|mac|mkl|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
# filenames. ['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|gtk|haiku|html|linux|mac|opentype|platform|posix|qt|soup|svg|symbian|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'], ['exclude', 'AllInOne\\.cpp$'],
# Exclude most of SVG except css and javascript bindings. # Exclude most of SVG except css and javascript bindings.
['exclude', 'rendering/style/SVG[^/]+.(cpp|h)$'], ['exclude', 'rendering/style/SVG[^/]+.(cpp|h)$'],
...@@ -1421,72 +1413,60 @@ ...@@ -1421,72 +1413,60 @@
'<@(webcore_files)', '<@(webcore_files)',
], ],
'sources/': [ 'sources/': [
# Exclude JSC custom bindings. ['exclude', 'html/'],
['exclude', 'bindings/cpp'], ['exclude', 'platform/'],
['exclude', 'bindings/gobject'], ['exclude', 'rendering/'],
['exclude', 'bindings/js'],
['exclude', 'bindings/objc'],
# Fortunately, many things can be excluded by using broad patterns. # Exclude most of bindings, except of the V8-related parts.
['exclude', 'bindings/[^/]+/'],
['include', 'bindings/generic/'],
['include', 'bindings/v8/'],
# Exclude things that don't apply to the Chromium platform on the basis # Exclude most of bridge, except for the V8-related parts.
# of their enclosing directories and tags at the ends of their ['exclude', 'bridge/'],
# filenames. ['include', 'bridge/jni/'],
['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|gtk|haiku|html|linux|mac|opentype|platform|posix|qt|rendering|soup|svg|symbian|win|wince|wx)/'], ['exclude', 'bridge/jni/[^/]+_jsobject\\.mm$'],
['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|Wx)\\.(cpp|mm?)$'], ['exclude', 'bridge/jni/[^/]+_objc\\.mm$'],
['exclude', 'bridge/jni/jsc/'],
# JSC-only. # FIXME: Figure out how to store these patterns in a variable.
['exclude', 'inspector/JavaScript[^/]*\\.cpp$'], ['exclude', '(android|brew|cairo|ca|cf|cg|curl|efl|freetype|fftw|gstreamer|gtk|haiku|linux|mac|mkl|opengl|openvg|opentype|pango|posix|qt|soup|svg|symbian|texmap|iphone|win|wince|wx)/'],
['exclude', '(?<!Chromium)(Android|Cairo|CF|CG|Curl|Gtk|JSC|Linux|Mac|OpenType|POSIX|Posix|Qt|Safari|Soup|Symbian|Win|WinCE|Wx)\\.(cpp|mm?)$'],
# ENABLE_OFFLINE_WEB_APPLICATIONS, exclude most of webcore's impl
['exclude', 'loader/appcache/'],
['include', 'loader/appcache/ApplicationCacheHost\.h$'],
['include', 'loader/appcache/DOMApplicationCache\.(h|cpp)$'],
# Exclude some DB-related files. ['exclude', 'AllInOne\\.cpp$'],
['exclude', 'storage/DatabaseTracker\\.cpp$'],
['exclude', 'storage/DatabaseTrackerClient\\.h$'],
['exclude', 'storage/OriginQuotaManager\\.(cpp|h)$'],
['exclude', 'storage/OriginUsageRecord\\.(cpp|h)$'],
['exclude', 'storage/SQLTransactionClient\\.cpp$'],
# Don't build StorageNamespace. We have our own implementation.
['exclude', 'storage/StorageNamespace\\.cpp$'],
# Don't build StorageEventDispatcher. We have our own implementation.
['exclude', 'storage/StorageEventDispatcher\\.cpp$'],
# Don't build IDBFactoryBackendInterface. We have our own implementation.
['exclude', 'storage/IDBFactoryBackendInterface\\.cpp$'],
# Don't build IDBKeyPathBackendImpl. We have our own implementation.
['exclude', 'storage/IDBKeyPathBackendImpl\\.cpp$'],
# Don't build files needed for WebArchive support, since we disable ['exclude', 'dom/StaticStringList\\.cpp$'],
# this feature. ['exclude', 'dom/default/PlatformMessagePortChannel\\.(cpp|h)$'],
['exclude', 'loader/archive/cf/LegacyWebArchive\\.cpp$'], ['exclude', 'fileapi/LocalFileSystem\\.cpp$'],
['exclude', 'loader/archive/cf/LegacyWebArchiveMac\\.mm$'], ['exclude', 'inspector/InspectorFrontendClientLocal\\.cpp$'],
['exclude', 'inspector/JavaScript[^/]*\\.cpp$'],
['exclude', 'loader/UserStyleSheetLoader\\.cpp$'],
['exclude', 'loader/appcache/'],
['exclude', 'loader/archive/ArchiveFactory\\.cpp$'], ['exclude', 'loader/archive/ArchiveFactory\\.cpp$'],
['exclude', 'loader/archive/cf/LegacyWebArchiveMac\\.mm$'],
# Only needs loader/icon/IconDatabaseBase.cpp for default IconDB. ['exclude', 'loader/archive/cf/LegacyWebArchive\\.cpp$'],
['exclude', 'loader/icon/IconDatabase\\.cpp$'], ['exclude', 'loader/icon/IconDatabase\\.cpp$'],
['exclude', 'platform/text/LocalizedNumberNone\\.cpp$'],
# Exclude some, but not all, of plugins. ['exclude', 'platform/text/TextEncodingDetectorNone\\.cpp$'],
['exclude', 'plugins/PluginDataNone\\.cpp$'],
['exclude', 'plugins/PluginDatabase\\.cpp$'], ['exclude', 'plugins/PluginDatabase\\.cpp$'],
['exclude', 'plugins/PluginMainThreadScheduler\\.cpp$'], ['exclude', 'plugins/PluginMainThreadScheduler\\.cpp$'],
['exclude', 'plugins/PluginPackageNone\\.cpp$'],
['exclude', 'plugins/PluginPackage\\.cpp$'], ['exclude', 'plugins/PluginPackage\\.cpp$'],
['exclude', 'plugins/PluginStream\\.cpp$'], ['exclude', 'plugins/PluginStream\\.cpp$'],
['exclude', 'plugins/PluginView\\.cpp$'], ['exclude', 'plugins/PluginView\\.cpp$'],
['exclude', 'plugins/npapi\\.cpp$'], ['exclude', 'plugins/npapi\\.cpp$'],
['exclude', 'storage/DatabaseTrackerClient\\.h$'],
# FIXME: I don't know exactly why these are excluded. It would ['exclude', 'storage/DatabaseTracker\\.cpp$'],
# be nice to provide more explicit comments. Some of these do actually ['exclude', 'storage/IDBFactoryBackendInterface\\.cpp$'],
# compile. ['exclude', 'storage/IDBKeyPathBackendImpl\\.cpp$'],
['exclude', 'dom/StaticStringList\\.cpp$'], ['exclude', 'storage/OriginQuotaManager\\.(cpp|h)$'],
['exclude', 'loader/UserStyleSheetLoader\\.cpp$'], ['exclude', 'storage/OriginUsageRecord\\.(cpp|h)$'],
['exclude', 'storage/SQLTransactionClient\\.cpp$'],
# We use a multi-process version from the WebKit API. ['exclude', 'storage/StorageEventDispatcher\\.cpp$'],
['exclude', 'dom/default/PlatformMessagePortChannel\\.(cpp|h)$'], ['exclude', 'storage/StorageNamespace\\.cpp$'],
['include', 'loader/appcache/ApplicationCacheHost\.h$'],
['include', 'loader/appcache/DOMApplicationCache\.(cpp|h)$'],
], ],
'link_settings': { 'link_settings': {
'mac_bundle_resources': [ 'mac_bundle_resources': [
......
...@@ -26,6 +26,10 @@ ...@@ -26,6 +26,10 @@
#include "config.h" #include "config.h"
#include "ScriptCachedFrameData.h" #include "ScriptCachedFrameData.h"
#if PLATFORM(ANDROID) || PLATFORM(QT)
// FIXME: the right guard should be ENABLE(PAGE_CACHE). Replace with the right guard, once
// https://bugs.webkit.org/show_bug.cgi?id=35061 is fixed.
#include "Frame.h" #include "Frame.h"
#include "ScriptController.h" #include "ScriptController.h"
#include "V8DOMWindow.h" #include "V8DOMWindow.h"
...@@ -72,3 +76,5 @@ void ScriptCachedFrameData::clear() ...@@ -72,3 +76,5 @@ void ScriptCachedFrameData::clear()
} }
} // namespace WebCore } // namespace WebCore
#endif // PLATFORM(ANDROID) || PLATFORM(QT)
...@@ -248,7 +248,7 @@ bool convertWOFFToSfnt(SharedBuffer* woff, Vector<char>& sfnt) ...@@ -248,7 +248,7 @@ bool convertWOFFToSfnt(SharedBuffer* woff, Vector<char>& sfnt)
return sfnt.size() == totalSfntSize; return sfnt.size() == totalSfntSize;
} }
} // namespace WebCore
#endif // !ENABLE(OPENTYPE_SANITIZER) #endif // !ENABLE(OPENTYPE_SANITIZER)
} // namespace WebCore
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment