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

Side by Side Diff: base/BUILD.gn

Issue 2559833002: Enable memory profiling in SyzyASAN builds. (Closed)
Patch Set: Created 4 years 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 22 matching lines...) Expand all
33 33
34 declare_args() { 34 declare_args() {
35 # Override this value to give a specific build date. 35 # Override this value to give a specific build date.
36 # See //base/build_time.cc and //build/write_build_date_header.py for more 36 # See //base/build_time.cc and //build/write_build_date_header.py for more
37 # details and the expected format. 37 # details and the expected format.
38 override_build_date = "N/A" 38 override_build_date = "N/A"
39 39
40 # Turn on memory profiling in the task profiler when the heap shim is 40 # Turn on memory profiling in the task profiler when the heap shim is
41 # available, except for official builds for now. 41 # available, except for official builds for now.
42 enable_memory_task_profiler = 42 enable_memory_task_profiler =
43 use_experimental_allocator_shim && !is_official_build 43 use_experimental_allocator_shim && (!is_official_build || is_syzyasan)
44 } 44 }
45 45
46 if (is_android) { 46 if (is_android) {
47 import("//build/config/android/rules.gni") 47 import("//build/config/android/rules.gni")
48 } 48 }
49 49
50 config("base_flags") { 50 config("base_flags") {
51 if (is_clang) { 51 if (is_clang) {
52 cflags = [ 52 cflags = [
53 # Don't die on dtoa code that uses a char as an array index. 53 # Don't die on dtoa code that uses a char as an array index.
(...skipping 2473 matching lines...) Expand 10 before | Expand all | Expand 10 after
2527 } 2527 }
2528 2528
2529 fuzzer_test("base_json_correctness_fuzzer") { 2529 fuzzer_test("base_json_correctness_fuzzer") {
2530 sources = [ 2530 sources = [
2531 "json/correctness_fuzzer.cc", 2531 "json/correctness_fuzzer.cc",
2532 ] 2532 ]
2533 deps = [ 2533 deps = [
2534 ":base", 2534 ":base",
2535 ] 2535 ]
2536 } 2536 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698