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 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1114 "//build/config:precompiled_headers", | 1114 "//build/config:precompiled_headers", |
1115 ] | 1115 ] |
1116 | 1116 |
1117 deps = [ | 1117 deps = [ |
1118 "//base/allocator", | 1118 "//base/allocator", |
1119 "//base/allocator:features", | 1119 "//base/allocator:features", |
1120 "//base/third_party/dynamic_annotations", | 1120 "//base/third_party/dynamic_annotations", |
1121 "//third_party/modp_b64", | 1121 "//third_party/modp_b64", |
1122 ] | 1122 ] |
1123 | 1123 |
| 1124 if (is_mac) { |
| 1125 deps += [ "//third_party/mach_override" ] |
| 1126 } |
| 1127 |
1124 public_deps = [ | 1128 public_deps = [ |
1125 ":base_paths", | 1129 ":base_paths", |
1126 ":base_static", | 1130 ":base_static", |
1127 ":build_date", | 1131 ":build_date", |
1128 ":debugging_flags", | 1132 ":debugging_flags", |
1129 ] | 1133 ] |
1130 | 1134 |
1131 # Needed for <atomic> if using newer C++ library than sysroot | 1135 # Needed for <atomic> if using newer C++ library than sysroot |
1132 if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) { | 1136 if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) { |
1133 libs = [ "atomic" ] | 1137 libs = [ "atomic" ] |
(...skipping 752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1886 configs += [ "//build/config/compiler:enable_arc" ] | 1890 configs += [ "//build/config/compiler:enable_arc" ] |
1887 deps = [ | 1891 deps = [ |
1888 ":base", | 1892 ":base", |
1889 "//testing/gtest", | 1893 "//testing/gtest", |
1890 ] | 1894 ] |
1891 } | 1895 } |
1892 } | 1896 } |
1893 | 1897 |
1894 test("base_unittests") { | 1898 test("base_unittests") { |
1895 sources = [ | 1899 sources = [ |
| 1900 "allocator/allocator_interception_mac_unittest.cc", |
1896 "allocator/malloc_zone_functions_mac_unittest.cc", | 1901 "allocator/malloc_zone_functions_mac_unittest.cc", |
1897 "allocator/tcmalloc_unittest.cc", | 1902 "allocator/tcmalloc_unittest.cc", |
1898 "android/application_status_listener_unittest.cc", | 1903 "android/application_status_listener_unittest.cc", |
1899 "android/content_uri_utils_unittest.cc", | 1904 "android/content_uri_utils_unittest.cc", |
1900 "android/jni_android_unittest.cc", | 1905 "android/jni_android_unittest.cc", |
1901 "android/jni_array_unittest.cc", | 1906 "android/jni_array_unittest.cc", |
1902 "android/jni_string_unittest.cc", | 1907 "android/jni_string_unittest.cc", |
1903 "android/library_loader/library_prefetcher_unittest.cc", | 1908 "android/library_loader/library_prefetcher_unittest.cc", |
1904 "android/path_utils_unittest.cc", | 1909 "android/path_utils_unittest.cc", |
1905 "android/scoped_java_ref_unittest.cc", | 1910 "android/scoped_java_ref_unittest.cc", |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2664 } | 2669 } |
2665 | 2670 |
2666 fuzzer_test("base_json_correctness_fuzzer") { | 2671 fuzzer_test("base_json_correctness_fuzzer") { |
2667 sources = [ | 2672 sources = [ |
2668 "json/correctness_fuzzer.cc", | 2673 "json/correctness_fuzzer.cc", |
2669 ] | 2674 ] |
2670 deps = [ | 2675 deps = [ |
2671 ":base", | 2676 ":base", |
2672 ] | 2677 ] |
2673 } | 2678 } |
OLD | NEW |