summaryrefslogtreecommitdiff
path: root/chromium/components/subresource_filter/core/common/BUILD.gn
blob: 1b38ff528e762d78401f59eb90249a2653b9a9ca (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
# Copyright 2015 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.

source_set("common") {
  sources = [
    "activation_state.cc",
    "activation_state.h",
    "closed_hash_map.h",
    "fuzzy_pattern_matching.cc",
    "fuzzy_pattern_matching.h",
    "knuth_morris_pratt.h",
    "memory_mapped_ruleset.cc",
    "memory_mapped_ruleset.h",
    "ngram_extractor.h",
    "string_splitter.h",
    "uint64_hasher.h",
  ]
  deps = [
    "//base",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "closed_hash_map_unittest.cc",
    "fuzzy_pattern_matching_unittest.cc",
    "knuth_morris_pratt_unittest.cc",
    "ngram_extractor_unittest.cc",
    "string_splitter_unittest.cc",
  ]
  deps = [
    ":common",
    "//base",
    "//testing/gtest",
  ]
}