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
3 # found in the LICENSE file.
5 static_library("web_resource") {
7 "eula_accepted_notifier.cc",
8 "eula_accepted_notifier.h",
9 "notification_promo.cc",
10 "notification_promo.h",
11 "promo_resource_service.cc",
12 "promo_resource_service.h",
13 "resource_request_allowed_notifier.cc",
14 "resource_request_allowed_notifier.h",
15 "web_resource_pref_names.cc",
16 "web_resource_pref_names.h",
17 "web_resource_service.cc",
18 "web_resource_service.h",
19 "web_resource_switches.cc",
20 "web_resource_switches.h",
23 if (is_android || is_ios) {
25 "notification_promo_mobile_ntp.cc",
26 "notification_promo_mobile_ntp.h",
33 "//components/pref_registry",
34 "//components/version_info",
40 static_library("test_support") {
42 "resource_request_allowed_notifier_test_util.cc",
43 "resource_request_allowed_notifier_test_util.h",
52 source_set("unit_tests") {
55 "eula_accepted_notifier_unittest.cc",
56 "promo_resource_service_unittest.cc",
57 "resource_request_allowed_notifier_unittest.cc",
60 if (is_android || is_ios) {
61 sources += [ "promo_resource_service_mobile_ntp_unittest.cc" ]
68 "//base:prefs_test_support",