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

Unified Diff: third_party/WebKit/Source/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 | « 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 370cde3c5f91a8ffad945a4454506c6e8973ac73..232d569490ab3dbc8e140fbde6714b8850fd72af 100644
--- a/third_party/WebKit/Source/BUILD.gn
+++ b/third_party/WebKit/Source/BUILD.gn
@@ -27,7 +27,10 @@ config("inside_blink") {
# config -----------------------------------------------------------------------
config("config") {
- include_dirs = [ ".", ".." ]
+ include_dirs = [
+ ".",
+ "..",
+ ]
cflags = []
defines = []
@@ -83,3 +86,10 @@ config("non_test_config") {
cflags += [ "-Wglobal-constructors" ]
}
}
+
+# Some Mac-specific parts of WebKit won't compile without having this prefix
+# header injected.
+config("mac_prefix_header") {
brettw 2015/10/12 16:47:27 It seems like this really turns on precompiled hea
Bons 2015/10/12 17:11:16 Done.
+ 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