| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 # GYP version: components/ntp_snippets.gypi:ntp_snippets | 5 # GYP version: components/ntp_snippets.gypi:ntp_snippets |
| 6 source_set("ntp_snippets") { | 6 source_set("ntp_snippets") { |
| 7 sources = [ | 7 sources = [ |
| 8 "inner_iterator.h", | 8 "inner_iterator.h", |
| 9 "ntp_snippet.cc", | 9 "ntp_snippet.cc", |
| 10 "ntp_snippet.h", | 10 "ntp_snippet.h", |
| 11 "ntp_snippets_fetcher.cc", | 11 "ntp_snippets_fetcher.cc", |
| 12 "ntp_snippets_fetcher.h", | 12 "ntp_snippets_fetcher.h", |
| 13 "ntp_snippets_scheduler.h", |
| 13 "ntp_snippets_service.cc", | 14 "ntp_snippets_service.cc", |
| 14 "ntp_snippets_service.h", | 15 "ntp_snippets_service.h", |
| 16 "pref_names.cc", |
| 17 "pref_names.h", |
| 15 ] | 18 ] |
| 16 | 19 |
| 17 public_deps = [ | 20 public_deps = [ |
| 18 "//base", | 21 "//base", |
| 19 "//components/keyed_service/core", | 22 "//components/keyed_service/core", |
| 23 "//components/pref_registry", |
| 24 "//components/prefs", |
| 20 "//components/signin/core/browser", | 25 "//components/signin/core/browser", |
| 21 "//google_apis", | 26 "//google_apis", |
| 22 "//net", | 27 "//net", |
| 23 "//url", | 28 "//url", |
| 24 ] | 29 ] |
| 25 } | 30 } |
| 26 | 31 |
| 27 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 28 testonly = true | 33 testonly = true |
| 29 sources = [ | 34 sources = [ |
| 30 "inner_iterator_unittest.cc", | 35 "inner_iterator_unittest.cc", |
| 31 "ntp_snippets_service_unittest.cc", | 36 "ntp_snippets_service_unittest.cc", |
| 32 ] | 37 ] |
| 33 | 38 |
| 34 deps = [ | 39 deps = [ |
| 35 ":ntp_snippets", | 40 ":ntp_snippets", |
| 36 "//base", | 41 "//base", |
| 37 "//components/signin/core/browser:test_support", | 42 "//components/signin/core/browser:test_support", |
| 38 "//net:test_support", | 43 "//net:test_support", |
| 39 "//testing/gtest", | 44 "//testing/gtest", |
| 40 ] | 45 ] |
| 41 } | 46 } |
| OLD | NEW |