| 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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 "metrics/sample_map.h", | 548 "metrics/sample_map.h", |
| 549 "metrics/sample_vector.cc", | 549 "metrics/sample_vector.cc", |
| 550 "metrics/sample_vector.h", | 550 "metrics/sample_vector.h", |
| 551 "metrics/sparse_histogram.cc", | 551 "metrics/sparse_histogram.cc", |
| 552 "metrics/sparse_histogram.h", | 552 "metrics/sparse_histogram.h", |
| 553 "metrics/statistics_recorder.cc", | 553 "metrics/statistics_recorder.cc", |
| 554 "metrics/statistics_recorder.h", | 554 "metrics/statistics_recorder.h", |
| 555 "metrics/user_metrics.cc", | 555 "metrics/user_metrics.cc", |
| 556 "metrics/user_metrics.h", | 556 "metrics/user_metrics.h", |
| 557 "metrics/user_metrics_action.h", | 557 "metrics/user_metrics_action.h", |
| 558 "native_library.cc", |
| 558 "native_library.h", | 559 "native_library.h", |
| 559 "native_library_ios.mm", | 560 "native_library_ios.mm", |
| 560 "native_library_mac.mm", | 561 "native_library_mac.mm", |
| 561 "native_library_posix.cc", | 562 "native_library_posix.cc", |
| 562 "native_library_win.cc", | 563 "native_library_win.cc", |
| 563 "nix/mime_util_xdg.cc", | 564 "nix/mime_util_xdg.cc", |
| 564 "nix/mime_util_xdg.h", | 565 "nix/mime_util_xdg.h", |
| 565 "nix/xdg_util.cc", | 566 "nix/xdg_util.cc", |
| 566 "nix/xdg_util.h", | 567 "nix/xdg_util.h", |
| 567 "numerics/safe_conversions.h", | 568 "numerics/safe_conversions.h", |
| (...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1128 "files/important_file_writer.cc", | 1129 "files/important_file_writer.cc", |
| 1129 "files/important_file_writer.h", | 1130 "files/important_file_writer.h", |
| 1130 "files/scoped_temp_dir.cc", | 1131 "files/scoped_temp_dir.cc", |
| 1131 "memory/discardable_memory.cc", | 1132 "memory/discardable_memory.cc", |
| 1132 "memory/discardable_memory.h", | 1133 "memory/discardable_memory.h", |
| 1133 "memory/discardable_memory_allocator.cc", | 1134 "memory/discardable_memory_allocator.cc", |
| 1134 "memory/discardable_memory_allocator.h", | 1135 "memory/discardable_memory_allocator.h", |
| 1135 "memory/discardable_shared_memory.cc", | 1136 "memory/discardable_shared_memory.cc", |
| 1136 "memory/discardable_shared_memory.h", | 1137 "memory/discardable_shared_memory.h", |
| 1137 "memory/shared_memory_posix.cc", | 1138 "memory/shared_memory_posix.cc", |
| 1139 "native_library.cc", |
| 1138 "native_library_posix.cc", | 1140 "native_library_posix.cc", |
| 1139 "path_service.cc", | 1141 "path_service.cc", |
| 1140 "process/kill.cc", | 1142 "process/kill.cc", |
| 1141 "process/kill.h", | 1143 "process/kill.h", |
| 1142 "process/memory.cc", | 1144 "process/memory.cc", |
| 1143 "process/memory.h", | 1145 "process/memory.h", |
| 1144 "process/process_iterator.cc", | 1146 "process/process_iterator.cc", |
| 1145 "process/process_iterator.h", | 1147 "process/process_iterator.h", |
| 1146 "process/process_metrics.cc", | 1148 "process/process_metrics.cc", |
| 1147 "process/process_metrics_posix.cc", | 1149 "process/process_metrics_posix.cc", |
| (...skipping 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2020 ":message_loop_tests", | 2022 ":message_loop_tests", |
| 2021 "//base/allocator:features", | 2023 "//base/allocator:features", |
| 2022 "//base/test:run_all_base_unittests", | 2024 "//base/test:run_all_base_unittests", |
| 2023 "//base/test:test_support", | 2025 "//base/test:test_support", |
| 2024 "//base/third_party/dynamic_annotations", | 2026 "//base/third_party/dynamic_annotations", |
| 2025 "//testing/gmock", | 2027 "//testing/gmock", |
| 2026 "//testing/gtest", | 2028 "//testing/gtest", |
| 2027 "//third_party/icu", | 2029 "//third_party/icu", |
| 2028 ] | 2030 ] |
| 2029 | 2031 |
| 2032 data_deps = [ |
| 2033 ":native_library_test_library", |
| 2034 ] |
| 2035 |
| 2030 if (is_ios || is_mac) { | 2036 if (is_ios || is_mac) { |
| 2031 deps += [ ":base_unittests_arc" ] | 2037 deps += [ ":base_unittests_arc" ] |
| 2032 } | 2038 } |
| 2033 | 2039 |
| 2034 public_deps = [ | 2040 public_deps = [ |
| 2035 ":base_unittests_bundle_data", | 2041 ":base_unittests_bundle_data", |
| 2036 ] | 2042 ] |
| 2037 | 2043 |
| 2038 # Some unittests depend on the ALLOCATOR_SHIM macro. | 2044 # Some unittests depend on the ALLOCATOR_SHIM macro. |
| 2039 configs += [ "//base/allocator:allocator_shim_define" ] | 2045 configs += [ "//base/allocator:allocator_shim_define" ] |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2146 # data += [ "$root_out_dir/base_unittests.dSYM/" ] | 2152 # data += [ "$root_out_dir/base_unittests.dSYM/" ] |
| 2147 } | 2153 } |
| 2148 } | 2154 } |
| 2149 | 2155 |
| 2150 if (use_cfi_cast) { | 2156 if (use_cfi_cast) { |
| 2151 # TODO(krasin): remove CFI_CAST_CHECK, see https://crbug.com/626794. | 2157 # TODO(krasin): remove CFI_CAST_CHECK, see https://crbug.com/626794. |
| 2152 defines += [ "CFI_CAST_CHECK" ] | 2158 defines += [ "CFI_CAST_CHECK" ] |
| 2153 } | 2159 } |
| 2154 } | 2160 } |
| 2155 | 2161 |
| 2162 shared_library("native_library_test_library") { |
| 2163 sources = [ |
| 2164 "native_library_test_library.cc", |
| 2165 ] |
| 2166 } |
| 2167 |
| 2156 action("build_date") { | 2168 action("build_date") { |
| 2157 script = "//build/write_build_date_header.py" | 2169 script = "//build/write_build_date_header.py" |
| 2158 | 2170 |
| 2159 # Force recalculation if there's been a change. | 2171 # Force recalculation if there's been a change. |
| 2160 inputs = [ | 2172 inputs = [ |
| 2161 "//build/util/LASTCHANGE", | 2173 "//build/util/LASTCHANGE", |
| 2162 ] | 2174 ] |
| 2163 outputs = [ | 2175 outputs = [ |
| 2164 "$target_gen_dir/generated_build_date.h", | 2176 "$target_gen_dir/generated_build_date.h", |
| 2165 ] | 2177 ] |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2445 android_library("base_java_unittest_support") { | 2457 android_library("base_java_unittest_support") { |
| 2446 deps = [ | 2458 deps = [ |
| 2447 ":base_java", | 2459 ":base_java", |
| 2448 ] | 2460 ] |
| 2449 java_files = [ | 2461 java_files = [ |
| 2450 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", | 2462 "test/android/java/src/org/chromium/base/ContentUriTestUtils.java", |
| 2451 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", | 2463 "test/android/java/src/org/chromium/base/TestSystemMessageHandler.java", |
| 2452 ] | 2464 ] |
| 2453 } | 2465 } |
| 2454 } | 2466 } |
| OLD | NEW |