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

Side by Side Diff: components/ntp_snippets/offline_pages/BUILD.gn

Issue 2149453004: Implement first version of OfflinePageSuggestionsProvider (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
OLDNEW
(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")
Marc Treib 2016/07/14 12:16:53 Required?
Philipp Keck 2016/07/14 13:46:02 Done.
Marc Treib 2016/07/14 14:17:23 Hm, the config one should probably stay. Let's see
Philipp Keck 2016/07/14 15:30:06 Acknowledged.
8 }
9
10 # GYP: //components/ntp_snippets.gypi:offline_page_suggestions
11 static_library("offline_page_suggestions") {
Marc Treib 2016/07/14 12:16:53 nit: Should this have the same name as the folder?
Philipp Keck 2016/07/14 13:46:02 It would then be confused more easily with the com
Marc Treib 2016/07/14 14:17:23 Acknowledged.
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",
Marc Treib 2016/07/14 12:16:53 nit: I think the ":offline_pages" etc isn't requir
Philipp Keck 2016/07/14 13:46:02 Done.
Marc Treib 2016/07/14 14:17:23 No, not done actually. There's a few places here w
Philipp Keck 2016/07/14 15:30:06 Done. ...
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698