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