OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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("//build/config/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/dcheck_always_on.gni") | 9 import("//build/config/dcheck_always_on.gni") |
10 import("//build/config/features.gni") | 10 import("//build/config/features.gni") |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 "Foundation.framework", | 256 "Foundation.framework", |
257 ] | 257 ] |
258 } else if (is_linux) { | 258 } else if (is_linux) { |
259 libs = [ | 259 libs = [ |
260 "dl", | 260 "dl", |
261 "rt", | 261 "rt", |
262 ] | 262 ] |
263 } | 263 } |
264 } | 264 } |
265 | 265 |
| 266 # Dependencies that all executables and shared libraries should have. |
| 267 # All targets that currently depend on //build/config/sanitizers:deps |
| 268 # are being made to depend on this target instead |
| 269 # (https://crbug.com/723069). |
| 270 group("exe_and_shlib_deps") { |
| 271 public_deps = [ |
| 272 "//build/config/sanitizers:deps", |
| 273 ] |
| 274 } |
| 275 |
266 # Executable configs ----------------------------------------------------------- | 276 # Executable configs ----------------------------------------------------------- |
267 | 277 |
268 # Windows linker setup for EXEs and DLLs. | 278 # Windows linker setup for EXEs and DLLs. |
269 if (is_win) { | 279 if (is_win) { |
270 _windows_linker_configs = [ | 280 _windows_linker_configs = [ |
271 "//build/config/win:sdk_link", | 281 "//build/config/win:sdk_link", |
272 "//build/config/win:common_linker_setup", | 282 "//build/config/win:common_linker_setup", |
273 ] | 283 ] |
274 } | 284 } |
275 | 285 |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
360 # variant for each language used in the target). | 370 # variant for each language used in the target). |
361 precompiled_source = "//build/precompile.cc" | 371 precompiled_source = "//build/precompile.cc" |
362 | 372 |
363 # Force include the header. | 373 # Force include the header. |
364 cflags = [ "/FI$precompiled_header" ] | 374 cflags = [ "/FI$precompiled_header" ] |
365 } else if (is_mac) { | 375 } else if (is_mac) { |
366 precompiled_source = "//build/precompile.h" | 376 precompiled_source = "//build/precompile.h" |
367 } | 377 } |
368 } | 378 } |
369 } | 379 } |
OLD | NEW |