Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Unified Diff: components/ntp_snippets/offline_pages/BUILD.gn

Issue 2139293004: [TEMP - DO NOT SUBMIT] OfflinePagesProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@internalspage
Patch Set: Implement OfflinePage conversion Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/ntp_snippets/content_suggestions_category.h ('k') | components/ntp_snippets/offline_pages/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
+}
« no previous file with comments | « components/ntp_snippets/content_suggestions_category.h ('k') | components/ntp_snippets/offline_pages/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698