NaCl: Increase validation cache size.
[chromium-blink-merge.git] / components / omnibox / BUILD.gn
blob08ff27dac42210d4a9a195f2e42d6af55552937a
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.
5 static_library("omnibox") {
6   sources = [
7     "answers_cache.cc",
8     "answers_cache.h",
9     "autocomplete_input.cc",
10     "autocomplete_input.h",
11     "autocomplete_match.cc",
12     "autocomplete_match.h",
13     "autocomplete_match_type.cc",
14     "autocomplete_match_type.h",
15     "autocomplete_provider.cc",
16     "autocomplete_provider.h",
17     "autocomplete_result.cc",
18     "autocomplete_result.h",
19     "autocomplete_scheme_classifier.h",
20     "base_search_provider.cc",
21     "base_search_provider.h",
22     "keyword_extensions_delegate.cc",
23     "keyword_extensions_delegate.h",
24     "keyword_provider.cc",
25     "keyword_provider.h",
26     "omnibox_field_trial.cc",
27     "omnibox_field_trial.h",
28     "omnibox_switches.cc",
29     "omnibox_switches.h",
30     "search_provider.cc",
31     "search_provider.h",
32     "search_suggestion_parser.cc",
33     "search_suggestion_parser.h",
34     "suggestion_answer.cc",
35     "suggestion_answer.h",
36     "url_prefix.cc",
37     "url_prefix.h",
38   ]
40   public_deps = [
41     "//components/metrics/proto",
42   ]
43   deps = [
44     "//base",
45     "//base:i18n",
46     "//components/history/core/browser",
47     "//components/resources",
48     "//components/search",
49     "//components/search_engines",
50     "//components/strings",
51     "//components/url_fixer",
52     "//components/variations",
53     "//components/variations/net",
54     "//net",
55     "//ui/base",
56     "//url",
57   ]
60 static_library("test_support") {
61   sources = [
62     "test_scheme_classifier.cc",
63     "test_scheme_classifier.h",
64   ]
66   deps = [
67     ":omnibox",
68     "//base",
69     "//components/metrics/proto",
70   ]
73 source_set("unit_tests") {
74   testonly = true
75   sources = [
76     "answers_cache_unittest.cc",
77     "autocomplete_input_unittest.cc",
78     "autocomplete_match_unittest.cc",
79     "autocomplete_result_unittest.cc",
80     "base_search_provider_unittest.cc",
81     "keyword_provider_unittest.cc",
82     "omnibox_field_trial_unittest.cc",
83     "suggestion_answer_unittest.cc",
84   ]
86   deps = [
87     ":omnibox",
88     ":test_support",
89     "//testing/gmock",
90     "//testing/gtest",
91   ]