OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("ocmock_support") { | 7 source_set("ocmock_support") { |
8 testonly = true | 8 testonly = true |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
12 ] | 12 ] |
13 | 13 |
14 public_deps = [ | 14 public_deps = [ |
15 "//third_party/google_toolbox_for_mac", | 15 "//third_party/google_toolbox_for_mac", |
16 "//third_party/ocmock", | 16 "//third_party/ocmock", |
17 ] | 17 ] |
18 | 18 |
19 sources = [ | 19 sources = [ |
20 "ocmock_complex_type_helper.h", | 20 "ocmock_complex_type_helper.h", |
21 "ocmock_complex_type_helper.mm", | 21 "ocmock_complex_type_helper.mm", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 test("ocmock_support_unittest") { | 25 test("ocmock_support_unittest") { |
26 deps = [ | 26 deps = [ |
| 27 ":ocmock_support", |
27 "//base/test:run_all_unittests", | 28 "//base/test:run_all_unittests", |
28 "//base/test:test_support", | 29 "//base/test:test_support", |
29 "//testing/gmock", | 30 "//testing/gmock", |
30 "//testing/gtest", | 31 "//testing/gtest", |
31 "//third_party/ocmock", | 32 "//third_party/ocmock", |
32 ":ocmock_support", | |
33 ] | 33 ] |
34 } | 34 } |
OLD | NEW |