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 1686 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 | 1697 |
1698 # This is the subset of files from base that should not be used with a dynamic | 1698 # This is the subset of files from base that should not be used with a dynamic |
1699 # library. Note that this library cannot depend on base because base depends on | 1699 # library. Note that this library cannot depend on base because base depends on |
1700 # base_static. | 1700 # base_static. |
1701 static_library("base_static") { | 1701 static_library("base_static") { |
1702 sources = [ | 1702 sources = [ |
1703 "base_switches.cc", | 1703 "base_switches.cc", |
1704 "base_switches.h", | 1704 "base_switches.h", |
1705 "task_scheduler/switches.cc", | 1705 "task_scheduler/switches.cc", |
1706 "task_scheduler/switches.h", | 1706 "task_scheduler/switches.h", |
1707 "win/pe_image.cc", | |
1708 "win/pe_image.h", | |
1709 ] | 1707 ] |
1710 | 1708 |
1711 if (is_win) { | 1709 if (is_win) { |
| 1710 public_deps = [ |
| 1711 "//base/win:pe_image", |
| 1712 ] |
| 1713 |
1712 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox | 1714 # Disable sanitizer coverage in win/pe_image.cc. It is called by the sandbox |
1713 # before sanitizer coverage can initialize. http://crbug.com/484711 | 1715 # before sanitizer coverage can initialize. http://crbug.com/484711 |
1714 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] | 1716 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ] |
1715 configs += | 1717 configs += |
1716 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ] | 1718 [ "//build/config/sanitizers:default_sanitizer_flags_but_coverage" ] |
1717 } | 1719 } |
1718 | 1720 |
1719 if (!is_debug) { | 1721 if (!is_debug) { |
1720 configs -= [ "//build/config/compiler:default_optimization" ] | 1722 configs -= [ "//build/config/compiler:default_optimization" ] |
1721 configs += [ "//build/config/compiler:optimize_max" ] | 1723 configs += [ "//build/config/compiler:optimize_max" ] |
(...skipping 1051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2773 } | 2775 } |
2774 | 2776 |
2775 fuzzer_test("base_json_correctness_fuzzer") { | 2777 fuzzer_test("base_json_correctness_fuzzer") { |
2776 sources = [ | 2778 sources = [ |
2777 "json/correctness_fuzzer.cc", | 2779 "json/correctness_fuzzer.cc", |
2778 ] | 2780 ] |
2779 deps = [ | 2781 deps = [ |
2780 ":base", | 2782 ":base", |
2781 ] | 2783 ] |
2782 } | 2784 } |
OLD | NEW |