OLD | NEW |
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 13 matching lines...) Expand all Loading... |
24 'ENABLE_SVG_USE=1', | 24 'ENABLE_SVG_USE=1', |
25 'ENABLE_SVG_FOREIGN_OBJECT=1', | 25 'ENABLE_SVG_FOREIGN_OBJECT=1', |
26 'ENABLE_SVG_FONTS=1', | 26 'ENABLE_SVG_FONTS=1', |
27 'ENABLE_VIDEO=1', | 27 'ENABLE_VIDEO=1', |
28 'ENABLE_WORKERS=1', | 28 'ENABLE_WORKERS=1', |
29 ], | 29 ], |
30 'non_feature_defines': [ | 30 'non_feature_defines': [ |
31 'BUILDING_CHROMIUM__=1', | 31 'BUILDING_CHROMIUM__=1', |
32 'USE_GOOGLE_URL_LIBRARY=1', | 32 'USE_GOOGLE_URL_LIBRARY=1', |
33 'USE_SYSTEM_MALLOC=1', | 33 'USE_SYSTEM_MALLOC=1', |
| 34 'WEBCORE_NAVIGATOR_VENDOR="Google Inc."', |
34 ], | 35 ], |
35 'webcore_include_dirs': [ | 36 'webcore_include_dirs': [ |
36 '../third_party/WebKit/WebCore/accessibility', | 37 '../third_party/WebKit/WebCore/accessibility', |
37 '../third_party/WebKit/WebCore/accessibility/chromium', | 38 '../third_party/WebKit/WebCore/accessibility/chromium', |
38 '../third_party/WebKit/WebCore/bindings/v8', | 39 '../third_party/WebKit/WebCore/bindings/v8', |
39 '../third_party/WebKit/WebCore/bindings/v8/custom', | 40 '../third_party/WebKit/WebCore/bindings/v8/custom', |
40 '../third_party/WebKit/WebCore/bridge', | 41 '../third_party/WebKit/WebCore/bridge', |
41 '../third_party/WebKit/WebCore/css', | 42 '../third_party/WebKit/WebCore/css', |
42 '../third_party/WebKit/WebCore/dom', | 43 '../third_party/WebKit/WebCore/dom', |
43 '../third_party/WebKit/WebCore/dom/default', | 44 '../third_party/WebKit/WebCore/dom/default', |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 # run-time determination. | 96 # run-time determination. |
96 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"', | 97 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"', |
97 ], | 98 ], |
98 }], | 99 }], |
99 ['OS=="mac"', { | 100 ['OS=="mac"', { |
100 'non_feature_defines': [ | 101 'non_feature_defines': [ |
101 # Ensure that only Leopard features are used when doing the Mac build. | 102 # Ensure that only Leopard features are used when doing the Mac build. |
102 'BUILDING_ON_LEOPARD', | 103 'BUILDING_ON_LEOPARD', |
103 # Match Safari and Mozilla on Mac x86. | 104 # Match Safari and Mozilla on Mac x86. |
104 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"', | 105 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"', |
| 106 |
| 107 # Chromium's version of WebCore includes the following Objective-C |
| 108 # classes. The system-provided WebCore framework may also provide |
| 109 # these classes. Because of the nature of Objective-C binding |
| 110 # (dynamically at runtime), it's possible for the Chromium-provided |
| 111 # versions to interfere with the system-provided versions. This may |
| 112 # happen when a system framework attempts to use WebCore.framework, |
| 113 # such as when converting an HTML-flavored string to an |
| 114 # NSAttributedString. The solution is to force Objective-C class |
| 115 # names that would conflict to use alternate names. |
| 116 |
| 117 # TODO(mark) This list will hopefully shrink but may also grow. |
| 118 # Periodically run: |
| 119 # nm libwebcore.a | grep -E '[atsATS] ([+-]\[|\.objc_class_name)' |
| 120 # and make sure that everything listed there has the alternate |
| 121 # ChromiumWebCoreObjC name, and that nothing extraneous is listed |
| 122 # here. If all Objective-C can be eliminated from Chromium's WebCore |
| 123 # library, these defines should be removed entirely. |
| 124 # TODO(yaar) move these out of command line defines. |
| 125 'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver', |
| 126 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRend
erThemeNotificationObserver', |
| 127 'WebFontCache=ChromiumWebCoreObjCWebFontCache', |
105 ], | 128 ], |
106 'webcore_include_dirs+': [ | 129 'webcore_include_dirs+': [ |
107 # platform/graphics/cg and mac needs to come before | 130 # platform/graphics/cg and mac needs to come before |
108 # platform/graphics/chromium so that the Mac build picks up the | 131 # platform/graphics/chromium so that the Mac build picks up the |
109 # version of ImageBufferData.h in the cg directory and | 132 # version of ImageBufferData.h in the cg directory and |
110 # FontPlatformData.h in the mac directory. The + prepends this | 133 # FontPlatformData.h in the mac directory. The + prepends this |
111 # directory to the list. | 134 # directory to the list. |
112 # TODO(port): This shouldn't need to be prepended. | 135 # TODO(port): This shouldn't need to be prepended. |
113 # TODO(port): Eliminate dependency on platform/graphics/mac and | 136 # TODO(port): Eliminate dependency on platform/graphics/mac and |
114 # related directories. | 137 # related directories. |
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1602 'product_dir': '<(PRODUCT_DIR)', | 1625 'product_dir': '<(PRODUCT_DIR)', |
1603 'type': 'loadable_module', | 1626 'type': 'loadable_module', |
1604 'sources': [ | 1627 'sources': [ |
1605 'tools/libxul_hack/libxul_hack.cc' | 1628 'tools/libxul_hack/libxul_hack.cc' |
1606 ], | 1629 ], |
1607 }, | 1630 }, |
1608 ], # targets | 1631 ], # targets |
1609 }], | 1632 }], |
1610 ], # conditions | 1633 ], # conditions |
1611 } | 1634 } |
OLD | NEW |