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/c++/c++.gni") | 6 import("//build/config/c++/c++.gni") |
7 import("//build/config/chrome_build.gni") | 7 import("//build/config/chrome_build.gni") |
8 import("//build/config/chromecast_build.gni") | 8 import("//build/config/chromecast_build.gni") |
9 import("//build/config/crypto.gni") | 9 import("//build/config/crypto.gni") |
10 import("//build/config/dcheck_always_on.gni") | 10 import("//build/config/dcheck_always_on.gni") |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
265 } | 265 } |
266 } | 266 } |
267 | 267 |
268 # Dependencies that all executables and shared libraries should have. | 268 # Dependencies that all executables and shared libraries should have. |
269 group("exe_and_shlib_deps") { | 269 group("exe_and_shlib_deps") { |
270 public_deps = [] | 270 public_deps = [] |
271 if (using_sanitizer) { | 271 if (using_sanitizer) { |
272 public_deps += [ "//build/config/sanitizers:deps" ] | 272 public_deps += [ "//build/config/sanitizers:deps" ] |
273 } | 273 } |
274 if (use_custom_libcxx) { | 274 if (use_custom_libcxx) { |
275 public_deps += [ "//buildtools/third_party/libc++:libcxx_proxy" ] | 275 public_deps += [ "//buildtools/third_party/libc++" ] |
276 } | 276 } |
277 if (use_afl) { | 277 if (use_afl) { |
278 public_deps += [ "//third_party/afl" ] | 278 public_deps += [ "//third_party/afl" ] |
279 } | 279 } |
280 } | 280 } |
281 | 281 |
282 # Executable configs ----------------------------------------------------------- | 282 # Executable configs ----------------------------------------------------------- |
283 | 283 |
284 # Windows linker setup for EXEs and DLLs. | 284 # Windows linker setup for EXEs and DLLs. |
285 if (is_win) { | 285 if (is_win) { |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
376 # variant for each language used in the target). | 376 # variant for each language used in the target). |
377 precompiled_source = "//build/precompile.cc" | 377 precompiled_source = "//build/precompile.cc" |
378 | 378 |
379 # Force include the header. | 379 # Force include the header. |
380 cflags = [ "/FI$precompiled_header" ] | 380 cflags = [ "/FI$precompiled_header" ] |
381 } else if (is_mac) { | 381 } else if (is_mac) { |
382 precompiled_source = "//build/precompile.h" | 382 precompiled_source = "//build/precompile.h" |
383 } | 383 } |
384 } | 384 } |
385 } | 385 } |
OLD | NEW |