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("suggestions") { | 5 static_library("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_manager.cc", | 10 "image_manager.cc", |
(...skipping 15 matching lines...) Expand all Loading... |
26 "//url", | 26 "//url", |
27 ] | 27 ] |
28 deps = [ | 28 deps = [ |
29 "//components/data_use_measurement/core", | 29 "//components/data_use_measurement/core", |
30 "//components/google/core/browser", | 30 "//components/google/core/browser", |
31 "//components/image_fetcher", | 31 "//components/image_fetcher", |
32 "//components/keyed_service/core", | 32 "//components/keyed_service/core", |
33 "//components/leveldb_proto", | 33 "//components/leveldb_proto", |
34 "//components/pref_registry", | 34 "//components/pref_registry", |
35 "//components/signin/core/browser", | 35 "//components/signin/core/browser", |
36 "//components/sync_driver:sync_driver", | 36 "//components/sync", |
37 "//components/variations", | 37 "//components/variations", |
38 "//components/variations/net", | 38 "//components/variations/net", |
39 "//google_apis", | 39 "//google_apis", |
40 ] | 40 ] |
41 | 41 |
42 if (is_ios) { | 42 if (is_ios) { |
43 sources += [ "image_encoder_ios.mm" ] | 43 sources += [ "image_encoder_ios.mm" ] |
44 } else { | 44 } else { |
45 sources += [ "image_encoder.cc" ] | 45 sources += [ "image_encoder.cc" ] |
46 } | 46 } |
47 } | 47 } |
48 | 48 |
49 source_set("unit_tests") { | 49 source_set("unit_tests") { |
50 testonly = true | 50 testonly = true |
51 sources = [ | 51 sources = [ |
52 "blacklist_store_unittest.cc", | 52 "blacklist_store_unittest.cc", |
53 "image_manager_unittest.cc", | 53 "image_manager_unittest.cc", |
54 "suggestions_service_unittest.cc", | 54 "suggestions_service_unittest.cc", |
55 "suggestions_store_unittest.cc", | 55 "suggestions_store_unittest.cc", |
56 ] | 56 ] |
57 deps = [ | 57 deps = [ |
58 ":suggestions", | 58 ":suggestions", |
59 "//base/test:test_support", | 59 "//base/test:test_support", |
60 "//components/image_fetcher", | 60 "//components/image_fetcher", |
61 "//components/leveldb_proto:test_support", | 61 "//components/leveldb_proto:test_support", |
62 "//components/pref_registry:test_support", | 62 "//components/pref_registry:test_support", |
63 "//components/signin/core/browser:test_support", | 63 "//components/signin/core/browser:test_support", |
64 "//components/sync_driver:test_support", | 64 "//components/sync:test_support_sync_driver", |
65 "//net:test_support", | 65 "//net:test_support", |
66 "//testing/gmock", | 66 "//testing/gmock", |
67 "//testing/gtest", | 67 "//testing/gtest", |
68 ] | 68 ] |
69 } | 69 } |
OLD | NEW |