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

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

Issue 2702363002: Share precompiled header setup for blink between Windows and Mac. (Closed)
Patch Set: Share precompiled header setup for blink between Windows and Mac. Created 3 years, 10 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') | third_party/WebKit/Source/core/BUILD.gn » ('J')
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..99becdc560eb58fd950449393575316c0b59e130 100644
--- a/third_party/WebKit/Source/BUILD.gn
+++ b/third_party/WebKit/Source/BUILD.gn
@@ -69,6 +69,9 @@ config("blink_pch") {
# Force include the header.
cflags = [ "/FI$precompiled_header" ]
+ } else if (is_mac) {
+ precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir)
Nico 2017/03/03 16:04:35 I don't think you need the rebase_path call here.
Nico 2017/03/03 19:28:38 Looking at this more, maybe precompiled_header isn
Nico 2017/03/03 20:30:31 I think you can in fact remove this line. https://
+ precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h"
}
}
}
@@ -163,11 +166,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') | third_party/WebKit/Source/core/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698