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 2127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2138 "test/data/", | 2138 "test/data/", |
2139 ] | 2139 ] |
2140 | 2140 |
2141 # Allow more direct string conversions on platforms with native utf8 | 2141 # Allow more direct string conversions on platforms with native utf8 |
2142 # strings | 2142 # strings |
2143 if (is_mac || is_ios || is_chromeos || is_chromecast) { | 2143 if (is_mac || is_ios || is_chromeos || is_chromecast) { |
2144 defines += [ "SYSTEM_NATIVE_UTF8" ] | 2144 defines += [ "SYSTEM_NATIVE_UTF8" ] |
2145 } | 2145 } |
2146 | 2146 |
2147 if (is_android) { | 2147 if (is_android) { |
2148 sources -= [ | |
2149 "process/process_unittest.cc", | |
2150 "process/process_util_unittest.cc", | |
2151 ] | |
2152 deps += [ | 2148 deps += [ |
2153 ":base_java", | 2149 ":base_java", |
2154 ":base_java_unittest_support", | 2150 ":base_java_unittest_support", |
2155 "//base/android/jni_generator:jni_generator_tests", | 2151 "//base/android/jni_generator:jni_generator_tests", |
2156 "//base/test:test_support_java", | |
2157 ] | 2152 ] |
2158 } | 2153 } |
2159 | 2154 |
2160 if (is_ios) { | 2155 if (is_ios) { |
2161 sources -= [ | 2156 sources -= [ |
2162 "files/file_locking_unittest.cc", | 2157 "files/file_locking_unittest.cc", |
2163 "files/file_path_watcher_unittest.cc", | 2158 "files/file_path_watcher_unittest.cc", |
2164 "memory/discardable_shared_memory_unittest.cc", | 2159 "memory/discardable_shared_memory_unittest.cc", |
2165 "memory/shared_memory_unittest.cc", | 2160 "memory/shared_memory_unittest.cc", |
2166 "process/memory_unittest.cc", | 2161 "process/memory_unittest.cc", |
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2570 } | 2565 } |
2571 | 2566 |
2572 fuzzer_test("base_json_correctness_fuzzer") { | 2567 fuzzer_test("base_json_correctness_fuzzer") { |
2573 sources = [ | 2568 sources = [ |
2574 "json/correctness_fuzzer.cc", | 2569 "json/correctness_fuzzer.cc", |
2575 ] | 2570 ] |
2576 deps = [ | 2571 deps = [ |
2577 ":base", | 2572 ":base", |
2578 ] | 2573 ] |
2579 } | 2574 } |
OLD | NEW |