Chromium Code Reviews| 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") | |
|
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 } | |
| OLD | NEW |