| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 6 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 7 import("//third_party/WebKit/Source/config.gni") | 7 import("//third_party/WebKit/Source/config.gni") |
| 8 import("//third_party/WebKit/Source/platform/platform.gni") | 8 import("//third_party/WebKit/Source/platform/platform.gni") |
| 9 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 9 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| 10 | 10 |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 deps = [ | 206 deps = [ |
| 207 ":make_platform_generated", | 207 ":make_platform_generated", |
| 208 "//third_party/harfbuzz-ng", | 208 "//third_party/harfbuzz-ng", |
| 209 "//third_party/icu", | 209 "//third_party/icu", |
| 210 "//third_party/WebKit/Source/wtf", | 210 "//third_party/WebKit/Source/wtf", |
| 211 "//third_party/WebKit/Source/platform/heap", | 211 "//third_party/WebKit/Source/platform/heap", |
| 212 ] | 212 ] |
| 213 | 213 |
| 214 if (is_mac) { | 214 if (is_mac) { |
| 215 sources -= [ | 215 sources -= [ |
| 216 "fonts/harfbuzz/FontHarfBuzz.cpp", |
| 217 "fonts/harfbuzz/HarfBuzzFaceSkia.cpp", |
| 216 "fonts/opentype/OpenTypeTypes.h", | 218 "fonts/opentype/OpenTypeTypes.h", |
| 217 "fonts/opentype/OpenTypeVerticalData.cpp", | 219 "fonts/opentype/OpenTypeVerticalData.cpp", |
| 218 "fonts/opentype/OpenTypeVerticalData.h", | 220 "fonts/opentype/OpenTypeVerticalData.h", |
| 219 # The Mac currently uses FontCustomPlatformDataMac.cpp instead. | 221 # The Mac currently uses FontCustomPlatformDataMac.cpp instead. |
| 220 "fonts/skia/FontCustomPlatformDataSkia.cpp", | 222 "fonts/skia/FontCustomPlatformDataSkia.cpp", |
| 221 "fonts/skia/FontCacheSkia.cpp", | 223 "fonts/skia/FontCacheSkia.cpp", |
| 224 "fonts/skia/SimpleFontDataSkia.cpp", |
| 222 # Uses LocaleMac instead. | 225 # Uses LocaleMac instead. |
| 223 "text/LocaleICU.cpp", | 226 "text/LocaleICU.cpp", |
| 224 "text/LocaleICU.h", | 227 "text/LocaleICU.h", |
| 225 # Uses KillRingMac.mm instead. | 228 # Uses KillRingMac.mm instead. |
| 226 "KillRingNone.cpp", | 229 "KillRingNone.cpp", |
| 227 # Mac uses only ScrollAnimatorMac. | 230 # Mac uses only ScrollAnimatorMac. |
| 228 "scroll/ScrollbarThemeNonMacCommon.cpp", | 231 "scroll/ScrollbarThemeNonMacCommon.cpp", |
| 229 "scroll/ScrollbarThemeNonMacCommon.h", | 232 "scroll/ScrollbarThemeNonMacCommon.h", |
| 230 "scroll/ScrollAnimatorNone.cpp", | 233 "scroll/ScrollAnimatorNone.cpp", |
| 231 "scroll/ScrollAnimatorNone.h", | 234 "scroll/ScrollAnimatorNone.h", |
| 232 ] | 235 ] |
| 233 | 236 |
| 234 # Some Mac-specific parts of WebKit won't compile without having this | 237 # Some Mac-specific parts of WebKit won't compile without having this |
| 235 # prefix header injected. | 238 # prefix header injected. |
| 236 cflags = [ | 239 cflags = [ |
| 237 "-include", | 240 "-include", |
| 238 rebase_path("../build/mac/Prefix.h", root_build_dir), | 241 rebase_path("../build/mac/Prefix.h", root_build_dir), |
| 239 ] | 242 ] |
| 240 | 243 |
| 241 defines += [ "WebFontCache=ChromiumWebCoreObjCWebFontCache" ] | 244 defines += [ "WebFontCache=ChromiumWebCoreObjCWebFontCache" ] |
| 242 configs += [ ":mac_objc_renaming" ] | 245 configs += [ ":mac_objc_renaming" ] |
| 243 libs = [ | 246 libs = [ |
| 244 "Accelerate.framework", | 247 "Accelerate.framework", |
| 245 "Carbon.framework", | 248 "Carbon.framework", |
| 246 "Foundation.framework", | 249 "Foundation.framework", |
| 247 ] | 250 ] |
| 248 } else { | 251 } else { |
| 249 sources -= [ | 252 sources -= [ |
| 253 "fonts/harfbuzz/HarfBuzzFaceCoreText.cpp", |
| 250 "geometry/cg/FloatPointCG.cpp", | 254 "geometry/cg/FloatPointCG.cpp", |
| 251 "geometry/cg/FloatRectCG.cpp", | 255 "geometry/cg/FloatRectCG.cpp", |
| 252 "geometry/cg/FloatSizeCG.cpp", | 256 "geometry/cg/FloatSizeCG.cpp", |
| 253 "geometry/cg/IntPointCG.cpp", | 257 "geometry/cg/IntPointCG.cpp", |
| 254 "geometry/cg/IntRectCG.cpp", | 258 "geometry/cg/IntRectCG.cpp", |
| 255 "geometry/cg/IntSizeCG.cpp", | 259 "geometry/cg/IntSizeCG.cpp", |
| 256 ] | 260 ] |
| 257 } | 261 } |
| 258 | 262 |
| 259 if (is_win) { | 263 if (is_win) { |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 #'cflags': ['-marm'], | 395 #'cflags': ['-marm'], |
| 392 # 'conditions': [ | 396 # 'conditions': [ |
| 393 # ['OS=="android"', { | 397 # ['OS=="android"', { |
| 394 # 'cflags!': ['-mthumb'], | 398 # 'cflags!': ['-mthumb'], |
| 395 # }], | 399 # }], |
| 396 # ], | 400 # ], |
| 397 | 401 |
| 398 deps = [ ":blink_common" ] | 402 deps = [ ":blink_common" ] |
| 399 } | 403 } |
| 400 } | 404 } |
| OLD | NEW |