2011-03-06 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / Source / WebCore / gyp / WebCore.gyp
index ae75c05..b811b52 100644 (file)
         # FIXME: Add 'Copy Inspector Resources',
       ],
       'include_dirs': [
-        '<@(webcore_include_dirs)',
+        '<(DEPTH)/WebCore/icu',
         '<(DEPTH)/WebCore/ForwardingHeaders',
+        '<(PRODUCT_DIR)/usr/local/include',
+        '/usr/include/libxml2',
       ],
       'sources': [
         '<@(webcore_files)',
         'libxml2.dylib',
         'libz.dylib',
       ],
+      'sources/': [
+        ['exclude', 'accessibility/[^/]+/'],
+        ['include', 'accessibility/mac/'],
+        ['exclude', 'bindings/[^/]+/'],
+        ['include', 'bindings/generic/'],
+        ['include', 'bindings/js/'],
+        ['include', 'bindings/objc/'],
+        ['exclude', 'bridge/jni/v8/'],
+        ['exclude', 'bridge/qt/'],
+        # FIXME: These files shouldn't be in this directory.
+        ['exclude', 'bridge/testbindings\.cpp'],
+        ['exclude', 'bridge/testbindings\.mm'],
+        ['exclude', 'bridge/testqtbindings\.cpp'],
+        ['exclude', 'editing/[^/]+/'],
+        ['include', 'editing/mac/'],
+        ['exclude', 'history/[^/]+/'],
+        ['include', 'history/cf/'],
+        ['include', 'history/mac/'],
+        ['exclude', 'loader/[^/]+/'],
+        ['include', 'loader/appcache/'],
+        ['include', 'loader/archive/'],
+        ['include', 'loader/cache/'],
+        ['include', 'loader/cf/'],
+        ['include', 'loader/icon/'],
+        ['include', 'loader/mac/'],
+        ['exclude', 'page/[^/]+/'],
+        ['include', 'page/animation/'],
+        ['include', 'page/mac/'],
+        ['exclude', 'platform/[^/]+/'],
+        ['include', 'platform/animation/'],
+        ['include', 'platform/audio/'],
+        ['exclude', 'platform/audio/[^/]+/'],
+        ['include', 'platform/audio/mac/'],
+        ['include', 'platform/audio/fftw/'], # FIXME: Is this correct? mkl is the other choice.
+        ['include', 'platform/audio/resources/'],
+        ['include', 'platform/cf/'],
+        ['include', 'platform/cocoa/'],
+        ['include', 'platform/graphics/'],
+        ['exclude', 'platform/graphics/[^/]+/'],
+        ['include', 'platform/graphics/ca/'],
+        ['include', 'platform/graphics/cg/'],
+        # FIXME: This file appears to be misplaced.
+        ['exclude', 'platform/graphics/cg/FontPlatformData\.h'],
+        ['include', 'platform/graphics/cocoa/'],
+        ['include', 'platform/graphics/filters/'],
+        ['include', 'platform/graphics/gpu/'],
+        ['include', 'platform/graphics/mac/'],
+        ['include', 'platform/graphics/opengl/'],
+        ['include', 'platform/graphics/transforms/'],
+        ['include', 'platform/mac/'],
+        ['include', 'platform/mock/'],
+        ['include', 'platform/network/'],
+        ['exclude', 'platform/network/[^/]+/'],
+        ['include', 'platform/network/cf'],
+        ['include', 'platform/network/mac'],
+        ['include', 'platform/posix/'],
+        ['include', 'platform/sql/'],
+        ['exclude', 'platform/sql/chromium'],
+        ['include', 'platform/text/'],
+        ['exclude', 'platform/text/[^/]+/'],
+        ['include', 'platform/text/cf'],
+        ['include', 'platform/text/mac'],
+        ['include', 'platform/text/transcoder'],
+        ['exclude', 'DerivedSources\.cpp$'],
+        # FIXME: Consider using one or more AllInOne files.
+        ['exclude', '(Chromium|Win|Qt)\.cpp$'],
+        ['exclude', 'AllInOne\.cpp$'],
+        ['exclude', 'WebCore\.gyp/mac/Empty\.cpp$']
+      ],
       'mac_framework_headers': [
         '<@(webcore_publicheader_files)',
       ],