| 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", |
| 40 "//third_party/icu/", |
| 37 ] | 41 ] |
| 38 } | 42 } |
| 39 | 43 |
| 40 source_set("unit_tests") { | 44 source_set("unit_tests") { |
| 41 testonly = true | 45 testonly = true |
| 42 sources = [ | 46 sources = [ |
| 43 "inner_iterator_unittest.cc", | 47 "inner_iterator_unittest.cc", |
| 44 "ntp_snippets_fetcher_unittest.cc", | 48 "ntp_snippets_fetcher_unittest.cc", |
| 45 "ntp_snippets_service_unittest.cc", | 49 "ntp_snippets_service_unittest.cc", |
| 46 ] | 50 ] |
| 47 | 51 |
| 48 deps = [ | 52 deps = [ |
| 49 ":ntp_snippets", | 53 ":ntp_snippets", |
| 50 "//base", | 54 "//base", |
| 51 "//base/test:test_support", | 55 "//base/test:test_support", |
| 52 "//components/image_fetcher", | 56 "//components/image_fetcher", |
| 53 "//components/signin/core/browser:test_support", | 57 "//components/signin/core/browser:test_support", |
| 54 "//net:test_support", | 58 "//net:test_support", |
| 55 "//testing/gtest", | 59 "//testing/gtest", |
| 60 "//third_party/icu/", |
| 56 ] | 61 ] |
| 57 } | 62 } |
| OLD | NEW |