| Index: components/ntp_snippets/offline_pages/BUILD.gn
|
| diff --git a/components/ntp_snippets/offline_pages/BUILD.gn b/components/ntp_snippets/offline_pages/BUILD.gn
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f4afbd617e588b9ba93216493efc249252f79811
|
| --- /dev/null
|
| +++ b/components/ntp_snippets/offline_pages/BUILD.gn
|
| @@ -0,0 +1,37 @@
|
| +# Copyright 2016 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +if (is_android) {
|
| + import("//build/config/android/config.gni")
|
| + import("//build/config/android/rules.gni")
|
| +}
|
| +
|
| +# GYP: //components/ntp_snippets.gypi:offline_page_suggestions
|
| +static_library("offline_page_suggestions") {
|
| + sources = [
|
| + "offline_page_suggestions_provider.cc",
|
| + "offline_page_suggestions_provider.h",
|
| + ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + "//components/keyed_service/core",
|
| + "//components/ntp_snippets:ntp_snippets",
|
| + "//components/offline_pages:offline_pages",
|
| + ]
|
| +}
|
| +
|
| +source_set("unit_tests") {
|
| + testonly = true
|
| + sources = []
|
| +
|
| + deps = [
|
| + ":offline_page_suggestions",
|
| + "//base",
|
| + "//base/test:test_support",
|
| + "//components/ntp_snippets:ntp_snippets",
|
| + "//components/offline_pages:offline_pages",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
|
|