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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/rules.gni") | 8 import("//build/config/android/rules.gni") |
9 } | 9 } |
10 | 10 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 source_set("run_all_unittests") { | 176 source_set("run_all_unittests") { |
177 testonly = true | 177 testonly = true |
178 sources = [ | 178 sources = [ |
179 "run_all_unittests.cc", | 179 "run_all_unittests.cc", |
180 ] | 180 ] |
181 deps = [ | 181 deps = [ |
182 ":test_support", | 182 ":test_support", |
183 ] | 183 ] |
184 } | 184 } |
185 | 185 |
| 186 if (is_linux) { |
| 187 shared_library("malloc_wrapper") { |
| 188 testonly = true |
| 189 sources = [ |
| 190 "malloc_wrapper.cc", |
| 191 ] |
| 192 deps = [ |
| 193 "//base", |
| 194 ] |
| 195 } |
| 196 } |
| 197 |
186 if (is_android) { | 198 if (is_android) { |
187 generate_jni("base_unittests_jni_headers") { | 199 generate_jni("base_unittests_jni_headers") { |
188 sources = [ | 200 sources = [ |
189 "android/java/src/org/chromium/base/ContentUriTestUtils.java", | 201 "android/java/src/org/chromium/base/ContentUriTestUtils.java", |
190 ] | 202 ] |
191 jni_package = "base" | 203 jni_package = "base" |
192 } | 204 } |
193 } | 205 } |
OLD | NEW |