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", |
49 | 59 |
50 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | 60 # TODO(lukasza): Remove this dependency (see DEPS file for more info). |
51 "//storage/browser:browser", | 61 "//storage/browser:browser", |
52 | 62 |
| 63 "//third_party/cacheinvalidation:cacheinvalidation", |
| 64 "//third_party/leveldatabase:leveldatabase", |
53 "//third_party/re2:re2", | 65 "//third_party/re2:re2", |
54 ] | 66 ] |
55 public_deps = [ | 67 public_deps = [ |
56 ":proto", | 68 ":proto", |
57 ] | 69 ] |
58 } | 70 } |
59 | 71 |
60 proto_library("proto") { | 72 proto_library("proto") { |
61 sources = [ | 73 sources = [ |
62 "drive.proto", | 74 "drive.proto", |
63 ] | 75 ] |
64 } | 76 } |
65 | 77 |
66 source_set("test_support") { | 78 source_set("test_support") { |
67 testonly = true | 79 testonly = true |
68 sources = [ | 80 sources = [ |
69 "drive_test_util.cc", | 81 "drive_test_util.cc", |
70 "drive_test_util.h", | 82 "drive_test_util.h", |
| 83 "fake_free_disk_space_getter.cc", |
| 84 "fake_free_disk_space_getter.h", |
71 "service/dummy_drive_service.cc", | 85 "service/dummy_drive_service.cc", |
72 "service/dummy_drive_service.h", | 86 "service/dummy_drive_service.h", |
73 "service/fake_drive_service.cc", | 87 "service/fake_drive_service.cc", |
74 "service/fake_drive_service.h", | 88 "service/fake_drive_service.h", |
75 "service/test_util.cc", | 89 "service/test_util.cc", |
76 "service/test_util.h", | 90 "service/test_util.h", |
77 ] | 91 ] |
78 deps = [ | 92 deps = [ |
79 ":drive", | 93 ":drive", |
80 ":proto", | 94 ":proto", |
81 "//base:base", | 95 "//base:base", |
82 "//content/test:test_support", | 96 "//content/test:test_support", |
83 "//google_apis:google_apis", | 97 "//google_apis:google_apis", |
84 "//net:net", | 98 "//net:net", |
85 ] | 99 ] |
86 } | 100 } |
OLD | NEW |