Chromium Code Reviews| 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..ce07714f9101a14bac2aa901c0bb768a7879dba1 100644 |
| --- a/third_party/WebKit/Source/core/BUILD.gn |
| +++ b/third_party/WebKit/Source/core/BUILD.gn |
| @@ -56,16 +56,19 @@ 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 |
| # variant for each language used in the target). |
| precompiled_source = |
| - "//third_party/WebKit/Source/core/win/Precompile-core.cpp" |
| + "//third_party/WebKit/Source/core/Precompile-core.cpp" |
| # Force include the header. |
| cflags = [ "/FI$precompiled_header" ] |
| + } else if (is_mac) { |
| + precompiled_header = rebase_path("Precompile-core.h", root_build_dir) |
|
Nico
2017/03/03 16:04:35
likewise
|
| + precompiled_source = "//third_party/WebKit/Source/core/Precompile-core.h" |
| } |
| } |
| } |
| @@ -132,10 +135,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" ] |
| } |