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

Side by Side Diff: components/url_matcher/BUILD.gn

Issue 1311623002: Add more components_unittests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 4 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
« no previous file with comments | « components/translate/core/language_detection/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 component("url_matcher") { 5 component("url_matcher") {
6 sources = [ 6 sources = [
7 "regex_set_matcher.cc", 7 "regex_set_matcher.cc",
8 "regex_set_matcher.h", 8 "regex_set_matcher.h",
9 "string_pattern.cc", 9 "string_pattern.cc",
10 "string_pattern.h", 10 "string_pattern.h",
11 "substring_set_matcher.cc", 11 "substring_set_matcher.cc",
12 "substring_set_matcher.h", 12 "substring_set_matcher.h",
13 "url_matcher.cc", 13 "url_matcher.cc",
14 "url_matcher.h", 14 "url_matcher.h",
15 "url_matcher_constants.cc", 15 "url_matcher_constants.cc",
16 "url_matcher_constants.h", 16 "url_matcher_constants.h",
17 "url_matcher_export.h", 17 "url_matcher_export.h",
18 "url_matcher_factory.cc", 18 "url_matcher_factory.cc",
19 "url_matcher_factory.h", 19 "url_matcher_factory.h",
20 "url_matcher_helpers.cc", 20 "url_matcher_helpers.cc",
21 "url_matcher_helpers.h", 21 "url_matcher_helpers.h",
22 ] 22 ]
23 23
24 defines = [ "URL_MATCHER_IMPLEMENTATION" ] 24 defines = [ "URL_MATCHER_IMPLEMENTATION" ]
25 25
26 deps = [ 26 public_deps = [
27 "//base", 27 "//base",
28 "//base/third_party/dynamic_annotations", 28 "//base/third_party/dynamic_annotations",
29 "//third_party/re2", 29 "//third_party/re2",
30 "//url", 30 "//url",
31 ] 31 ]
32 32
33 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 33 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
34 } 34 }
35
36 source_set("unit_tests") {
37 testonly = true
38 sources = [
39 "regex_set_matcher_unittest.cc",
40 "string_pattern_unittest.cc",
41 "substring_set_matcher_unittest.cc",
42 "url_matcher_factory_unittest.cc",
43 "url_matcher_unittest.cc",
44 ]
45 deps = [
46 ":url_matcher",
47 "//testing/gtest",
48 ]
49 }
OLDNEW
« no previous file with comments | « components/translate/core/language_detection/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698