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

Side by Side Diff: third_party/WebKit/Source/platform/BUILD.gn

Issue 1397143003: [GN]: Enable PCH for WebKit on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | « third_party/WebKit/Source/core/BUILD.gn ('k') | tools/gn/docs/cookbook.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/BUILD.gn ('k') | tools/gn/docs/cookbook.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698