Fix random lint warnings in chrome/android/shell
[chromium-blink-merge.git] / components / web_resource / BUILD.gn
blob6d27dca93ab23c5ef3d4abb289771a5362243b8b
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") {
6   sources = [
7     "eula_accepted_notifier.cc",
8     "eula_accepted_notifier.h",
9     "resource_request_allowed_notifier.cc",
10     "resource_request_allowed_notifier.h",
11     "web_resource_pref_names.cc",
12     "web_resource_pref_names.h",
13     "web_resource_service.cc",
14     "web_resource_service.h",
15   ]
17   deps = [
18     "//base",
19     "//base:prefs",
20     "//net",
21   ]
24 static_library("test_support") {
25   sources = [
26     "resource_request_allowed_notifier_test_util.cc",
27     "resource_request_allowed_notifier_test_util.h",
28   ]
30   deps = [
31     ":web_resource",
32     "//base",
33   ]
36 source_set("unit_tests") {
37   testonly = true
38   sources = [
39     "eula_accepted_notifier_unittest.cc",
40     "resource_request_allowed_notifier_unittest.cc",
41   ]
43   deps = [
44     ":web_resource",
45     ":test_support",
46     "//base",
47     "//base:prefs_test_support",
48     "//testing/gtest",
49   ]