| 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_constants.cc", |
| 12 "ntp_snippets_constants.h", |
| 11 "ntp_snippets_fetcher.cc", | 13 "ntp_snippets_fetcher.cc", |
| 12 "ntp_snippets_fetcher.h", | 14 "ntp_snippets_fetcher.h", |
| 13 "ntp_snippets_scheduler.h", | 15 "ntp_snippets_scheduler.h", |
| 14 "ntp_snippets_service.cc", | 16 "ntp_snippets_service.cc", |
| 15 "ntp_snippets_service.h", | 17 "ntp_snippets_service.h", |
| 16 "pref_names.cc", | 18 "pref_names.cc", |
| 17 "pref_names.h", | 19 "pref_names.h", |
| 18 "switches.cc", | 20 "switches.cc", |
| 19 "switches.h", | 21 "switches.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 public_deps = [ | 24 public_deps = [ |
| 23 "//base", | 25 "//base", |
| 24 "//components/keyed_service/core", | 26 "//components/keyed_service/core", |
| 25 "//components/prefs", | 27 "//components/prefs", |
| 26 "//components/signin/core/browser", | 28 "//components/signin/core/browser", |
| 27 "//components/suggestions", | 29 "//components/suggestions", |
| 28 "//google_apis", | 30 "//google_apis", |
| 29 "//net", | 31 "//net", |
| 30 "//url", | 32 "//url", |
| 31 ] | 33 ] |
| 32 | 34 |
| 33 deps = [ | 35 deps = [ |
| 34 "//components/data_use_measurement/core", | 36 "//components/data_use_measurement/core", |
| 35 "//components/image_fetcher", | 37 "//components/image_fetcher", |
| 36 "//components/metrics", | 38 "//components/metrics", |
| 39 "//components/variations", |
| 37 ] | 40 ] |
| 38 } | 41 } |
| 39 | 42 |
| 40 source_set("unit_tests") { | 43 source_set("unit_tests") { |
| 41 testonly = true | 44 testonly = true |
| 42 sources = [ | 45 sources = [ |
| 43 "inner_iterator_unittest.cc", | 46 "inner_iterator_unittest.cc", |
| 44 "ntp_snippets_fetcher_unittest.cc", | 47 "ntp_snippets_fetcher_unittest.cc", |
| 45 "ntp_snippets_service_unittest.cc", | 48 "ntp_snippets_service_unittest.cc", |
| 46 ] | 49 ] |
| 47 | 50 |
| 48 deps = [ | 51 deps = [ |
| 49 ":ntp_snippets", | 52 ":ntp_snippets", |
| 50 "//base", | 53 "//base", |
| 51 "//base/test:test_support", | 54 "//base/test:test_support", |
| 52 "//components/image_fetcher", | 55 "//components/image_fetcher", |
| 53 "//components/signin/core/browser:test_support", | 56 "//components/signin/core/browser:test_support", |
| 54 "//net:test_support", | 57 "//net:test_support", |
| 55 "//testing/gtest", | 58 "//testing/gtest", |
| 56 ] | 59 ] |
| 57 } | 60 } |
| OLD | NEW |