OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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/nacl/config.gni") | 5 import("//build/config/nacl/config.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 component("ipc") { | 8 component("ipc") { |
9 sources = [ | 9 sources = [ |
10 "attachment_broker.cc", | 10 "attachment_broker.cc", |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 if (is_android) { | 182 if (is_android) { |
183 # These multiprocess tests don't work on Android. | 183 # These multiprocess tests don't work on Android. |
184 sources -= [ "ipc_channel_unittest.cc" ] | 184 sources -= [ "ipc_channel_unittest.cc" ] |
185 } | 185 } |
186 | 186 |
187 # TODO(brettw) hook up Android testing. | 187 # TODO(brettw) hook up Android testing. |
188 #if (is_android && gtest_target_type == "shared_library") { | 188 #if (is_android && gtest_target_type == "shared_library") { |
189 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 189 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
190 #} | 190 #} |
191 | 191 |
192 # TODO(brettw) hook up tcmalloc to this target. | |
193 #if (is_posix && !is_mac && !is_android) { | |
194 # if (use_allocator!="none") { | |
195 # deps += "/base/allocator" | |
196 # } | |
197 #} | |
198 | |
199 deps = [ | 192 deps = [ |
200 ":ipc", | 193 ":ipc", |
201 ":test_support", | 194 ":test_support", |
202 "//base", | 195 "//base", |
203 "//base:i18n", | 196 "//base:i18n", |
204 "//base/test:run_all_unittests", | 197 "//base/test:run_all_unittests", |
205 "//base/test:test_support", | 198 "//base/test:test_support", |
206 "//crypto", | 199 "//crypto", |
207 "//testing/gtest", | 200 "//testing/gtest", |
208 ] | 201 ] |
209 } | 202 } |
210 | 203 |
211 test("ipc_perftests") { | 204 test("ipc_perftests") { |
212 sources = [ | 205 sources = [ |
213 "ipc_perftests.cc", | 206 "ipc_perftests.cc", |
214 ] | 207 ] |
215 | 208 |
216 # TODO(brettw) hook up Android testing. | 209 # TODO(brettw) hook up Android testing. |
217 #if (is_android && gtest_target_type == "shared_library") { | 210 #if (is_android && gtest_target_type == "shared_library") { |
218 # deps += "/testing/android/native_test.gyp:native_testNative_code" | 211 # deps += "/testing/android/native_test.gyp:native_testNative_code" |
219 #} | 212 #} |
220 | 213 |
221 # TODO(brettw) hook up tcmalloc to this target. | |
222 #if (is_posix && !is_mac && !is_android) { | |
223 # if (use_allocator!="none") { | |
224 # deps += "//base/allocator" | |
225 # } | |
226 #} | |
227 deps = [ | 214 deps = [ |
228 ":ipc", | 215 ":ipc", |
229 ":test_support", | 216 ":test_support", |
230 "//base", | 217 "//base", |
231 "//base:i18n", | 218 "//base:i18n", |
232 "//base/test:test_support", | 219 "//base/test:test_support", |
233 "//base/test:test_support_perf", | 220 "//base/test:test_support_perf", |
234 "//testing/gtest", | 221 "//testing/gtest", |
235 ] | 222 ] |
236 } | 223 } |
(...skipping 18 matching lines...) Expand all Loading... |
255 ] | 242 ] |
256 public_deps = [ | 243 public_deps = [ |
257 ":ipc", | 244 ":ipc", |
258 ] | 245 ] |
259 deps = [ | 246 deps = [ |
260 "//base", | 247 "//base", |
261 "//base/test:test_support", | 248 "//base/test:test_support", |
262 "//testing/gtest", | 249 "//testing/gtest", |
263 ] | 250 ] |
264 } | 251 } |
OLD | NEW |