1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# 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.
static_library("browser") {
sources = [
"content_settings_binary_value_map.cc",
"content_settings_binary_value_map.h",
"content_settings_client.h",
"content_settings_default_provider.cc",
"content_settings_default_provider.h",
"content_settings_details.cc",
"content_settings_details.h",
"content_settings_observable_provider.cc",
"content_settings_observable_provider.h",
"content_settings_observer.h",
"content_settings_origin_identifier_value_map.cc",
"content_settings_origin_identifier_value_map.h",
"content_settings_policy_provider.cc",
"content_settings_policy_provider.h",
"content_settings_pref.cc",
"content_settings_pref.h",
"content_settings_pref_provider.cc",
"content_settings_pref_provider.h",
"content_settings_provider.h",
"content_settings_rule.cc",
"content_settings_rule.h",
"content_settings_usages_state.cc",
"content_settings_usages_state.h",
"content_settings_utils.cc",
"content_settings_utils.h",
"cookie_settings.cc",
"cookie_settings.h",
"host_content_settings_map.cc",
"host_content_settings_map.h",
"local_shared_objects_counter.h",
"plugins_field_trial.cc",
"plugins_field_trial.h",
]
deps = [
"//base",
"//base:prefs",
"//components/content_settings/core/common",
"//components/plugins/common",
"//components/pref_registry:pref_registry",
"//net",
"//url",
]
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
}
source_set("unit_tests") {
testonly = true
sources = [
"content_settings_mock_provider.cc",
"content_settings_mock_provider.h",
"content_settings_provider_unittest.cc",
"content_settings_rule_unittest.cc",
"content_settings_utils_unittest.cc",
"cookie_settings_unittest.cc",
"plugins_field_trial_unittest.cc",
]
deps = [
":browser",
"//base",
"//components/content_settings/core/common",
"//components/content_settings/core/test:test_support",
"//testing/gtest",
"//url",
]
}
|