| 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("query_parser") { | 5 source_set("query_parser") { |
| 6 sources = [ | 6 sources = [ |
| 7 "query_parser.cc", | 7 "query_parser.cc", |
| 8 "query_parser.h", | 8 "query_parser.h", |
| 9 "snippet.cc", | 9 "snippet.cc", |
| 10 "snippet.h", | 10 "snippet.h", |
| 11 ] | 11 ] |
| 12 | 12 |
| 13 deps = [ | 13 deps = [ |
| 14 "//base", | 14 "//base", |
| 15 "//base:i18n", | 15 "//base:i18n", |
| 16 "//third_party/icu", | 16 "//third_party/icu", |
| 17 ] | 17 ] |
| 18 } | 18 } |
| 19 | |
| 20 source_set("unit_tests") { | |
| 21 testonly = true | |
| 22 sources = [ | |
| 23 "query_parser_unittest.cc", | |
| 24 "snippet_unittest.cc", | |
| 25 ] | |
| 26 deps = [ | |
| 27 ":query_parser", | |
| 28 "//testing/gtest", | |
| 29 ] | |
| 30 } | |
| OLD | NEW |