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 1640 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1651 | 1651 |
| 1652 # This is the subset of files from base that should not be used with a dynamic | 1652 # This is the subset of files from base that should not be used with a dynamic |
| 1653 # library. Note that this library cannot depend on base because base depends on | 1653 # library. Note that this library cannot depend on base because base depends on |
| 1654 # base_static. | 1654 # base_static. |
| 1655 static_library("base_static") { | 1655 static_library("base_static") { |
| 1656 sources = [ | 1656 sources = [ |
| 1657 "base_switches.cc", | 1657 "base_switches.cc", |
| 1658 "base_switches.h", | 1658 "base_switches.h", |
| 1659 "task_scheduler/switches.cc", | 1659 "task_scheduler/switches.cc", |
| 1660 "task_scheduler/switches.h", | 1660 "task_scheduler/switches.h", |
| 1661 "win/pe_image.cc", | |
| 1662 "win/pe_image.h", | |
| 1663 ] | 1661 ] |
| 1664 | 1662 |
| 1665 if (is_win) { | 1663 if (is_win) { |
| 1666 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox | 1664 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox |
| 1667 # before sanitizer coverage can initialize. http://crbug.com/484711 | 1665 # before sanitizer coverage can initialize. http://crbug.com/484711 |
| 1666 deps = [ "//base/win:pe_image" ] | |
|
dcheng
2017/05/11 20:31:20
The deps line looks a bit out of place below the s
etienneb
2017/05/29 20:25:54
Done.
| |
| 1668 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] | 1667 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] |
| 1669 configs += | 1668 configs += |
| 1670 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ] | 1669 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ] |
| 1671 } | 1670 } |
| 1672 | 1671 |
| 1673 if (!is_debug) { | 1672 if (!is_debug) { |
| 1674 configs -= [ "//build/config/compiler:default_optimization" ] | 1673 configs -= [ "//build/config/compiler:default_optimization" ] |
| 1675 configs += [ "//build/config/compiler:optimize_max" ] | 1674 configs += [ "//build/config/compiler:optimize_max" ] |
| 1676 } | 1675 } |
| 1677 } | 1676 } |
| (...skipping 1044 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2722 } | 2721 } |
| 2723 | 2722 |
| 2724 fuzzer_test("base_json_correctness_fuzzer") { | 2723 fuzzer_test("base_json_correctness_fuzzer") { |
| 2725 sources = [ | 2724 sources = [ |
| 2726 "json/correctness_fuzzer.cc", | 2725 "json/correctness_fuzzer.cc", |
| 2727 ] | 2726 ] |
| 2728 deps = [ | 2727 deps = [ |
| 2729 ":base", | 2728 ":base", |
| 2730 ] | 2729 ] |
| 2731 } | 2730 } |
| OLD | NEW |