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

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') | 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 370cde3c5f91a8ffad945a4454506c6e8973ac73..33410f246d689c65be47d7b4084f0e97ca9def8c 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,11 @@ 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