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

Unified Diff: third_party/WebKit/Source/core/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 | « third_party/WebKit/Source/BUILD.gn ('k') | third_party/WebKit/Source/core/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/BUILD.gn
diff --git a/third_party/WebKit/Source/core/BUILD.gn b/third_party/WebKit/Source/core/BUILD.gn
index 4345d43272e133cfb4e0464f97ad3177d9427e16..54182f35ff703f999bdaa74a60d6b9f05418a6b6 100644
--- a/third_party/WebKit/Source/core/BUILD.gn
+++ b/third_party/WebKit/Source/core/BUILD.gn
@@ -56,7 +56,7 @@ config("blink_core_pch") {
# This is a string rather than a file GN knows about. It has to match
# exactly what's in the /FI flag below, and what might appear in the
# source code in quotes for an #include directive.
- precompiled_header = rebase_path("win/Precompile-core.h", root_build_dir)
+ precompiled_header = rebase_path("Precompile-core.h", root_build_dir)
# This is a file that GN will compile with the above header. It will be
# implicitly added to the sources (potentially multiple times, with one
@@ -66,6 +66,8 @@ config("blink_core_pch") {
# Force include the header.
cflags = [ "/FI$precompiled_header" ]
+ } else if (is_mac) {
+ precompiled_source = "//third_party/WebKit/Source/core/Precompile-core.h"
}
}
}
@@ -132,10 +134,6 @@ source_set("prerequisites") {
"//third_party/WebKit/Source:inside_blink",
]
- if (is_mac) {
- public_configs += [ "//third_party/WebKit/Source:mac_precompiled_headers" ]
- }
-
if (use_openmax_dl_fft) {
deps += [ "//third_party/openmax_dl/dl" ]
}
« no previous file with comments | « third_party/WebKit/Source/BUILD.gn ('k') | third_party/WebKit/Source/core/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698