| 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 source_set("test") { | 5 # TODO(crbug.com/658242): Temporary target to help transition until all the |
| 6 # targets have been modified to depends on :test_support instead. |
| 7 group("test") { |
| 8 testonly = true |
| 9 public_deps = [ |
| 10 ":test_support", |
| 11 ] |
| 12 } |
| 13 |
| 14 source_set("test_support") { |
| 6 testonly = true | 15 testonly = true |
| 7 sources = [ | 16 sources = [ |
| 8 "block_cleanup_test.h", | 17 "block_cleanup_test.h", |
| 9 "block_cleanup_test.mm", | 18 "block_cleanup_test.mm", |
| 10 "ios_chrome_scoped_testing_chrome_browser_provider.h", | 19 "ios_chrome_scoped_testing_chrome_browser_provider.h", |
| 11 "ios_chrome_scoped_testing_chrome_browser_provider.mm", | 20 "ios_chrome_scoped_testing_chrome_browser_provider.mm", |
| 12 "ios_chrome_scoped_testing_local_state.cc", | 21 "ios_chrome_scoped_testing_local_state.cc", |
| 13 "ios_chrome_scoped_testing_local_state.h", | 22 "ios_chrome_scoped_testing_local_state.h", |
| 14 "ios_chrome_unit_test_suite.h", | 23 "ios_chrome_unit_test_suite.h", |
| 15 "ios_chrome_unit_test_suite.mm", | 24 "ios_chrome_unit_test_suite.mm", |
| (...skipping 23 matching lines...) Expand all Loading... |
| 39 testonly = true | 48 testonly = true |
| 40 sources = [ | 49 sources = [ |
| 41 "run_all_unittests.cc", | 50 "run_all_unittests.cc", |
| 42 ] | 51 ] |
| 43 deps = [ | 52 deps = [ |
| 44 ":test", | 53 ":test", |
| 45 "//base", | 54 "//base", |
| 46 "//base/test:test_support", | 55 "//base/test:test_support", |
| 47 ] | 56 ] |
| 48 } | 57 } |
| 58 |
| 59 source_set("unit_tests") { |
| 60 testonly = true |
| 61 sources = [ |
| 62 "google_toolbox_unittest.mm", |
| 63 ] |
| 64 deps = [ |
| 65 "//base", |
| 66 "//testing/gtest", |
| 67 "//third_party/google_toolbox_for_mac", |
| 68 ] |
| 69 } |
| OLD | NEW |