Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Side by Side Diff: components/suggestions/BUILD.gn

Issue 1770843002: SuggestionsService: implement SyncServiceObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix2 Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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",
11 "image_fetcher_delegate.h", 11 "image_fetcher_delegate.h",
12 "image_manager.cc", 12 "image_manager.cc",
13 "image_manager.h", 13 "image_manager.h",
14 "suggestions_pref_names.cc", 14 "suggestions_pref_names.cc",
15 "suggestions_pref_names.h", 15 "suggestions_pref_names.h",
16 "suggestions_service.cc", 16 "suggestions_service.cc",
17 "suggestions_service.h", 17 "suggestions_service.h",
18 "suggestions_store.cc", 18 "suggestions_store.cc",
19 "suggestions_store.h", 19 "suggestions_store.h",
20 "suggestions_utils.cc",
21 "suggestions_utils.h",
22 ] 20 ]
23 21
24 public_deps = [ 22 public_deps = [
25 "//base", 23 "//base",
26 "//components/prefs", 24 "//components/prefs",
27 "//components/suggestions/proto", 25 "//components/suggestions/proto",
28 "//net", 26 "//net",
29 "//ui/gfx", 27 "//ui/gfx",
30 "//url", 28 "//url",
31 ] 29 ]
32 deps = [ 30 deps = [
33 "//components/data_use_measurement/core", 31 "//components/data_use_measurement/core",
34 "//components/google/core/browser", 32 "//components/google/core/browser",
35 "//components/keyed_service/core", 33 "//components/keyed_service/core",
36 "//components/leveldb_proto", 34 "//components/leveldb_proto",
37 "//components/pref_registry", 35 "//components/pref_registry",
38 "//components/signin/core/browser", 36 "//components/signin/core/browser",
37 "//components/sync_driver:sync_driver",
39 "//components/variations", 38 "//components/variations",
40 "//components/variations/net", 39 "//components/variations/net",
41 "//google_apis", 40 "//google_apis",
42 ] 41 ]
43 42
44 if (is_ios) { 43 if (is_ios) {
45 sources += [ "image_encoder_ios.mm" ] 44 sources += [ "image_encoder_ios.mm" ]
46 } else { 45 } else {
47 sources += [ "image_encoder.cc" ] 46 sources += [ "image_encoder.cc" ]
48 } 47 }
49 } 48 }
50 49
51 source_set("unit_tests") { 50 source_set("unit_tests") {
52 testonly = true 51 testonly = true
53 sources = [ 52 sources = [
54 "blacklist_store_unittest.cc", 53 "blacklist_store_unittest.cc",
55 "image_manager_unittest.cc", 54 "image_manager_unittest.cc",
56 "suggestions_service_unittest.cc", 55 "suggestions_service_unittest.cc",
57 "suggestions_store_unittest.cc", 56 "suggestions_store_unittest.cc",
58 ] 57 ]
59 deps = [ 58 deps = [
60 ":suggestions", 59 ":suggestions",
61 "//base/test:test_support", 60 "//base/test:test_support",
62 "//components/leveldb_proto:test_support", 61 "//components/leveldb_proto:test_support",
63 "//components/pref_registry:test_support", 62 "//components/pref_registry:test_support",
64 "//components/signin/core/browser:test_support", 63 "//components/signin/core/browser:test_support",
64 "//components/sync_driver:test_support",
65 "//net:test_support", 65 "//net:test_support",
66 "//testing/gmock", 66 "//testing/gmock",
67 "//testing/gtest", 67 "//testing/gtest",
68 ] 68 ]
69 } 69 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698