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

Side by Side Diff: webkit/webcore.gyp

Issue 208029: Upstreamings parts of webkit.gyp (step 2) (Closed)
Patch Set: removed hash 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
« no previous file with comments | « webkit/javascriptcore.gyp ('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 'includes': [ 6 'includes': [
7 'features.gypi', 7 'features.gypi',
8 '../third_party/WebKit/WebCore/WebCore.gypi', 8 '../third_party/WebKit/WebCore/WebCore.gypi',
9 ], 9 ],
10 'variables': { 10 'variables': {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 ], 95 ],
96 }], 96 }],
97 ], 97 ],
98 }, 98 },
99 'targets': [ 99 'targets': [
100 { 100 {
101 'target_name': 'webcore', 101 'target_name': 'webcore',
102 'type': '<(library)', 102 'type': '<(library)',
103 'msvs_guid': '1C16337B-ACF3-4D03-AA90-851C5B5EADA6', 103 'msvs_guid': '1C16337B-ACF3-4D03-AA90-851C5B5EADA6',
104 'dependencies': [ 104 'dependencies': [
105 'config.gyp:config',
106 'javascriptcore.gyp:pcre', 105 'javascriptcore.gyp:pcre',
107 'javascriptcore.gyp:wtf', 106 'javascriptcore.gyp:wtf',
108 '../build/temp_gyp/googleurl.gyp:googleurl', 107 '../build/temp_gyp/googleurl.gyp:googleurl',
109 '../skia/skia.gyp:skia', 108 '../skia/skia.gyp:skia',
110 '../third_party/libjpeg/libjpeg.gyp:libjpeg', 109 '../third_party/libjpeg/libjpeg.gyp:libjpeg',
111 '../third_party/libpng/libpng.gyp:libpng', 110 '../third_party/libpng/libpng.gyp:libpng',
112 '../third_party/libxml/libxml.gyp:libxml', 111 '../third_party/libxml/libxml.gyp:libxml',
113 '../third_party/libxslt/libxslt.gyp:libxslt', 112 '../third_party/libxslt/libxslt.gyp:libxslt',
114 '../third_party/npapi/npapi.gyp:npapi', 113 '../third_party/npapi/npapi.gyp:npapi',
115 '../third_party/sqlite/sqlite.gyp:sqlite', 114 '../third_party/sqlite/sqlite.gyp:sqlite',
116 ], 115 ],
117 'defines': [ 116 'defines': [
118 '<@(feature_defines)', 117 'WEBCORE_NAVIGATOR_VENDOR="Google Inc."',
119 '<@(non_feature_defines)',
120 ], 118 ],
119 'conditions': [
Ben Laurie (Chromium) 2009/09/23 21:42:26 This duplicates the 'conditions' key below at line
120 ['OS=="linux"', {
121 'defines': [
122 # Mozilla on Linux effectively uses uname -sm, but when running
123 # 32-bit x86 code on an x86_64 processor, it uses
124 # "Linux i686 (x86_64)". Matching that would require making a
125 # run-time determination.
126 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"',
127 ],
128 }],
129 ['OS=="mac"', {
130 'defines': [
131 # Match Safari and Mozilla on Mac x86.
132 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"',
133
134 # Chromium's version of WebCore includes the following Objective-C
135 # classes. The system-provided WebCore framework may also provide
136 # these classes. Because of the nature of Objective-C binding
137 # (dynamically at runtime), it's possible for the Chromium-provided
138 # versions to interfere with the system-provided versions. This may
139 # happen when a system framework attempts to use WebCore.framework,
140 # such as when converting an HTML-flavored string to an
141 # NSAttributedString. The solution is to force Objective-C class
142 # names that would conflict to use alternate names.
143
144 # TODO(mark) This list will hopefully shrink but may also grow.
145 # Periodically run:
146 # nm libwebcore.a | grep -E '[atsATS] ([+-]\[|\.objc_class_name)'
147 # and make sure that everything listed there has the alternate
148 # ChromiumWebCoreObjC name, and that nothing extraneous is listed
149 # here. If all Objective-C can be eliminated from Chromium's WebCore
150 # library, these defines should be removed entirely.
151 # TODO(yaar) move these out of command line defines.
152 'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver',
153 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRe nderThemeNotificationObserver',
154 'WebFontCache=ChromiumWebCoreObjCWebFontCache',
155 ],
156 }],
157 ['OS=="win"', {
158 'defines': [
159 # Match Safari and Mozilla on Windows.
160 'WEBCORE_NAVIGATOR_PLATFORM="Win32"',
161 ],
162 'dependencies': [
163 # Needed on windows for some actions and rules
164 '../build/win/system.gyp:cygwin'
165 ],
166 }],
167 ],
121 'actions': [ 168 'actions': [
122 # Actions to build derived sources. 169 # Actions to build derived sources.
123 { 170 {
124 'action_name': 'CSSPropertyNames', 171 'action_name': 'CSSPropertyNames',
125 'inputs': [ 172 'inputs': [
126 '../third_party/WebKit/WebCore/css/makeprop.pl', 173 '../third_party/WebKit/WebCore/css/makeprop.pl',
127 '../third_party/WebKit/WebCore/css/CSSPropertyNames.in', 174 '../third_party/WebKit/WebCore/css/CSSPropertyNames.in',
128 '../third_party/WebKit/WebCore/css/SVGCSSPropertyNames.in', 175 '../third_party/WebKit/WebCore/css/SVGCSSPropertyNames.in',
129 ], 176 ],
130 'outputs': [ 177 'outputs': [
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 '../third_party/WebKit/WebCore/platform/graphics/GraphicsLayer.cpp', 506 '../third_party/WebKit/WebCore/platform/graphics/GraphicsLayer.cpp',
460 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerBacking.cpp' , 507 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerBacking.cpp' ,
461 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerCompositor.c pp', 508 '../third_party/WebKit/WebCore/platform/graphics/RenderLayerCompositor.c pp',
462 509
463 # We use a multi-process version from the WebKit API. 510 # We use a multi-process version from the WebKit API.
464 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.cp p', 511 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.cp p',
465 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.h' , 512 '../third_party/WebKit/WebCore/dom/default/PlatformMessagePortChannel.h' ,
466 513
467 ], 514 ],
468 'direct_dependent_settings': { 515 'direct_dependent_settings': {
469 # webkit.gyp:webkit & glue need the same feature defines too
470 #'defines': [
471 # '<@(feature_defines)',
472 # '<@(non_feature_defines)',
473 #],
474 'include_dirs': [ 516 'include_dirs': [
475 '<(SHARED_INTERMEDIATE_DIR)/webkit', 517 '<(SHARED_INTERMEDIATE_DIR)/webkit',
476 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings', 518 '<(SHARED_INTERMEDIATE_DIR)/webkit/bindings',
477 '<@(webcore_include_dirs)', 519 '<@(webcore_include_dirs)',
478 ], 520 ],
479 'mac_framework_dirs': [ 521 'mac_framework_dirs': [
480 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks', 522 '$(SDKROOT)/System/Library/Frameworks/ApplicationServices.framework/Fr ameworks',
481 ], 523 ],
482 }, 524 },
483 'export_dependent_settings': [ 525 'export_dependent_settings': [
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
713 ['OS!="win"', { 755 ['OS!="win"', {
714 'sources/': [ 756 'sources/': [
715 ['exclude', 'Win\\.cpp$'], 757 ['exclude', 'Win\\.cpp$'],
716 ['exclude', '/(Windows|Uniscribe)[^/]*\\.cpp$'] 758 ['exclude', '/(Windows|Uniscribe)[^/]*\\.cpp$']
717 ], 759 ],
718 }], 760 }],
719 ], 761 ],
720 }, 762 },
721 ], # targets 763 ], # targets
722 } 764 }
OLDNEW
« no previous file with comments | « webkit/javascriptcore.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698