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", |
11 "drive_app_registry.cc", | 11 "drive_app_registry.cc", |
12 "drive_app_registry.h", | 12 "drive_app_registry.h", |
13 "drive_app_registry_observer.h", | 13 "drive_app_registry_observer.h", |
14 "drive_notification_manager.cc", | 14 "drive_notification_manager.cc", |
15 "drive_notification_manager.h", | 15 "drive_notification_manager.h", |
16 "drive_notification_observer.h", | 16 "drive_notification_observer.h", |
17 "drive_pref_names.cc", | 17 "drive_pref_names.cc", |
18 "drive_pref_names.h", | 18 "drive_pref_names.h", |
19 "drive_uploader.cc", | 19 "drive_uploader.cc", |
20 "drive_uploader.h", | 20 "drive_uploader.h", |
21 "event_logger.cc", | 21 "event_logger.cc", |
22 "event_logger.h", | 22 "event_logger.h", |
| 23 "file_cache.cc", |
| 24 "file_cache.h", |
23 "file_change.cc", | 25 "file_change.cc", |
24 "file_change.h", | 26 "file_change.h", |
25 "file_errors.cc", | 27 "file_errors.cc", |
26 "file_errors.h", | 28 "file_errors.h", |
| 29 "file_system_core_util.cc", |
| 30 "file_system_core_util.h", |
27 "job_list.cc", | 31 "job_list.cc", |
28 "job_list.h", | 32 "job_list.h", |
29 "job_queue.cc", | 33 "job_queue.cc", |
30 "job_queue.h", | 34 "job_queue.h", |
31 "job_scheduler.cc", | 35 "job_scheduler.cc", |
32 "job_scheduler.h", | 36 "job_scheduler.h", |
33 "local_file_reader.cc", | 37 "local_file_reader.cc", |
34 "local_file_reader.h", | 38 "local_file_reader.h", |
| 39 "resource_entry_conversion.cc", |
| 40 "resource_entry_conversion.h", |
| 41 "resource_metadata.cc", |
| 42 "resource_metadata.h", |
| 43 "resource_metadata_storage.cc", |
| 44 "resource_metadata_storage.h", |
35 "service/drive_api_service.cc", | 45 "service/drive_api_service.cc", |
36 "service/drive_api_service.h", | 46 "service/drive_api_service.h", |
37 "service/drive_service_interface.cc", | 47 "service/drive_service_interface.cc", |
38 "service/drive_service_interface.h", | 48 "service/drive_service_interface.h", |
39 ] | 49 ] |
40 deps = [ | 50 deps = [ |
41 "//base:base", | 51 "//base:base", |
42 "//components/invalidation/public", | 52 "//components/invalidation/public", |
43 | 53 |
44 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 54 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
45 "//content/public/browser:browser", | 55 "//content/public/browser:browser", |
46 | 56 |
47 "//google_apis:google_apis", | 57 "//google_apis:google_apis", |
48 "//net:net", | 58 "//net:net", |
| 59 "//third_party/cacheinvalidation:cacheinvalidation", |
| 60 "//third_party/leveldatabase:leveldatabase", |
49 "//third_party/re2:re2", | 61 "//third_party/re2:re2", |
50 ] | 62 ] |
51 public_deps = [ | 63 public_deps = [ |
52 ":proto", | 64 ":proto", |
53 ] | 65 ] |
54 } | 66 } |
55 | 67 |
56 proto_library("proto") { | 68 proto_library("proto") { |
57 sources = [ | 69 sources = [ |
58 "drive.proto", | 70 "drive.proto", |
59 ] | 71 ] |
60 } | 72 } |
61 | 73 |
62 source_set("test_support") { | 74 source_set("test_support") { |
63 testonly = true | 75 testonly = true |
64 sources = [ | 76 sources = [ |
65 "drive_test_util.cc", | 77 "drive_test_util.cc", |
66 "drive_test_util.h", | 78 "drive_test_util.h", |
| 79 "fake_free_disk_space_getter.cc", |
| 80 "fake_free_disk_space_getter.h", |
67 "service/dummy_drive_service.cc", | 81 "service/dummy_drive_service.cc", |
68 "service/dummy_drive_service.h", | 82 "service/dummy_drive_service.h", |
69 "service/fake_drive_service.cc", | 83 "service/fake_drive_service.cc", |
70 "service/fake_drive_service.h", | 84 "service/fake_drive_service.h", |
71 "service/test_util.cc", | 85 "service/test_util.cc", |
72 "service/test_util.h", | 86 "service/test_util.h", |
73 ] | 87 ] |
74 deps = [ | 88 deps = [ |
75 ":drive", | 89 ":drive", |
76 ":proto", | 90 ":proto", |
77 "//base:base", | 91 "//base:base", |
78 "//content/test:test_support", | 92 "//content/test:test_support", |
79 "//google_apis:google_apis", | 93 "//google_apis:google_apis", |
80 "//net:net", | 94 "//net:net", |
81 ] | 95 ] |
82 } | 96 } |
OLD | NEW |