| # Copyright 2016 The Chromium Authors |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| source_set("model") { |
| sources = [ |
| "distiller_service.h", |
| "distiller_service.mm", |
| "distiller_service_factory.h", |
| "distiller_service_factory.mm", |
| "distiller_viewer_interface.h", |
| "offline_page_distiller_viewer.cc", |
| "offline_page_distiller_viewer.h", |
| ] |
| deps = [ |
| "//base", |
| "//components/keyed_service/core", |
| "//components/prefs", |
| "//ios/chrome/browser/shared/model/profile", |
| "//ios/chrome/browser/shared/model/profile:profile_keyed_service_factory", |
| "//services/network/public/cpp", |
| "//ui/gfx", |
| "//url", |
| ] |
| public_deps = [ "//components/dom_distiller/core" ] |
| } |
| |
| source_set("unit_tests") { |
| testonly = true |
| sources = [ |
| "distiller_service_factory_unittest.mm", |
| "distiller_service_unittest.mm", |
| ] |
| deps = [ |
| ":model", |
| "//base/test:test_support", |
| "//ios/chrome/browser/shared/model/profile/test", |
| "//ios/web/public/test", |
| "//testing/gtest", |
| ] |
| } |