summaryrefslogtreecommitdiffstats
path: root/components/content_settings/core/common/BUILD.gn
blob: 0570be8273034a9571f4187da082ee45374c3f92 (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
# 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("common") {
  sources = [
    "content_settings.cc",
    "content_settings.h",
    "content_settings_pattern.cc",
    "content_settings_pattern.h",
    "content_settings_pattern_parser.cc",
    "content_settings_pattern_parser.h",
    "content_settings_types.h",
    "pref_names.cc",
    "pref_names.h",
  ]

  deps = [
    "//base",
    "//net",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "content_settings_pattern_parser_unittest.cc",
    "content_settings_pattern_unittest.cc",
  ]

  deps = [
    ":common",
    "//net",
    "//testing/gmock",
    "//testing/gtest",
    "//url",
  ]
}