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

Side by Side Diff: third_party/WebKit/Source/BUILD.gn

Issue 2703633003: Add initial BUILD.gn in platform/wtf/, and move first a few files there. (Closed)
Patch Set: Give Source/platform/ priority over Source/. 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/wtf/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698