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

Side by Side Diff: webkit/webkit.gyp

Issue 173212: Bring the Mac Chromium render theme up to date and easier to keep merged. Chr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'feature_defines': [ 7 'feature_defines': [
8 'ENABLE_CHANNEL_MESSAGING=1', 8 'ENABLE_CHANNEL_MESSAGING=1',
9 'ENABLE_DATABASE=1', 9 'ENABLE_DATABASE=1',
10 'ENABLE_DATAGRID=0', 10 'ENABLE_DATAGRID=0',
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 # Periodically run: 119 # Periodically run:
120 # nm libwebcore.a | grep -E '[atsATS] ([+-]\[|\.objc_class_name)' 120 # nm libwebcore.a | grep -E '[atsATS] ([+-]\[|\.objc_class_name)'
121 # and make sure that everything listed there has the alternate 121 # and make sure that everything listed there has the alternate
122 # ChromiumWebCoreObjC name, and that nothing extraneous is listed 122 # ChromiumWebCoreObjC name, and that nothing extraneous is listed
123 # here. If all Objective-C can be eliminated from Chromium's WebCore 123 # here. If all Objective-C can be eliminated from Chromium's WebCore
124 # library, these defines should be removed entirely. 124 # library, these defines should be removed entirely.
125 # TODO(yaar) move these out of command line defines. 125 # TODO(yaar) move these out of command line defines.
126 'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver', 126 'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver',
127 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRend erThemeNotificationObserver', 127 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRend erThemeNotificationObserver',
128 'WebFontCache=ChromiumWebCoreObjCWebFontCache', 128 'WebFontCache=ChromiumWebCoreObjCWebFontCache',
129
130 # Use USE_NEW_THEME on Mac.
131 'WTF_USE_NEW_THEME=1',
129 ], 132 ],
130 'webcore_include_dirs+': [ 133 'webcore_include_dirs+': [
131 # platform/graphics/cg and mac needs to come before 134 # platform/graphics/cg and mac needs to come before
132 # platform/graphics/chromium so that the Mac build picks up the 135 # platform/graphics/chromium so that the Mac build picks up the
133 # version of ImageBufferData.h in the cg directory and 136 # version of ImageBufferData.h in the cg directory and
134 # FontPlatformData.h in the mac directory. The + prepends this 137 # FontPlatformData.h in the mac directory. The + prepends this
135 # directory to the list. 138 # directory to the list.
136 # TODO(port): This shouldn't need to be prepended. 139 # TODO(port): This shouldn't need to be prepended.
137 # TODO(port): Eliminate dependency on platform/graphics/mac and 140 # TODO(port): Eliminate dependency on platform/graphics/mac and
138 # related directories. 141 # related directories.
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 650
648 # Use loader/icon/IconDatabaseNone.cpp instead. 651 # Use loader/icon/IconDatabaseNone.cpp instead.
649 '../third_party/WebKit/WebCore/loader/icon/IconDatabase.cpp', 652 '../third_party/WebKit/WebCore/loader/icon/IconDatabase.cpp',
650 653
651 # Use platform/KURLGoogle.cpp instead. 654 # Use platform/KURLGoogle.cpp instead.
652 '../third_party/WebKit/WebCore/platform/KURL.cpp', 655 '../third_party/WebKit/WebCore/platform/KURL.cpp',
653 656
654 # Use platform/MIMETypeRegistryChromium.cpp instead. 657 # Use platform/MIMETypeRegistryChromium.cpp instead.
655 '../third_party/WebKit/WebCore/platform/MIMETypeRegistry.cpp', 658 '../third_party/WebKit/WebCore/platform/MIMETypeRegistry.cpp',
656 659
657 # USE_NEW_THEME only. 660 # Theme.cpp is used only if we're using USE_NEW_THEME. We are not for
661 # Windows and Linux. We manually include Theme.cpp for the Mac below.
658 '../third_party/WebKit/WebCore/platform/Theme.cpp', 662 '../third_party/WebKit/WebCore/platform/Theme.cpp',
659 663
660 # Exclude some, but not all, of plugins. 664 # Exclude some, but not all, of plugins.
661 '../third_party/WebKit/WebCore/plugins/PluginDatabase.cpp', 665 '../third_party/WebKit/WebCore/plugins/PluginDatabase.cpp',
662 '../third_party/WebKit/WebCore/plugins/PluginInfoStore.cpp', 666 '../third_party/WebKit/WebCore/plugins/PluginInfoStore.cpp',
663 '../third_party/WebKit/WebCore/plugins/PluginMainThreadScheduler.cpp', 667 '../third_party/WebKit/WebCore/plugins/PluginMainThreadScheduler.cpp',
664 '../third_party/WebKit/WebCore/plugins/PluginPackage.cpp', 668 '../third_party/WebKit/WebCore/plugins/PluginPackage.cpp',
665 '../third_party/WebKit/WebCore/plugins/PluginStream.cpp', 669 '../third_party/WebKit/WebCore/plugins/PluginStream.cpp',
666 '../third_party/WebKit/WebCore/plugins/PluginView.cpp', 670 '../third_party/WebKit/WebCore/plugins/PluginView.cpp',
667 '../third_party/WebKit/WebCore/plugins/npapi.cpp', 671 '../third_party/WebKit/WebCore/plugins/npapi.cpp',
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
814 ['include', '/platform/graphics/cg/[^/]*(?<!Win)?\\.(cpp|mm?)$'], 818 ['include', '/platform/graphics/cg/[^/]*(?<!Win)?\\.(cpp|mm?)$'],
815 819
816 # Use native Mac font code from WebCore. 820 # Use native Mac font code from WebCore.
817 ['include', '/platform/(graphics/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'] , 821 ['include', '/platform/(graphics/)?mac/[^/]*Font[^/]*\\.(cpp|mm?)$'] ,
818 822
819 # Cherry-pick some files that can't be included by broader regexps. 823 # Cherry-pick some files that can't be included by broader regexps.
820 # Some of these are used instead of Chromium platform files, see 824 # Some of these are used instead of Chromium platform files, see
821 # the specific exclusions in the "sources!" list below. 825 # the specific exclusions in the "sources!" list below.
822 ['include', '/third_party/WebKit/WebCore/loader/archive/cf/LegacyWeb Archive\\.cpp$'], 826 ['include', '/third_party/WebKit/WebCore/loader/archive/cf/LegacyWeb Archive\\.cpp$'],
823 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Color Mac\\.mm$'], 827 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Color Mac\\.mm$'],
828 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Float PointMac\\.mm$'],
829 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Float RectMac\\.mm$'],
830 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Float SizeMac\\.mm$'],
824 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Glyph PageTreeNodeMac\\.cpp$'], 831 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Glyph PageTreeNodeMac\\.cpp$'],
825 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Graph icsContextMac\\.mm$'], 832 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/Graph icsContextMac\\.mm$'],
833 ['include', '/third_party/WebKit/WebCore/platform/graphics/mac/IntRe ctMac\\.mm$'],
826 ['include', '/third_party/WebKit/WebCore/platform/mac/BlockException s\\.mm$'], 834 ['include', '/third_party/WebKit/WebCore/platform/mac/BlockException s\\.mm$'],
827 ['include', '/third_party/WebKit/WebCore/platform/mac/LocalCurrentGr aphicsContext\\.mm$'], 835 ['include', '/third_party/WebKit/WebCore/platform/mac/LocalCurrentGr aphicsContext\\.mm$'],
828 ['include', '/third_party/WebKit/WebCore/platform/mac/PurgeableBuffe rMac\\.cpp$'], 836 ['include', '/third_party/WebKit/WebCore/platform/mac/PurgeableBuffe rMac\\.cpp$'],
829 ['include', '/third_party/WebKit/WebCore/platform/mac/ScrollbarTheme Mac\\.mm$'], 837 ['include', '/third_party/WebKit/WebCore/platform/mac/ScrollbarTheme Mac\\.mm$'],
830 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreSystemI nterface\\.mm$'], 838 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreSystemI nterface\\.mm$'],
831 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreTextRen derer\\.mm$'], 839 ['include', '/third_party/WebKit/WebCore/platform/mac/WebCoreTextRen derer\\.mm$'],
832 ['include', '/third_party/WebKit/WebCore/platform/text/mac/ShapeArab ic\\.c$'], 840 ['include', '/third_party/WebKit/WebCore/platform/text/mac/ShapeArab ic\\.c$'],
833 ['include', '/third_party/WebKit/WebCore/platform/text/mac/String(Im pl)?Mac\\.mm$'], 841 ['include', '/third_party/WebKit/WebCore/platform/text/mac/String(Im pl)?Mac\\.mm$'],
842 # Use USE_NEW_THEME on Mac.
843 ['include', '/third_party/WebKit/WebCore/platform/Theme\\.cpp$'],
834 844
835 ['include', '/third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystem Interface\\.m$'], 845 ['include', '/third_party/WebKit/WebKit/mac/WebCoreSupport/WebSystem Interface\\.m$'],
836 ], 846 ],
837 'sources!': [ 847 'sources!': [
838 # The Mac currently uses FontCustomPlatformData.cpp from 848 # The Mac currently uses FontCustomPlatformData.cpp from
839 # platform/graphics/mac, included by regex above, instead. 849 # platform/graphics/mac, included by regex above, instead.
840 '../third_party/WebKit/WebCore/platform/graphics/chromium/FontCustom PlatformData.cpp', 850 '../third_party/WebKit/WebCore/platform/graphics/chromium/FontCustom PlatformData.cpp',
841 851
842 # The Mac currently uses ScrollbarThemeMac.mm, included by regex 852 # The Mac currently uses ScrollbarThemeMac.mm, included by regex
843 # above, instead of ScrollbarThemeChromium.cpp. 853 # above, instead of ScrollbarThemeChromium.cpp.
(...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after
1561 'files': [ 1571 'files': [
1562 1572
1563 '<@(webinspector_image_files)', 1573 '<@(webinspector_image_files)',
1564 1574
1565 ], 1575 ],
1566 }, 1576 },
1567 ], 1577 ],
1568 }, 1578 },
1569 ], # targets 1579 ], # targets
1570 } 1580 }
OLDNEW
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698