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", |