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 1866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1877 "//base/test:test_support", | 1877 "//base/test:test_support", |
1878 "//base/third_party/dynamic_annotations", | 1878 "//base/third_party/dynamic_annotations", |
1879 "//testing/gmock", | 1879 "//testing/gmock", |
1880 "//testing/gtest", | 1880 "//testing/gtest", |
1881 "//third_party/icu", | 1881 "//third_party/icu", |
1882 ] | 1882 ] |
1883 | 1883 |
1884 # Some unittests depend on the ALLOCATOR_SHIM macro. | 1884 # Some unittests depend on the ALLOCATOR_SHIM macro. |
1885 configs += [ "//base/allocator:allocator_shim_define" ] | 1885 configs += [ "//base/allocator:allocator_shim_define" ] |
1886 | 1886 |
| 1887 requires_apk_isolate = is_android |
1887 data = [ | 1888 data = [ |
1888 "test/data/", | 1889 "test/data/", |
1889 ] | 1890 ] |
1890 | 1891 |
1891 # Allow more direct string conversions on platforms with native utf8 | 1892 # Allow more direct string conversions on platforms with native utf8 |
1892 # strings | 1893 # strings |
1893 if (is_mac || is_ios || is_chromeos) { | 1894 if (is_mac || is_ios || is_chromeos) { |
1894 defines = [ "SYSTEM_NATIVE_UTF8" ] | 1895 defines = [ "SYSTEM_NATIVE_UTF8" ] |
1895 } | 1896 } |
1896 | 1897 |
1897 if (is_android) { | 1898 if (is_android) { |
1898 deps += [ | 1899 deps += [ |
1899 ":base_java", | 1900 ":base_java", |
1900 ":base_java_unittest_support", | 1901 ":base_java_unittest_support", |
1901 "//base/android/jni_generator:jni_generator_tests", | 1902 "//base/android/jni_generator:jni_generator_tests", |
1902 ] | 1903 ] |
1903 | |
1904 # TODO(brettw) I think this should not be here, we should not be using | |
1905 # isolate files. | |
1906 isolate_file = "base_unittests.isolate" | |
1907 } | 1904 } |
1908 | 1905 |
1909 if (is_ios) { | 1906 if (is_ios) { |
1910 sources -= [ | 1907 sources -= [ |
1911 "files/file_locking_unittest.cc", | 1908 "files/file_locking_unittest.cc", |
1912 "files/file_path_watcher_unittest.cc", | 1909 "files/file_path_watcher_unittest.cc", |
1913 "memory/discardable_shared_memory_unittest.cc", | 1910 "memory/discardable_shared_memory_unittest.cc", |
1914 "memory/shared_memory_unittest.cc", | 1911 "memory/shared_memory_unittest.cc", |
1915 "process/memory_unittest.cc", | 1912 "process/memory_unittest.cc", |
1916 "process/process_unittest.cc", | 1913 "process/process_unittest.cc", |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2186 | 2183 |
2187 # GYP: //base.gyp:base_java_unittest_support | 2184 # GYP: //base.gyp:base_java_unittest_support |
2188 android_library("base_java_unittest_support") { | 2185 android_library("base_java_unittest_support") { |
2189 deps = [ | 2186 deps = [ |
2190 ":base_java", | 2187 ":base_java", |
2191 ] | 2188 ] |
2192 java_files = | 2189 java_files = |
2193 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] | 2190 [ "test/android/java/src/org/chromium/base/ContentUriTestUtils.java" ] |
2194 } | 2191 } |
2195 } | 2192 } |
OLD | NEW |