OLD | NEW |
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 source_set("search") { | 5 static_library("search") { |
6 sources = [ | 6 sources = [ |
7 "search.cc", | 7 "search.cc", |
8 "search.h", | 8 "search.h", |
9 "search_switches.cc", | 9 "search_switches.cc", |
10 "search_switches.h", | 10 "search_switches.h", |
11 ] | 11 ] |
12 | 12 |
13 deps = [ | 13 deps = [ |
14 "//base", | 14 "//base", |
15 "//components/google/core/browser", | 15 "//components/google/core/browser", |
16 "//components/search_engines", | 16 "//components/search_engines", |
17 "//url", | 17 "//url", |
18 ] | 18 ] |
19 } | 19 } |
20 | |
21 source_set("unit_tests") { | |
22 testonly = true | |
23 sources = [ | |
24 "search_android_unittest.cc", | |
25 "search_unittest.cc", | |
26 ] | |
27 deps = [ | |
28 ":search", | |
29 "//testing/gtest", | |
30 ] | |
31 } | |
OLD | NEW |