Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Side by Side Diff: components/subresource_filter/core/common/BUILD.gn

Issue 2793993002: [subresource_filter] Replace KMP by std::search. (Closed)
Patch Set: Fix DCHECK. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 static_library("common") { 5 static_library("common") {
6 sources = [ 6 sources = [
7 "activation_level.cc", 7 "activation_level.cc",
8 "activation_level.h", 8 "activation_level.h",
9 "activation_list.cc", 9 "activation_list.cc",
10 "activation_list.h", 10 "activation_list.h",
11 "activation_scope.cc", 11 "activation_scope.cc",
12 "activation_scope.h", 12 "activation_scope.h",
13 "activation_state.h", 13 "activation_state.h",
14 "closed_hash_map.h", 14 "closed_hash_map.h",
15 "copying_file_stream.cc", 15 "copying_file_stream.cc",
16 "copying_file_stream.h", 16 "copying_file_stream.h",
17 "document_load_statistics.h", 17 "document_load_statistics.h",
18 "document_subresource_filter.cc", 18 "document_subresource_filter.cc",
19 "document_subresource_filter.h", 19 "document_subresource_filter.h",
20 "first_party_origin.cc", 20 "first_party_origin.cc",
21 "first_party_origin.h", 21 "first_party_origin.h",
22 "fuzzy_pattern_matching.cc", 22 "fuzzy_pattern_matching.cc",
23 "fuzzy_pattern_matching.h", 23 "fuzzy_pattern_matching.h",
24 "indexed_ruleset.cc", 24 "indexed_ruleset.cc",
25 "indexed_ruleset.h", 25 "indexed_ruleset.h",
26 "knuth_morris_pratt.h",
27 "memory_mapped_ruleset.cc", 26 "memory_mapped_ruleset.cc",
28 "memory_mapped_ruleset.h", 27 "memory_mapped_ruleset.h",
29 "ngram_extractor.h", 28 "ngram_extractor.h",
30 "scoped_timers.h", 29 "scoped_timers.h",
31 "string_splitter.h", 30 "string_splitter.h",
32 "time_measurements.h", 31 "time_measurements.h",
33 "uint64_hasher.h", 32 "uint64_hasher.h",
34 "unindexed_ruleset.cc", 33 "unindexed_ruleset.cc",
35 "unindexed_ruleset.h", 34 "unindexed_ruleset.h",
36 "url_pattern.cc", 35 "url_pattern.cc",
37 "url_pattern.h", 36 "url_pattern.h",
38 "url_pattern_matching.h",
39 ] 37 ]
40 38
41 public_deps = [ 39 public_deps = [
42 "//components/subresource_filter/core/common/flat:flatbuffer", 40 "//components/subresource_filter/core/common/flat:flatbuffer",
43 "//components/subresource_filter/core/common/proto:proto", 41 "//components/subresource_filter/core/common/proto:proto",
44 ] 42 ]
45 43
46 deps = [ 44 deps = [
47 "//base", 45 "//base",
48 "//net", 46 "//net",
(...skipping 20 matching lines...) Expand all
69 } 67 }
70 68
71 source_set("unit_tests") { 69 source_set("unit_tests") {
72 testonly = true 70 testonly = true
73 sources = [ 71 sources = [
74 "closed_hash_map_unittest.cc", 72 "closed_hash_map_unittest.cc",
75 "document_subresource_filter_unittest.cc", 73 "document_subresource_filter_unittest.cc",
76 "first_party_origin_unittest.cc", 74 "first_party_origin_unittest.cc",
77 "fuzzy_pattern_matching_unittest.cc", 75 "fuzzy_pattern_matching_unittest.cc",
78 "indexed_ruleset_unittest.cc", 76 "indexed_ruleset_unittest.cc",
79 "knuth_morris_pratt_unittest.cc",
80 "ngram_extractor_unittest.cc", 77 "ngram_extractor_unittest.cc",
81 "scoped_timers_unittest.cc", 78 "scoped_timers_unittest.cc",
82 "string_splitter_unittest.cc", 79 "string_splitter_unittest.cc",
83 "unindexed_ruleset_unittest.cc", 80 "unindexed_ruleset_unittest.cc",
84 "url_pattern_matching_unittest.cc", 81 "url_pattern_unittest.cc",
85 ] 82 ]
86 deps = [ 83 deps = [
87 ":common", 84 ":common",
88 ":test_support", 85 ":test_support",
89 "//base", 86 "//base",
90 "//base/test:test_support", 87 "//base/test:test_support",
91 "//testing/gtest", 88 "//testing/gtest",
92 "//third_party/protobuf:protobuf_lite", 89 "//third_party/protobuf:protobuf_lite",
93 "//url", 90 "//url",
94 ] 91 ]
95 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698