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

Side by Side Diff: base/BUILD.gn

Issue 2699833006: Enable the memory task profiler in all builds where the heap shim is available. (Closed)
Patch Set: Address Gab's nit. Created 3 years, 10 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
« 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 20 matching lines...) Expand all
31 import("//testing/libfuzzer/fuzzer_test.gni") 31 import("//testing/libfuzzer/fuzzer_test.gni")
32 import("//testing/test.gni") 32 import("//testing/test.gni")
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. Profiling can then be enabled at runtime by passing the command
42 enable_memory_task_profiler = 42 # line flag --enable-heap-profiling=task-profiler.
43 use_experimental_allocator_shim && (!is_official_build || is_syzyasan) 43 enable_memory_task_profiler = use_experimental_allocator_shim
44 44
45 # Partition alloc is included by default except iOS. 45 # Partition alloc is included by default except iOS.
46 use_partition_alloc = !is_ios 46 use_partition_alloc = !is_ios
47 } 47 }
48 48
49 if (is_android) { 49 if (is_android) {
50 import("//build/config/android/rules.gni") 50 import("//build/config/android/rules.gni")
51 } 51 }
52 52
53 config("base_flags") { 53 config("base_flags") {
(...skipping 2592 matching lines...) Expand 10 before | Expand all | Expand 10 after
2646 } 2646 }
2647 2647
2648 fuzzer_test("base_json_correctness_fuzzer") { 2648 fuzzer_test("base_json_correctness_fuzzer") {
2649 sources = [ 2649 sources = [
2650 "json/correctness_fuzzer.cc", 2650 "json/correctness_fuzzer.cc",
2651 ] 2651 ]
2652 deps = [ 2652 deps = [
2653 ":base", 2653 ":base",
2654 ] 2654 ]
2655 } 2655 }
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