| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 if (is_android) { | 5 if (is_android) { |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 } | 7 } |
| 8 | 8 |
| 9 static_library("offline_pages_ui_adapter") { | 9 static_library("offline_pages_ui_adapter") { |
| 10 sources = [ | 10 sources = [ |
| 11 "download_notifying_observer.cc", | 11 "download_notifying_observer.cc", |
| 12 "download_notifying_observer.h", | 12 "download_notifying_observer.h", |
| 13 "download_ui_adapter.cc", | 13 "download_ui_adapter.cc", |
| 14 "download_ui_adapter.h", | 14 "download_ui_adapter.h", |
| 15 "download_ui_item.cc", | 15 "download_ui_item.cc", |
| 16 "download_ui_item.h", | 16 "download_ui_item.h", |
| 17 "offline_page_download_notifier.h", | 17 "offline_page_download_notifier.h", |
| 18 ] | 18 ] |
| 19 | 19 |
| 20 deps = [ | 20 deps = [ |
| 21 "//base", | 21 "//base", |
| 22 "//components/offline_pages:offline_pages", | 22 "//components/offline_pages/core", |
| 23 "//components/offline_pages/background:background_offliner", | 23 "//components/offline_pages/core/background:background_offliner", |
| 24 "//url", | 24 "//url", |
| 25 ] | 25 ] |
| 26 } | 26 } |
| 27 | 27 |
| 28 source_set("unit_tests") { | 28 source_set("unit_tests") { |
| 29 testonly = true | 29 testonly = true |
| 30 sources = [ | 30 sources = [ |
| 31 "download_notifying_observer_unittest.cc", | 31 "download_notifying_observer_unittest.cc", |
| 32 "download_ui_adapter_unittest.cc", | 32 "download_ui_adapter_unittest.cc", |
| 33 ] | 33 ] |
| 34 | 34 |
| 35 deps = [ | 35 deps = [ |
| 36 ":offline_pages_ui_adapter", | 36 ":offline_pages_ui_adapter", |
| 37 "//base", | 37 "//base", |
| 38 "//base/test:test_support", | 38 "//base/test:test_support", |
| 39 "//components/offline_pages:offline_pages", | 39 "//components/offline_pages/core", |
| 40 "//components/offline_pages:test_support", | 40 "//components/offline_pages/core:test_support", |
| 41 "//components/offline_pages/background:background_offliner", | 41 "//components/offline_pages/core/background:background_offliner", |
| 42 "//testing/gtest", | 42 "//testing/gtest", |
| 43 ] | 43 ] |
| 44 } | 44 } |
| OLD | NEW |