Add abhijeet.k@samsung.com to AUTHORS list.
[chromium-blink-merge.git] / components / content_settings / core / browser / BUILD.gn
blob1f1960834183a68a50b3aa4a3ccfb845e24711a6
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("browser") {
6   sources = [
7     "content_settings_binary_value_map.cc",
8     "content_settings_binary_value_map.h",
9     "content_settings_client.h",
10     "content_settings_default_provider.cc",
11     "content_settings_default_provider.h",
12     "content_settings_details.cc",
13     "content_settings_details.h",
14     "content_settings_observable_provider.cc",
15     "content_settings_observable_provider.h",
16     "content_settings_observer.h",
17     "content_settings_origin_identifier_value_map.cc",
18     "content_settings_origin_identifier_value_map.h",
19     "content_settings_override_provider.cc",
20     "content_settings_override_provider.h",
21     "content_settings_policy_provider.cc",
22     "content_settings_policy_provider.h",
23     "content_settings_pref.cc",
24     "content_settings_pref.h",
25     "content_settings_pref_provider.cc",
26     "content_settings_pref_provider.h",
27     "content_settings_provider.h",
28     "content_settings_rule.cc",
29     "content_settings_rule.h",
30     "content_settings_usages_state.cc",
31     "content_settings_usages_state.h",
32     "content_settings_utils.cc",
33     "content_settings_utils.h",
34     "host_content_settings_map.cc",
35     "host_content_settings_map.h",
36     "local_shared_objects_counter.h",
37   ]
39   deps = [
40     "//base",
41     "//base:prefs",
42     "//components/content_settings/core/common",
43     "//components/pref_registry:pref_registry",
44     "//net",
45     "//url",
46   ]
48   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
51 source_set("unit_tests") {
52   testonly = true
53   sources = [
54     "content_settings_mock_provider.cc",
55     "content_settings_mock_provider.h",
56     "content_settings_provider_unittest.cc",
57     "content_settings_rule_unittest.cc",
58     "content_settings_utils_unittest.cc",
59   ]
61   deps = [
62     ":browser",
63     "//base",
64     "//components/content_settings/core/common",
65     "//components/content_settings/core/test:test_support",
66     "//testing/gtest",
67     "//url",
68   ]