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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/BUILD.gn b/third_party/WebKit/Source/platform/BUILD.gn
index 7ce0d060472153972851850648bc94ddb2271bea..ffa50fc0e7fd35025a990d1208e92a44621fd016 100644
--- a/third_party/WebKit/Source/platform/BUILD.gn
+++ b/third_party/WebKit/Source/platform/BUILD.gn
@@ -235,15 +235,11 @@ component("platform") {
"text/LocaleICU.h",
]
- # Some Mac-specific parts of WebKit won't compile without having this
- # prefix header injected.
- cflags = [
- "-include",
- rebase_path("../build/mac/Prefix.h", root_build_dir),
- ]
-
defines += [ "WebFontCache=ChromiumWebCoreObjCWebFontCache" ]
- configs += [ ":mac_objc_renaming" ]
+ configs += [
+ ":mac_objc_renaming",
+ "//third_party/WebKit/Source:mac_precompiled_headers",
+ ]
libs = [
"Accelerate.framework",
"Carbon.framework",
« 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