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

Unified Diff: third_party/WebKit/Source/BUILD.gn

Issue 2702363002: Share precompiled header setup for blink between Windows and Mac. (Closed)
Patch Set: Added missing Cocoa imports Created 3 years, 9 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 | « no previous file | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/BUILD.gn
diff --git a/third_party/WebKit/Source/BUILD.gn b/third_party/WebKit/Source/BUILD.gn
index ca5d37ceb669962f2b942391e9c90c4b2f0c26aa..8e148f2381a6d42e589067675d695d291926fef0 100644
--- a/third_party/WebKit/Source/BUILD.gn
+++ b/third_party/WebKit/Source/BUILD.gn
@@ -69,6 +69,8 @@ config("blink_pch") {
# Force include the header.
cflags = [ "/FI$precompiled_header" ]
+ } else if (is_mac) {
+ precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h"
}
}
}
@@ -163,11 +165,3 @@ config("non_test_config") {
cflags += [ "-Wglobal-constructors" ]
}
}
-
-if (is_mac) {
- # This sets up precompiled headers for Mac.
- config("mac_precompiled_headers") {
- precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir)
- precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h"
- }
-}
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698