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("suggestions") { | 5 source_set("suggestions") { |
6 sources = [ | 6 sources = [ |
7 "blacklist_store.cc", | 7 "blacklist_store.cc", |
8 "blacklist_store.h", | 8 "blacklist_store.h", |
9 "image_encoder.h", | 9 "image_encoder.h", |
10 "image_fetcher.h", | 10 "image_fetcher.h", |
(...skipping 11 matching lines...) Expand all Loading... |
22 ] | 22 ] |
23 | 23 |
24 public_deps = [ | 24 public_deps = [ |
25 "//base", | 25 "//base", |
26 "//components/suggestions/proto", | 26 "//components/suggestions/proto", |
27 "//net", | 27 "//net", |
28 "//ui/gfx", | 28 "//ui/gfx", |
29 "//url", | 29 "//url", |
30 ] | 30 ] |
31 deps = [ | 31 deps = [ |
| 32 "//components/data_use_measurement/core", |
32 "//components/keyed_service/core", | 33 "//components/keyed_service/core", |
33 "//components/pref_registry", | 34 "//components/pref_registry", |
34 "//components/variations", | 35 "//components/variations", |
35 "//components/variations/net", | 36 "//components/variations/net", |
36 ] | 37 ] |
37 | 38 |
38 if (is_ios) { | 39 if (is_ios) { |
39 sources += [ "image_encoder_ios.mm" ] | 40 sources += [ "image_encoder_ios.mm" ] |
40 } else { | 41 } else { |
41 sources += [ "image_encoder.cc" ] | 42 sources += [ "image_encoder.cc" ] |
42 } | 43 } |
43 } | 44 } |
44 | 45 |
45 source_set("unit_tests") { | 46 source_set("unit_tests") { |
46 testonly = true | 47 testonly = true |
47 sources = [ | 48 sources = [ |
48 "blacklist_store_unittest.cc", | 49 "blacklist_store_unittest.cc", |
49 "image_manager_unittest.cc", | 50 "image_manager_unittest.cc", |
50 "suggestions_service_unittest.cc", | 51 "suggestions_service_unittest.cc", |
51 "suggestions_store_unittest.cc", | 52 "suggestions_store_unittest.cc", |
52 ] | 53 ] |
53 deps = [ | 54 deps = [ |
54 ":suggestions", | 55 ":suggestions", |
55 "//testing/gmock", | 56 "//testing/gmock", |
56 "//testing/gtest", | 57 "//testing/gtest", |
57 ] | 58 ] |
58 } | 59 } |
OLD | NEW |