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