OLD | NEW |
1 # Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2015 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
6 | 6 |
7 source_set("drive") { | 7 source_set("drive") { |
8 sources = [ | 8 sources = [ |
9 "drive_api_util.cc", | 9 "drive_api_util.cc", |
10 "drive_api_util.h", | 10 "drive_api_util.h", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 "resource_metadata_storage.cc", | 43 "resource_metadata_storage.cc", |
44 "resource_metadata_storage.h", | 44 "resource_metadata_storage.h", |
45 "service/drive_api_service.cc", | 45 "service/drive_api_service.cc", |
46 "service/drive_api_service.h", | 46 "service/drive_api_service.h", |
47 "service/drive_service_interface.cc", | 47 "service/drive_service_interface.cc", |
48 "service/drive_service_interface.h", | 48 "service/drive_service_interface.h", |
49 ] | 49 ] |
50 deps = [ | 50 deps = [ |
51 "//base", | 51 "//base", |
52 "//base:i18n", | 52 "//base:i18n", |
53 "//base:prefs", | |
54 "//components/invalidation/public", | 53 "//components/invalidation/public", |
55 "//components/keyed_service/core", | 54 "//components/keyed_service/core", |
| 55 "//components/prefs", |
56 | 56 |
57 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 57 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
58 "//content/public/browser", | 58 "//content/public/browser", |
59 "//google_apis:google_apis", | 59 "//google_apis:google_apis", |
60 "//net:net", | 60 "//net:net", |
61 "//third_party/cacheinvalidation", | 61 "//third_party/cacheinvalidation", |
62 "//third_party/leveldatabase", | 62 "//third_party/leveldatabase", |
63 "//third_party/re2", | 63 "//third_party/re2", |
64 ] | 64 ] |
65 public_deps = [ | 65 public_deps = [ |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 "sync/entry_update_performer.h", | 122 "sync/entry_update_performer.h", |
123 "sync/remove_performer.cc", | 123 "sync/remove_performer.cc", |
124 "sync/remove_performer.h", | 124 "sync/remove_performer.h", |
125 "sync_client.cc", | 125 "sync_client.cc", |
126 "sync_client.h", | 126 "sync_client.h", |
127 ] | 127 ] |
128 deps = [ | 128 deps = [ |
129 ":drive", | 129 ":drive", |
130 "//base", | 130 "//base", |
131 "//base:i18n", | 131 "//base:i18n", |
132 "//base:prefs", | 132 "//components/prefs", |
133 "//google_apis:google_apis", | 133 "//google_apis:google_apis", |
134 "//net:net", | 134 "//net:net", |
135 ] | 135 ] |
136 public_deps = [ | 136 public_deps = [ |
137 ":proto", | 137 ":proto", |
138 ] | 138 ] |
139 } | 139 } |
140 | 140 |
141 proto_library("proto") { | 141 proto_library("proto") { |
142 sources = [ | 142 sources = [ |
143 "drive.proto", | 143 "drive.proto", |
144 ] | 144 ] |
145 } | 145 } |
146 | 146 |
147 source_set("test_support") { | 147 source_set("test_support") { |
148 testonly = true | 148 testonly = true |
149 sources = [ | 149 sources = [ |
150 "service/dummy_drive_service.cc", | 150 "service/dummy_drive_service.cc", |
151 "service/dummy_drive_service.h", | 151 "service/dummy_drive_service.h", |
152 "service/fake_drive_service.cc", | 152 "service/fake_drive_service.cc", |
153 "service/fake_drive_service.h", | 153 "service/fake_drive_service.h", |
154 "service/test_util.cc", | 154 "service/test_util.cc", |
155 "service/test_util.h", | 155 "service/test_util.h", |
156 ] | 156 ] |
157 deps = [ | 157 deps = [ |
158 ":drive", | 158 ":drive", |
159 ":proto", | 159 ":proto", |
160 "//base", | 160 "//base", |
161 "//base:prefs_test_support", | 161 "//components/prefs:test_support", |
162 "//content/test:test_support", | 162 "//content/test:test_support", |
163 "//google_apis:test_support", | 163 "//google_apis:test_support", |
164 "//net:net", | 164 "//net:net", |
165 ] | 165 ] |
166 } | 166 } |
167 | 167 |
168 source_set("test_support_chromeos") { | 168 source_set("test_support_chromeos") { |
169 testonly = true | 169 testonly = true |
170 sources = [ | 170 sources = [ |
171 "drive_test_util.cc", | 171 "drive_test_util.cc", |
172 "drive_test_util.h", | 172 "drive_test_util.h", |
173 "dummy_file_system.cc", | 173 "dummy_file_system.cc", |
174 "dummy_file_system.h", | 174 "dummy_file_system.h", |
175 "fake_file_system.cc", | 175 "fake_file_system.cc", |
176 "fake_file_system.h", | 176 "fake_file_system.h", |
177 "fake_free_disk_space_getter.cc", | 177 "fake_free_disk_space_getter.cc", |
178 "fake_free_disk_space_getter.h", | 178 "fake_free_disk_space_getter.h", |
179 ] | 179 ] |
180 deps = [ | 180 deps = [ |
181 ":drive", | 181 ":drive", |
182 ":drive_chromeos", | 182 ":drive_chromeos", |
183 ":proto", | 183 ":proto", |
184 "//base", | 184 "//base", |
185 "//base:prefs_test_support", | 185 "//components/prefs:test_support", |
186 "//content/test:test_support", | 186 "//content/test:test_support", |
187 "//google_apis:test_support", | 187 "//google_apis:test_support", |
188 ] | 188 ] |
189 } | 189 } |
OLD | NEW |