| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 if (is_android) { | |
| 6 import("//build/config/android/rules.gni") | |
| 7 } | |
| 8 | |
| 9 static_library("offline_pages_ui_adapter") { | |
| 10 sources = [ | |
| 11 "download_notifying_observer.cc", | |
| 12 "download_notifying_observer.h", | |
| 13 "download_ui_adapter.cc", | |
| 14 "download_ui_adapter.h", | |
| 15 "download_ui_item.cc", | |
| 16 "download_ui_item.h", | |
| 17 "offline_page_download_notifier.h", | |
| 18 ] | |
| 19 | |
| 20 deps = [ | |
| 21 "//base", | |
| 22 "//components/offline_pages:offline_pages", | |
| 23 "//components/offline_pages/background:background_offliner", | |
| 24 "//url", | |
| 25 ] | |
| 26 } | |
| 27 | |
| 28 source_set("unit_tests") { | |
| 29 testonly = true | |
| 30 sources = [ | |
| 31 "download_notifying_observer_unittest.cc", | |
| 32 "download_ui_adapter_unittest.cc", | |
| 33 ] | |
| 34 | |
| 35 deps = [ | |
| 36 ":offline_pages_ui_adapter", | |
| 37 "//base", | |
| 38 "//base/test:test_support", | |
| 39 "//components/offline_pages:offline_pages", | |
| 40 "//components/offline_pages:test_support", | |
| 41 "//components/offline_pages/background:background_offliner", | |
| 42 "//testing/gtest", | |
| 43 ] | |
| 44 } | |
| OLD | NEW |