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

Side by Side Diff: base/BUILD.gn

Issue 2307103002: Switch to using_sanitizer for archiving llvm-symbolizer. Also, add libFuzzer and AFL explicitly in … (Closed)
Patch Set: Created 4 years, 3 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 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1429 matching lines...) Expand 10 before | Expand all | Expand 10 after
1440 set_sources_assignment_filter(sources_assignment_filter) 1440 set_sources_assignment_filter(sources_assignment_filter)
1441 } 1441 }
1442 1442
1443 if (!use_glib) { 1443 if (!use_glib) {
1444 sources -= [ 1444 sources -= [
1445 "message_loop/message_pump_glib.cc", 1445 "message_loop/message_pump_glib.cc",
1446 "message_loop/message_pump_glib.h", 1446 "message_loop/message_pump_glib.h",
1447 ] 1447 ]
1448 } 1448 }
1449 1449
1450 if (is_asan || is_lsan || is_msan || is_tsan) { 1450 if (using_sanitizer) {
1451 data += [ "//tools/valgrind/asan/" ] 1451 data += [ "//tools/valgrind/asan/" ]
1452 if (is_win) { 1452 if (is_win) {
1453 data += 1453 data +=
1454 [ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe" ] 1454 [ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer.exe" ]
1455 } else { 1455 } else {
1456 data += [ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer" ] 1456 data += [ "//third_party/llvm-build/Release+Asserts/bin/llvm-symbolizer" ]
1457 } 1457 }
1458 } 1458 }
1459 1459
1460 configs += [ "//build/config/compiler:wexit_time_destructors" ] 1460 configs += [ "//build/config/compiler:wexit_time_destructors" ]
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
2440 android_library("base_java_unittest_support") { 2440 android_library("base_java_unittest_support") {
2441 deps = [ 2441 deps = [
2442 ":base_java", 2442 ":base_java",
2443 ] 2443 ]
2444 java_files = [ 2444 java_files = [
2445 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", 2445 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java",
2446 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", 2446 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java",
2447 ] 2447 ]
2448 } 2448 }
2449 } 2449 }
OLDNEW
« no previous file with comments | « no previous file | build/config/sanitizers/sanitizers.gni » ('j') | build/config/sanitizers/sanitizers.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698