Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("config.gni") | 5 import("config.gni") |
| 6 if (is_clang) { | 6 if (is_clang) { |
| 7 import("//build/config/clang/clang.gni") | 7 import("//build/config/clang/clang.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 visibility = [ "//third_party/WebKit/*" ] | 10 visibility = [ "//third_party/WebKit/*" ] |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 70 # Force include the header. | 70 # Force include the header. |
| 71 cflags = [ "/FI$precompiled_header" ] | 71 cflags = [ "/FI$precompiled_header" ] |
| 72 } | 72 } |
| 73 } | 73 } |
| 74 } | 74 } |
| 75 | 75 |
| 76 # config ----------------------------------------------------------------------- | 76 # config ----------------------------------------------------------------------- |
| 77 | 77 |
| 78 config("config") { | 78 config("config") { |
| 79 include_dirs = [ | 79 include_dirs = [ |
| 80 # crbug.com/691465: Temporary solution to fix an issue related to MSVC- | |
| 81 # specific #include search order. This essentially lets | |
| 82 # #include "wtf/Foo.h" actually include "platform/wtf/Foo.h". This is okay | |
| 83 # because these files are equivalent if both exist. | |
|
Nico
2017/02/24 15:17:51
i kind of liked my comment better, but oh well :-)
| |
| 84 "platform", | |
| 80 ".", | 85 ".", |
| 81 "..", | 86 "..", |
| 82 "$root_gen_dir/blink", | 87 "$root_gen_dir/blink", |
| 83 "$root_gen_dir/third_party/WebKit", | 88 "$root_gen_dir/third_party/WebKit", |
| 84 ] | 89 ] |
| 85 | 90 |
| 86 cflags = [] | 91 cflags = [] |
| 87 defines = [] | 92 defines = [] |
| 88 | 93 |
| 89 if (is_win) { | 94 if (is_win) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 164 } | 169 } |
| 165 } | 170 } |
| 166 | 171 |
| 167 if (is_mac) { | 172 if (is_mac) { |
| 168 # This sets up precompiled headers for Mac. | 173 # This sets up precompiled headers for Mac. |
| 169 config("mac_precompiled_headers") { | 174 config("mac_precompiled_headers") { |
| 170 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) | 175 precompiled_header = rebase_path("build/mac/Prefix.h", root_build_dir) |
| 171 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" | 176 precompiled_source = "//third_party/WebKit/Source/build/mac/Prefix.h" |
| 172 } | 177 } |
| 173 } | 178 } |
| OLD | NEW |