| 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 # GYP: //components/offline_pages.gypi:offline_pages_ui_adapter | 9 # GYP: //components/offline_pages.gypi:offline_pages_ui_adapter |
| 10 static_library("offline_pages_ui_adapter") { | 10 static_library("offline_pages_ui_adapter") { |
| 11 sources = [ | 11 sources = [ |
| 12 "download_ui_adapter.cc", | 12 "download_ui_adapter.cc", |
| 13 "download_ui_adapter.h", | 13 "download_ui_adapter.h", |
| 14 "download_ui_item.cc", | 14 "download_ui_item.cc", |
| 15 "download_ui_item.h", | 15 "download_ui_item.h", |
| 16 "offline_page_download_notifier.h", |
| 16 ] | 17 ] |
| 17 | 18 |
| 18 deps = [ | 19 deps = [ |
| 19 "//base", | 20 "//base", |
| 20 "//components/offline_pages:offline_pages", | 21 "//components/offline_pages:offline_pages", |
| 21 "//url", | 22 "//url", |
| 22 ] | 23 ] |
| 23 } | 24 } |
| 24 | 25 |
| 25 source_set("unit_tests") { | 26 source_set("unit_tests") { |
| 26 testonly = true | 27 testonly = true |
| 27 sources = [ | 28 sources = [ |
| 28 "download_ui_adapter_unittest.cc", | 29 "download_ui_adapter_unittest.cc", |
| 29 ] | 30 ] |
| 30 | 31 |
| 31 deps = [ | 32 deps = [ |
| 32 ":offline_pages_ui_adapter", | 33 ":offline_pages_ui_adapter", |
| 33 "//base", | 34 "//base", |
| 34 "//base/test:test_support", | 35 "//base/test:test_support", |
| 35 "//components/offline_pages:offline_pages", | 36 "//components/offline_pages:offline_pages", |
| 36 "//components/offline_pages:test_support", | 37 "//components/offline_pages:test_support", |
| 37 "//testing/gtest", | 38 "//testing/gtest", |
| 38 ] | 39 ] |
| 39 } | 40 } |
| OLD | NEW |