Chromium Code Reviews| 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 # 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 Loading... | |
| 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. The can then be enabled at runtime by passing the command line |
|
gab
2017/02/17 21:13:27
"The can then" ? :)
Sigurður Ásgeirsson
2017/02/17 21:49:26
Ugh - I have the best words, don't I :)
English is
| |
| 42 enable_memory_task_profiler = | 42 # 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 Loading... | |
| 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 } |
| OLD | NEW |