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 1588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1599 sources = [ | 1599 sources = [ |
1600 "profiler/test_support_library.cc", | 1600 "profiler/test_support_library.cc", |
1601 ] | 1601 ] |
1602 deps = [ | 1602 deps = [ |
1603 "//build/config/sanitizers:deps", | 1603 "//build/config/sanitizers:deps", |
1604 ] | 1604 ] |
1605 } | 1605 } |
1606 } | 1606 } |
1607 } | 1607 } |
1608 | 1608 |
| 1609 if (is_ios) { |
| 1610 bundle_data("base_unittests_bundle_data") { |
| 1611 sources = [ |
| 1612 "test/data", |
| 1613 ] |
| 1614 outputs = [ |
| 1615 "{{bundle_resources_dir}}/{{source_root_relative_dir}}/{{source_file_part}
}", |
| 1616 ] |
| 1617 } |
| 1618 } |
| 1619 |
1609 test("base_unittests") { | 1620 test("base_unittests") { |
1610 sources = [ | 1621 sources = [ |
1611 "allocator/tcmalloc_unittest.cc", | 1622 "allocator/tcmalloc_unittest.cc", |
1612 "android/application_status_listener_unittest.cc", | 1623 "android/application_status_listener_unittest.cc", |
1613 "android/content_uri_utils_unittest.cc", | 1624 "android/content_uri_utils_unittest.cc", |
1614 "android/jni_android_unittest.cc", | 1625 "android/jni_android_unittest.cc", |
1615 "android/jni_array_unittest.cc", | 1626 "android/jni_array_unittest.cc", |
1616 "android/jni_string_unittest.cc", | 1627 "android/jni_string_unittest.cc", |
1617 "android/library_loader/library_prefetcher_unittest.cc", | 1628 "android/library_loader/library_prefetcher_unittest.cc", |
1618 "android/path_utils_unittest.cc", | 1629 "android/path_utils_unittest.cc", |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1859 ":i18n", | 1870 ":i18n", |
1860 ":message_loop_tests", | 1871 ":message_loop_tests", |
1861 "//base/test:run_all_unittests", | 1872 "//base/test:run_all_unittests", |
1862 "//base/test:test_support", | 1873 "//base/test:test_support", |
1863 "//base/third_party/dynamic_annotations", | 1874 "//base/third_party/dynamic_annotations", |
1864 "//testing/gmock", | 1875 "//testing/gmock", |
1865 "//testing/gtest", | 1876 "//testing/gtest", |
1866 "//third_party/icu", | 1877 "//third_party/icu", |
1867 ] | 1878 ] |
1868 | 1879 |
| 1880 if (is_ios) { |
| 1881 deps += [ ":base_unittests_bundle_data" ] |
| 1882 } |
| 1883 |
1869 # Some unittests depend on the ALLOCATOR_SHIM macro. | 1884 # Some unittests depend on the ALLOCATOR_SHIM macro. |
1870 configs += [ "//base/allocator:allocator_shim_define" ] | 1885 configs += [ "//base/allocator:allocator_shim_define" ] |
1871 | 1886 |
1872 data = [ | 1887 data = [ |
1873 "test/data/", | 1888 "test/data/", |
1874 ] | 1889 ] |
1875 | 1890 |
1876 # Allow more direct string conversions on platforms with native utf8 | 1891 # Allow more direct string conversions on platforms with native utf8 |
1877 # strings | 1892 # strings |
1878 if (is_mac || is_ios || is_chromeos) { | 1893 if (is_mac || is_ios || is_chromeos) { |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2168 | 2183 |
2169 # GYP: //base.gyp:base_java_unittest_support | 2184 # GYP: //base.gyp:base_java_unittest_support |
2170 android_library("base_java_unittest_support") { | 2185 android_library("base_java_unittest_support") { |
2171 deps = [ | 2186 deps = [ |
2172 ":base_java", | 2187 ":base_java", |
2173 ] | 2188 ] |
2174 java_files = | 2189 java_files = |
2175 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2190 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
2176 } | 2191 } |
2177 } | 2192 } |
OLD | NEW |