| 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 2200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2211 "CoreFoundation.framework", | 2211 "CoreFoundation.framework", |
| 2212 "Foundation.framework", | 2212 "Foundation.framework", |
| 2213 ] | 2213 ] |
| 2214 } | 2214 } |
| 2215 | 2215 |
| 2216 if (is_linux) { | 2216 if (is_linux) { |
| 2217 if (is_desktop_linux) { | 2217 if (is_desktop_linux) { |
| 2218 sources += [ "nix/xdg_util_unittest.cc" ] | 2218 sources += [ "nix/xdg_util_unittest.cc" ] |
| 2219 } | 2219 } |
| 2220 | 2220 |
| 2221 deps += [ "//base/test:malloc_wrapper" ] | 2221 if (is_component_build) { |
| 2222 | 2222 deps += [ "//base/test:malloc_wrapper" ] |
| 2223 if (!is_component_build) { | |
| 2224 # Set rpath to find libmalloc_wrapper.so even in a non-component build. | |
| 2225 configs += [ "//build/config/gcc:rpath_for_built_shared_libraries" ] | |
| 2226 } | 2223 } |
| 2227 } | 2224 } |
| 2228 | 2225 |
| 2229 if (!use_glib) { | 2226 if (!use_glib) { |
| 2230 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] | 2227 sources -= [ "message_loop/message_pump_glib_unittest.cc" ] |
| 2231 } | 2228 } |
| 2232 | 2229 |
| 2233 if (is_posix && !is_ios) { | 2230 if (is_posix && !is_ios) { |
| 2234 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] | 2231 sources += [ "message_loop/message_pump_libevent_unittest.cc" ] |
| 2235 deps += [ "//base/third_party/libevent" ] | 2232 deps += [ "//base/third_party/libevent" ] |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2588 } | 2585 } |
| 2589 | 2586 |
| 2590 fuzzer_test("base_json_correctness_fuzzer") { | 2587 fuzzer_test("base_json_correctness_fuzzer") { |
| 2591 sources = [ | 2588 sources = [ |
| 2592 "json/correctness_fuzzer.cc", | 2589 "json/correctness_fuzzer.cc", |
| 2593 ] | 2590 ] |
| 2594 deps = [ | 2591 deps = [ |
| 2595 ":base", | 2592 ":base", |
| 2596 ] | 2593 ] |
| 2597 } | 2594 } |
| OLD | NEW |