summaryrefslogtreecommitdiffstats
path: root/components/content_settings/core/browser/BUILD.gn
blob: 4a1e2da54330ec6b3e2f499b73cceb0ecd71546f (plain)
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
# 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_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_override_provider.cc",
    "content_settings_override_provider.h",
    "content_settings_policy_provider.cc",
    "content_settings_policy_provider.h",
    "content_settings_pref_provider.cc",
    "content_settings_pref_provider.h",
    "content_settings_provider.h",
    "content_settings_origin_identifier_value_map.cc",
    "content_settings_origin_identifier_value_map.h",
    "content_settings_rule.cc",
    "content_settings_rule.h",
    "content_settings_utils.cc",
    "content_settings_utils.h",
    "local_shared_objects_counter.h",
    "host_content_settings_map.cc",
    "host_content_settings_map.h",
  ]

  deps = [
    "//base",
    "//components/content_settings/core/common",
  ]
}

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",
  ]

  deps = [
    ":browser",
    "//components/content_settings/core/test:test_support",
    "//testing/gtest",
  ]
}