| 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 static_library("autocomplete") { | 5 static_library("autocomplete") { |
| 6 sources = [ | 6 sources = [ |
| 7 "autocomplete_input.cc", | 7 "autocomplete_input.cc", |
| 8 "autocomplete_input.h", | 8 "autocomplete_input.h", |
| 9 "autocomplete_scheme_classifier.h", | 9 "autocomplete_scheme_classifier.h", |
| 10 "url_prefix.cc", | 10 "url_prefix.cc", |
| 11 "url_prefix.h", | 11 "url_prefix.h", |
| 12 ] | 12 ] |
| 13 | 13 |
| 14 deps = [ | 14 deps = [ |
| 15 "//base", | 15 "//base", |
| 16 "//components/metrics/proto", | 16 "//components/metrics/proto", |
| 17 "//components/url_fixer", | 17 "//components/url_fixer", |
| 18 "//net", | 18 "//net", |
| 19 "//url", | 19 "//url", |
| 20 ] | 20 ] |
| 21 |
| 22 forward_dependent_configs_from = [ |
| 23 "//components/metrics/proto", |
| 24 ] |
| 21 } | 25 } |
| 22 | 26 |
| 23 static_library("test_support") { | 27 static_library("test_support") { |
| 24 sources = [ | 28 sources = [ |
| 25 "test_scheme_classifier.cc", | 29 "test_scheme_classifier.cc", |
| 26 "test_scheme_classifier.h", | 30 "test_scheme_classifier.h", |
| 27 ] | 31 ] |
| 28 | 32 |
| 29 deps = [ | 33 deps = [ |
| 30 ":autocomplete", | 34 ":autocomplete", |
| 31 "//base", | 35 "//base", |
| 32 "//components/metrics/proto", | 36 "//components/metrics/proto", |
| 33 ] | 37 ] |
| 34 } | 38 } |
| 39 |
| 40 source_set("unit_tests") { |
| 41 sources = [ |
| 42 "autocomplete_input_unittest.cc", |
| 43 ] |
| 44 |
| 45 deps = [ |
| 46 ":autocomplete", |
| 47 ":test_support", |
| 48 "//testing/gtest", |
| 49 ] |
| 50 } |
| OLD | NEW |