OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("common") { | 5 static_library("common") { |
6 sources = [ | 6 sources = [ |
7 "activation_state.cc", | 7 "activation_state.cc", |
8 "activation_state.h", | 8 "activation_state.h", |
9 "closed_hash_map.h", | 9 "closed_hash_map.h", |
10 "fuzzy_pattern_matching.cc", | 10 "fuzzy_pattern_matching.cc", |
11 "fuzzy_pattern_matching.h", | 11 "fuzzy_pattern_matching.h", |
12 "indexed_ruleset.cc", | 12 "indexed_ruleset.cc", |
13 "indexed_ruleset.h", | 13 "indexed_ruleset.h", |
14 "knuth_morris_pratt.h", | 14 "knuth_morris_pratt.h", |
15 "memory_mapped_ruleset.cc", | 15 "memory_mapped_ruleset.cc", |
(...skipping 12 matching lines...) Expand all Loading... |
28 ] | 28 ] |
29 | 29 |
30 deps = [ | 30 deps = [ |
31 "//base", | 31 "//base", |
32 "//net", | 32 "//net", |
33 "//third_party/flatbuffers:flatbuffers", | 33 "//third_party/flatbuffers:flatbuffers", |
34 "//url", | 34 "//url", |
35 ] | 35 ] |
36 } | 36 } |
37 | 37 |
38 source_set("test_support") { | 38 static_library("test_support") { |
39 testonly = true | 39 testonly = true |
40 sources = [ | 40 sources = [ |
41 "test_ruleset_creator.cc", | 41 "test_ruleset_creator.cc", |
42 "test_ruleset_creator.h", | 42 "test_ruleset_creator.h", |
43 ] | 43 ] |
44 deps = [ | 44 deps = [ |
45 "//base", | 45 "//base", |
46 "//testing/gtest", | 46 "//testing/gtest", |
47 ] | 47 ] |
48 } | 48 } |
49 | 49 |
50 source_set("unit_tests") { | 50 source_set("unit_tests") { |
51 testonly = true | 51 testonly = true |
52 sources = [ | 52 sources = [ |
53 "closed_hash_map_unittest.cc", | 53 "closed_hash_map_unittest.cc", |
54 "fuzzy_pattern_matching_unittest.cc", | 54 "fuzzy_pattern_matching_unittest.cc", |
55 "indexed_ruleset_unittest.cc", | 55 "indexed_ruleset_unittest.cc", |
56 "knuth_morris_pratt_unittest.cc", | 56 "knuth_morris_pratt_unittest.cc", |
57 "ngram_extractor_unittest.cc", | 57 "ngram_extractor_unittest.cc", |
58 "string_splitter_unittest.cc", | 58 "string_splitter_unittest.cc", |
59 "url_pattern_matching_unittest.cc", | 59 "url_pattern_matching_unittest.cc", |
60 ] | 60 ] |
61 deps = [ | 61 deps = [ |
62 ":common", | 62 ":common", |
63 "//base", | 63 "//base", |
64 "//testing/gtest", | 64 "//testing/gtest", |
65 "//url", | 65 "//url", |
66 ] | 66 ] |
67 } | 67 } |
OLD | NEW |