| 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", |
| 12 "ntp_snippets_fetcher.h", |
| 11 "ntp_snippets_service.cc", | 13 "ntp_snippets_service.cc", |
| 12 "ntp_snippets_service.h", | 14 "ntp_snippets_service.h", |
| 13 ] | 15 ] |
| 14 | 16 |
| 15 public_deps = [ | 17 public_deps = [ |
| 16 "//base", | 18 "//base", |
| 17 "//components/keyed_service/core", | 19 "//components/keyed_service/core", |
| 18 "//url", | 20 "//url", |
| 19 ] | 21 ] |
| 20 } | 22 } |
| 21 | 23 |
| 22 source_set("unit_tests") { | 24 source_set("unit_tests") { |
| 23 testonly = true | 25 testonly = true |
| 24 sources = [ | 26 sources = [ |
| 25 "inner_iterator_unittest.cc", | 27 "inner_iterator_unittest.cc", |
| 26 "ntp_snippets_service_unittest.cc", | 28 "ntp_snippets_service_unittest.cc", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 deps = [ | 31 deps = [ |
| 30 ":ntp_snippets", | 32 ":ntp_snippets", |
| 31 "//testing/gtest", | 33 "//testing/gtest", |
| 32 ] | 34 ] |
| 33 } | 35 } |
| OLD | NEW |