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 "change_list_loader.cc", | 9 "change_list_loader.cc", |
10 "change_list_loader.h", | 10 "change_list_loader.h", |
11 "change_list_loader_observer.h", | 11 "change_list_loader_observer.h", |
12 "change_list_processor.cc", | 12 "change_list_processor.cc", |
13 "change_list_processor.h", | 13 "change_list_processor.h", |
| 14 "directory_loader.cc", |
| 15 "directory_loader.h", |
14 "drive_api_util.cc", | 16 "drive_api_util.cc", |
15 "drive_api_util.h", | 17 "drive_api_util.h", |
16 "drive_app_registry.cc", | 18 "drive_app_registry.cc", |
17 "drive_app_registry.h", | 19 "drive_app_registry.h", |
18 "drive_app_registry_observer.h", | 20 "drive_app_registry_observer.h", |
19 "drive_notification_manager.cc", | 21 "drive_notification_manager.cc", |
20 "drive_notification_manager.h", | 22 "drive_notification_manager.h", |
21 "drive_notification_observer.h", | 23 "drive_notification_observer.h", |
22 "drive_pref_names.cc", | 24 "drive_pref_names.cc", |
23 "drive_pref_names.h", | 25 "drive_pref_names.h", |
24 "drive_uploader.cc", | 26 "drive_uploader.cc", |
25 "drive_uploader.h", | 27 "drive_uploader.h", |
26 "event_logger.cc", | 28 "event_logger.cc", |
27 "event_logger.h", | 29 "event_logger.h", |
28 "file_cache.cc", | 30 "file_cache.cc", |
29 "file_cache.h", | 31 "file_cache.h", |
30 "file_change.cc", | 32 "file_change.cc", |
31 "file_change.h", | 33 "file_change.h", |
32 "file_errors.cc", | 34 "file_errors.cc", |
33 "file_errors.h", | 35 "file_errors.h", |
| 36 "file_system.cc", |
| 37 "file_system.h", |
34 "file_system/copy_operation.cc", | 38 "file_system/copy_operation.cc", |
35 "file_system/copy_operation.h", | 39 "file_system/copy_operation.h", |
36 "file_system/create_directory_operation.cc", | 40 "file_system/create_directory_operation.cc", |
37 "file_system/create_directory_operation.h", | 41 "file_system/create_directory_operation.h", |
38 "file_system/create_file_operation.cc", | 42 "file_system/create_file_operation.cc", |
39 "file_system/create_file_operation.h", | 43 "file_system/create_file_operation.h", |
40 "file_system/download_operation.cc", | 44 "file_system/download_operation.cc", |
41 "file_system/download_operation.h", | 45 "file_system/download_operation.h", |
42 "file_system/get_file_for_saving_operation.cc", | 46 "file_system/get_file_for_saving_operation.cc", |
43 "file_system/get_file_for_saving_operation.h", | 47 "file_system/get_file_for_saving_operation.h", |
(...skipping 12 matching lines...) Expand all Loading... |
56 "file_system/touch_operation.cc", | 60 "file_system/touch_operation.cc", |
57 "file_system/touch_operation.h", | 61 "file_system/touch_operation.h", |
58 "file_system/truncate_operation.cc", | 62 "file_system/truncate_operation.cc", |
59 "file_system/truncate_operation.h", | 63 "file_system/truncate_operation.h", |
60 "file_system_core_util.cc", | 64 "file_system_core_util.cc", |
61 "file_system_core_util.h", | 65 "file_system_core_util.h", |
62 "file_system_interface.cc", | 66 "file_system_interface.cc", |
63 "file_system_interface.h", | 67 "file_system_interface.h", |
64 "file_system_metadata.cc", | 68 "file_system_metadata.cc", |
65 "file_system_metadata.h", | 69 "file_system_metadata.h", |
| 70 "file_system_observer.h", |
66 "file_write_watcher.cc", | 71 "file_write_watcher.cc", |
67 "file_write_watcher.h", | 72 "file_write_watcher.h", |
68 "job_list.cc", | 73 "job_list.cc", |
69 "job_list.h", | 74 "job_list.h", |
70 "job_queue.cc", | 75 "job_queue.cc", |
71 "job_queue.h", | 76 "job_queue.h", |
72 "job_scheduler.cc", | 77 "job_scheduler.cc", |
73 "job_scheduler.h", | 78 "job_scheduler.h", |
74 "local_file_reader.cc", | 79 "local_file_reader.cc", |
75 "local_file_reader.h", | 80 "local_file_reader.h", |
| 81 "remove_stale_cache_files.cc", |
| 82 "remove_stale_cache_files.h", |
76 "resource_entry_conversion.cc", | 83 "resource_entry_conversion.cc", |
77 "resource_entry_conversion.h", | 84 "resource_entry_conversion.h", |
78 "resource_metadata.cc", | 85 "resource_metadata.cc", |
79 "resource_metadata.h", | 86 "resource_metadata.h", |
80 "resource_metadata_storage.cc", | 87 "resource_metadata_storage.cc", |
81 "resource_metadata_storage.h", | 88 "resource_metadata_storage.h", |
| 89 "search_metadata.cc", |
| 90 "search_metadata.h", |
82 "service/drive_api_service.cc", | 91 "service/drive_api_service.cc", |
83 "service/drive_api_service.h", | 92 "service/drive_api_service.h", |
84 "service/drive_service_interface.cc", | 93 "service/drive_service_interface.cc", |
85 "service/drive_service_interface.h", | 94 "service/drive_service_interface.h", |
| 95 "sync/entry_revert_performer.cc", |
| 96 "sync/entry_revert_performer.h", |
| 97 "sync/entry_update_performer.cc", |
| 98 "sync/entry_update_performer.h", |
| 99 "sync/remove_performer.cc", |
| 100 "sync/remove_performer.h", |
| 101 "sync_client.cc", |
| 102 "sync_client.h", |
86 ] | 103 ] |
87 deps = [ | 104 deps = [ |
88 "//base:base", | 105 "//base:base", |
89 "//components/invalidation/public", | 106 "//components/invalidation/public", |
90 | 107 |
91 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 108 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
92 "//content/public/browser:browser", | 109 "//content/public/browser:browser", |
93 | 110 |
94 "//google_apis:google_apis", | 111 "//google_apis:google_apis", |
95 "//net:net", | 112 "//net:net", |
(...skipping 10 matching lines...) Expand all Loading... |
106 sources = [ | 123 sources = [ |
107 "drive.proto", | 124 "drive.proto", |
108 ] | 125 ] |
109 } | 126 } |
110 | 127 |
111 source_set("test_support") { | 128 source_set("test_support") { |
112 testonly = true | 129 testonly = true |
113 sources = [ | 130 sources = [ |
114 "drive_test_util.cc", | 131 "drive_test_util.cc", |
115 "drive_test_util.h", | 132 "drive_test_util.h", |
| 133 "dummy_file_system.cc", |
| 134 "dummy_file_system.h", |
| 135 "fake_file_system.cc", |
| 136 "fake_file_system.h", |
116 "fake_free_disk_space_getter.cc", | 137 "fake_free_disk_space_getter.cc", |
117 "fake_free_disk_space_getter.h", | 138 "fake_free_disk_space_getter.h", |
118 "service/dummy_drive_service.cc", | 139 "service/dummy_drive_service.cc", |
119 "service/dummy_drive_service.h", | 140 "service/dummy_drive_service.h", |
120 "service/fake_drive_service.cc", | 141 "service/fake_drive_service.cc", |
121 "service/fake_drive_service.h", | 142 "service/fake_drive_service.h", |
122 "service/test_util.cc", | 143 "service/test_util.cc", |
123 "service/test_util.h", | 144 "service/test_util.h", |
124 ] | 145 ] |
125 deps = [ | 146 deps = [ |
126 ":drive", | 147 ":drive", |
127 ":proto", | 148 ":proto", |
128 "//base:base", | 149 "//base:base", |
129 "//content/test:test_support", | 150 "//content/test:test_support", |
130 "//google_apis:google_apis", | 151 "//google_apis:google_apis", |
131 "//net:net", | 152 "//net:net", |
132 ] | 153 ] |
133 } | 154 } |
OLD | NEW |