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

Side by Side Diff: build/config/BUILD.gn

Issue 2911513002: Partition libcxx build code from build/config/sanitizers (Closed)
Patch Set: Fix asan Created 3 years, 7 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
OLDNEW
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
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. 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") { 267 group("exe_and_shlib_deps") {
271 public_deps = [ 268 public_deps = []
272 "//build/config/sanitizers:deps", 269 if (using_sanitizer) {
273 ] 270 public_deps += [ "//build/config/sanitizers:deps" ]
271 }
272 if (use_custom_libcxx) {
273 public_deps += [ "//buildtools/third_party/libc++:libcxx_proxy" ]
274 }
275 if (use_afl) {
276 public_deps += [ "//third_party/afl" ]
277 }
274 } 278 }
275 279
276 # Executable configs ----------------------------------------------------------- 280 # Executable configs -----------------------------------------------------------
277 281
278 # Windows linker setup for EXEs and DLLs. 282 # Windows linker setup for EXEs and DLLs.
279 if (is_win) { 283 if (is_win) {
280 _windows_linker_configs = [ 284 _windows_linker_configs = [
281 "//build/config/win:sdk_link", 285 "//build/config/win:sdk_link",
282 "//build/config/win:common_linker_setup", 286 "//build/config/win:common_linker_setup",
283 ] 287 ]
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 # variant for each language used in the target). 374 # variant for each language used in the target).
371 precompiled_source = "//build/precompile.cc" 375 precompiled_source = "//build/precompile.cc"
372 376
373 # Force include the header. 377 # Force include the header.
374 cflags = [ "/FI$precompiled_header" ] 378 cflags = [ "/FI$precompiled_header" ]
375 } else if (is_mac) { 379 } else if (is_mac) {
376 precompiled_source = "//build/precompile.h" 380 precompiled_source = "//build/precompile.h"
377 } 381 }
378 } 382 }
379 } 383 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sanitizers/BUILD.gn » ('j') | components/nacl/loader/nacl_helper_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698