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/config.gni") |
| 7 import("//build/config/android/rules.gni") |
| 8 } |
| 9 |
| 10 # GYP: //components/ntp_snippets.gypi:offline_page_suggestions |
| 11 static_library("offline_page_suggestions") { |
| 12 sources = [ |
| 13 "offline_page_suggestions_provider.cc", |
| 14 "offline_page_suggestions_provider.h", |
| 15 ] |
| 16 |
| 17 deps = [ |
| 18 "//base", |
| 19 "//components/keyed_service/core", |
| 20 "//components/ntp_snippets:ntp_snippets", |
| 21 "//components/offline_pages:offline_pages", |
| 22 ] |
| 23 } |
| 24 |
| 25 source_set("unit_tests") { |
| 26 testonly = true |
| 27 sources = [] |
| 28 |
| 29 deps = [ |
| 30 ":offline_page_suggestions", |
| 31 "//base", |
| 32 "//base/test:test_support", |
| 33 "//components/ntp_snippets:ntp_snippets", |
| 34 "//components/offline_pages:offline_pages", |
| 35 "//testing/gtest", |
| 36 ] |
| 37 } |
OLD | NEW |