| # Copyright 2015 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("test") { |
| testonly = true |
| sources = [ |
| "block_cleanup_test.h", |
| "block_cleanup_test.mm", |
| "ios_chrome_scoped_testing_chrome_browser_provider.h", |
| "ios_chrome_scoped_testing_chrome_browser_provider.mm", |
| "ios_chrome_scoped_testing_local_state.cc", |
| "ios_chrome_scoped_testing_local_state.h", |
| "ios_chrome_unit_test_suite.h", |
| "ios_chrome_unit_test_suite.mm", |
| "testing_application_context.h", |
| "testing_application_context.mm", |
| ] |
| |
| deps = [ |
| "//base", |
| "//base/test:test_support", |
| "//components/network_time", |
| "//components/prefs", |
| "//components/prefs:test_support", |
| "//ios/chrome/browser", |
| "//ios/public/provider/chrome/browser", |
| "//ios/public/provider/chrome/browser:test_support", |
| "//ios/web", |
| "//net", |
| "//testing/gmock", |
| "//testing/gtest", |
| "//ui/base", |
| "//url", |
| ] |
| } |
| |
| source_set("run_all_unittests") { |
| testonly = true |
| sources = [ |
| "run_all_unittests.cc", |
| ] |
| deps = [ |
| ":test", |
| "//base", |
| "//base/test:test_support", |
| ] |
| } |