Chromium Code Reviews| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 94 # run-time determination. | 95 # run-time determination. |
| 95 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"', | 96 'WEBCORE_NAVIGATOR_PLATFORM="Linux i686"', |
| 96 ], | 97 ], |
| 97 }], | 98 }], |
| 98 ['OS=="mac"', { | 99 ['OS=="mac"', { |
| 99 'non_feature_defines': [ | 100 'non_feature_defines': [ |
| 100 # Ensure that only Leopard features are used when doing the Mac build. | 101 # Ensure that only Leopard features are used when doing the Mac build. |
| 101 'BUILDING_ON_LEOPARD', | 102 'BUILDING_ON_LEOPARD', |
| 102 # Match Safari and Mozilla on Mac x86. | 103 # Match Safari and Mozilla on Mac x86. |
| 103 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"', | 104 'WEBCORE_NAVIGATOR_PLATFORM="MacIntel"', |
| 105 | |
| 106 # Chromium's version of WebCore includes the following Objective-C | |
| 107 # classes. The system-provided WebCore framework may also provide | |
| 108 # these classes. Because of the nature of Objective-C binding | |
| 109 # (dynamically at runtime), it's possible for the Chromium-provided | |
| 110 # versions to interfere with the system-provided versions. This may | |
| 111 # happen when a system framework attempts to use WebCore.framework, | |
| 112 # such as when converting an HTML-flavored string to an | |
| 113 # NSAttributedString. The solution is to force Objective-C class | |
| 114 # names that would conflict to use alternate names. | |
| 115 | |
| 116 # TODO(mark) This list will hopefully shrink but may also grow. | |
| 117 # Periodically run: | |
| 118 # nm libwebcore.a | grep -E '[atsATS] ([+-]\[|\.objc_class_name)' | |
| 119 # and make sure that everything listed there has the alternate | |
| 120 # ChromiumWebCoreObjC name, and that nothing extraneous is listed | |
| 121 # here. If all Objective-C can be eliminated from Chromium's WebCore | |
| 122 # library, these defines should be removed entirely. | |
| 123 # TODO(yaar) move these out of command line defines. | |
| 124 'ScrollbarPrefsObserver=ChromiumWebCoreObjCScrollbarPrefsObserver', | |
| 125 'WebCoreRenderThemeNotificationObserver=ChromiumWebCoreObjCWebCoreRend erThemeNotificationObserver', | |
|
yaar
2009/09/09 17:22:20
Could not shorten/break this line.
| |
| 126 'WebFontCache=ChromiumWebCoreObjCWebFontCache', | |
| 104 ], | 127 ], |
| 105 'webcore_include_dirs+': [ | 128 'webcore_include_dirs+': [ |
| 106 # platform/graphics/cg and mac needs to come before | 129 # platform/graphics/cg and mac needs to come before |
| 107 # platform/graphics/chromium so that the Mac build picks up the | 130 # platform/graphics/chromium so that the Mac build picks up the |
| 108 # version of ImageBufferData.h in the cg directory and | 131 # version of ImageBufferData.h in the cg directory and |
| 109 # FontPlatformData.h in the mac directory. The + prepends this | 132 # FontPlatformData.h in the mac directory. The + prepends this |
| 110 # directory to the list. | 133 # directory to the list. |
| 111 # TODO(port): This shouldn't need to be prepended. | 134 # TODO(port): This shouldn't need to be prepended. |
| 112 # TODO(port): Eliminate dependency on platform/graphics/mac and | 135 # TODO(port): Eliminate dependency on platform/graphics/mac and |
| 113 # related directories. | 136 # related directories. |
| (...skipping 1461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1575 'files': [ | 1598 'files': [ |
| 1576 | 1599 |
| 1577 '<@(webinspector_image_files)', | 1600 '<@(webinspector_image_files)', |
| 1578 | 1601 |
| 1579 ], | 1602 ], |
| 1580 }, | 1603 }, |
| 1581 ], | 1604 ], |
| 1582 }, | 1605 }, |
| 1583 ], | 1606 ], |
| 1584 } | 1607 } |
| OLD | NEW |