| 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("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") | 7 import("//third_party/WebKit/Source/build/scripts/scripts.gni") |
| 8 import("//third_party/WebKit/Source/config.gni") | 8 import("//third_party/WebKit/Source/config.gni") |
| 9 import("//third_party/WebKit/Source/platform/platform.gni") | 9 import("//third_party/WebKit/Source/platform/platform.gni") |
| 10 import("//third_party/WebKit/Source/platform/platform_generated.gni") | 10 import("//third_party/WebKit/Source/platform/platform_generated.gni") |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 228 | 228 |
| 229 # Mac uses only ScrollAnimatorMac. | 229 # Mac uses only ScrollAnimatorMac. |
| 230 "scroll/ScrollbarThemeNonMacCommon.cpp", | 230 "scroll/ScrollbarThemeNonMacCommon.cpp", |
| 231 "scroll/ScrollbarThemeNonMacCommon.h", | 231 "scroll/ScrollbarThemeNonMacCommon.h", |
| 232 | 232 |
| 233 # Uses LocaleMac instead. | 233 # Uses LocaleMac instead. |
| 234 "text/LocaleICU.cpp", | 234 "text/LocaleICU.cpp", |
| 235 "text/LocaleICU.h", | 235 "text/LocaleICU.h", |
| 236 ] | 236 ] |
| 237 | 237 |
| 238 # Some Mac-specific parts of WebKit won't compile without having this | 238 defines += [ "WebFontCache=ChromiumWebCoreObjCWebFontCache" ] |
| 239 # prefix header injected. | 239 configs += [ |
| 240 cflags = [ | 240 ":mac_objc_renaming", |
| 241 "-include", | 241 "//third_party/WebKit/Source:mac_precompiled_headers", |
| 242 rebase_path("../build/mac/Prefix.h", root_build_dir), | |
| 243 ] | 242 ] |
| 244 | |
| 245 defines += [ "WebFontCache=ChromiumWebCoreObjCWebFontCache" ] | |
| 246 configs += [ ":mac_objc_renaming" ] | |
| 247 libs = [ | 243 libs = [ |
| 248 "Accelerate.framework", | 244 "Accelerate.framework", |
| 249 "Carbon.framework", | 245 "Carbon.framework", |
| 250 "Foundation.framework", | 246 "Foundation.framework", |
| 251 ] | 247 ] |
| 252 } else { | 248 } else { |
| 253 sources -= [ | 249 sources -= [ |
| 254 "geometry/cg/FloatPointCG.cpp", | 250 "geometry/cg/FloatPointCG.cpp", |
| 255 "geometry/cg/FloatRectCG.cpp", | 251 "geometry/cg/FloatRectCG.cpp", |
| 256 "geometry/cg/FloatSizeCG.cpp", | 252 "geometry/cg/FloatSizeCG.cpp", |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 } | 419 } |
| 424 | 420 |
| 425 if (current_cpu == "x86" || current_cpu == "x64") { | 421 if (current_cpu == "x86" || current_cpu == "x64") { |
| 426 source_set("blink_x86_sse") { | 422 source_set("blink_x86_sse") { |
| 427 sources = blink_platform_sse_files | 423 sources = blink_platform_sse_files |
| 428 deps = [ | 424 deps = [ |
| 429 ":blink_common", | 425 ":blink_common", |
| 430 ] | 426 ] |
| 431 } | 427 } |
| 432 } | 428 } |
| OLD | NEW |