blob: 313d73b0a2b5c3a86b35813e7c0c8ae38ff117d1 [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# GYP version: components/ntp_snippets.gypi:ntp_snippets
source_set("ntp_snippets") {
sources = [
"ntp_snippet.cc",
"ntp_snippet.h",
"ntp_snippets_constants.cc",
"ntp_snippets_constants.h",
"ntp_snippets_fetcher.cc",
"ntp_snippets_fetcher.h",
"ntp_snippets_scheduler.h",
"ntp_snippets_service.cc",
"ntp_snippets_service.h",
"pref_names.cc",
"pref_names.h",
"switches.cc",
"switches.h",
]
public_deps = [
"//base",
"//components/keyed_service/core",
"//components/prefs",
"//components/signin/core/browser",
"//components/suggestions",
"//google_apis",
"//net",
"//url",
]
deps = [
"//components/data_use_measurement/core",
"//components/image_fetcher",
"//components/metrics",
"//components/variations",
"//third_party/icu/",
"//ui/gfx",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"ntp_snippets_fetcher_unittest.cc",
"ntp_snippets_service_unittest.cc",
]
deps = [
":ntp_snippets",
"//base",
"//base/test:test_support",
"//components/image_fetcher",
"//components/signin/core/browser:test_support",
"//net:test_support",
"//testing/gtest",
"//third_party/icu/",
]
}