Use multiline attribute to check for IA2_STATE_MULTILINE.
[chromium-blink-merge.git] / components / web_resource / BUILD.gn
blob6be678db44b43ed83b15265d01790d80959ebb98
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     "web_resource_switches.cc",
16     "web_resource_switches.h",
17   ]
19   deps = [
20     "//base",
21     "//base:prefs",
22     "//net",
23   ]
26 static_library("test_support") {
27   sources = [
28     "resource_request_allowed_notifier_test_util.cc",
29     "resource_request_allowed_notifier_test_util.h",
30   ]
32   deps = [
33     ":web_resource",
34     "//base",
35   ]
38 source_set("unit_tests") {
39   testonly = true
40   sources = [
41     "eula_accepted_notifier_unittest.cc",
42     "resource_request_allowed_notifier_unittest.cc",
43   ]
45   deps = [
46     ":web_resource",
47     ":test_support",
48     "//base",
49     "//base:prefs_test_support",
50     "//testing/gtest",
51   ]