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