OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 static_library("autocomplete") { | |
6 sources = [ | |
7 "autocomplete_input.cc", | |
8 "autocomplete_input.h", | |
9 "autocomplete_match.cc", | |
10 "autocomplete_match.h", | |
11 "autocomplete_match_type.cc", | |
12 "autocomplete_match_type.h", | |
13 "autocomplete_provider.cc", | |
14 "autocomplete_provider.h", | |
15 "autocomplete_scheme_classifier.h", | |
16 "url_prefix.cc", | |
17 "url_prefix.h", | |
18 ] | |
19 | |
20 deps = [ | |
21 "//base", | |
22 "//components/metrics/proto", | |
23 "//components/resources", | |
24 "//components/search_engines", | |
25 "//components/url_fixer", | |
26 "//net", | |
27 "//url", | |
28 ] | |
29 | |
30 forward_dependent_configs_from = [ | |
31 "//components/metrics/proto", | |
32 ] | |
33 } | |
34 | |
35 static_library("test_support") { | |
36 sources = [ | |
37 "test_scheme_classifier.cc", | |
38 "test_scheme_classifier.h", | |
39 ] | |
40 | |
41 deps = [ | |
42 ":autocomplete", | |
43 "//base", | |
44 "//components/metrics/proto", | |
45 ] | |
46 } | |
47 | |
48 source_set("unit_tests") { | |
49 sources = [ | |
50 "autocomplete_input_unittest.cc", | |
51 "autocomplete_match_unittest.cc", | |
52 ] | |
53 | |
54 deps = [ | |
55 ":autocomplete", | |
56 ":test_support", | |
57 "//testing/gtest", | |
58 ] | |
59 } | |
OLD | NEW |