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
3 # found in the LICENSE file.
8 # GN version: //components/drive:drive
9 'target_name': 'drive',
10 'type': 'static_library',
16 '../base/base.gyp:base',
17 '../components/components.gyp:invalidation_public',
19 # TODO(lukasza): Remove this dependency (see DEPS file for more info).
20 '../content/content.gyp:content_browser',
22 '../google_apis/google_apis.gyp:google_apis',
24 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation',
25 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidation_proto_cpp',
26 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
27 '../third_party/re2/re2.gyp:re2',
30 'drive/change_list_loader.cc',
31 'drive/change_list_loader.h',
32 'drive/change_list_loader_observer.h',
33 'drive/change_list_processor.cc',
34 'drive/change_list_processor.h',
35 'drive/directory_loader.cc',
36 'drive/directory_loader.h',
37 'drive/drive_api_util.cc',
38 'drive/drive_api_util.h',
39 'drive/drive_app_registry.cc',
40 'drive/drive_app_registry.h',
41 'drive/drive_app_registry_observer.h',
42 'drive/drive_notification_manager.cc',
43 'drive/drive_notification_manager.h',
44 'drive/drive_notification_observer.h',
45 'drive/drive_pref_names.cc',
46 'drive/drive_pref_names.h',
47 'drive/drive_uploader.cc',
48 'drive/drive_uploader.h',
49 'drive/event_logger.cc',
50 'drive/event_logger.h',
51 'drive/file_cache.cc',
53 'drive/file_change.cc',
54 'drive/file_change.h',
55 'drive/file_errors.cc',
56 'drive/file_errors.h',
57 'drive/file_system.cc',
58 'drive/file_system.h',
59 'drive/file_system/copy_operation.cc',
60 'drive/file_system/copy_operation.h',
61 'drive/file_system/create_directory_operation.cc',
62 'drive/file_system/create_directory_operation.h',
63 'drive/file_system/create_file_operation.cc',
64 'drive/file_system/create_file_operation.h',
65 'drive/file_system/download_operation.cc',
66 'drive/file_system/download_operation.h',
67 'drive/file_system/get_file_for_saving_operation.cc',
68 'drive/file_system/get_file_for_saving_operation.h',
69 'drive/file_system/move_operation.cc',
70 'drive/file_system/move_operation.h',
71 'drive/file_system/open_file_operation.cc',
72 'drive/file_system/open_file_operation.h',
73 'drive/file_system/operation_delegate.cc',
74 'drive/file_system/operation_delegate.h',
75 'drive/file_system/remove_operation.cc',
76 'drive/file_system/remove_operation.h',
77 'drive/file_system/search_operation.cc',
78 'drive/file_system/search_operation.h',
79 'drive/file_system/set_property_operation.cc',
80 'drive/file_system/set_property_operation.h',
81 'drive/file_system/touch_operation.cc',
82 'drive/file_system/touch_operation.h',
83 'drive/file_system/truncate_operation.cc',
84 'drive/file_system/truncate_operation.h',
85 'drive/file_system_core_util.cc',
86 'drive/file_system_core_util.h',
87 'drive/file_system_interface.cc',
88 'drive/file_system_interface.h',
89 'drive/file_system_metadata.cc',
90 'drive/file_system_metadata.h',
91 'drive/file_system_observer.h',
92 'drive/file_write_watcher.cc',
93 'drive/file_write_watcher.h',
98 'drive/job_scheduler.cc',
99 'drive/job_scheduler.h',
100 'drive/local_file_reader.cc',
101 'drive/local_file_reader.h',
102 'drive/remove_stale_cache_files.cc',
103 'drive/remove_stale_cache_files.h',
104 'drive/resource_entry_conversion.cc',
105 'drive/resource_entry_conversion.h',
106 'drive/resource_metadata.cc',
107 'drive/resource_metadata.h',
108 'drive/resource_metadata_storage.cc',
109 'drive/resource_metadata_storage.h',
110 'drive/search_metadata.cc',
111 'drive/search_metadata.h',
112 'drive/service/drive_api_service.cc',
113 'drive/service/drive_api_service.h',
114 'drive/service/drive_service_interface.cc',
115 'drive/service/drive_service_interface.h',
116 'drive/sync/entry_revert_performer.cc',
117 'drive/sync/entry_revert_performer.h',
118 'drive/sync/entry_update_performer.cc',
119 'drive/sync/entry_update_performer.h',
120 'drive/sync/remove_performer.cc',
121 'drive/sync/remove_performer.h',
122 'drive/sync_client.cc',
123 'drive/sync_client.h',
128 # GN version: //components/drive:proto
129 # Protobuf compiler / generator for the Drive protocol buffer.
130 'target_name': 'drive_proto',
131 'type': 'static_library',
132 'sources': [ 'drive/drive.proto' ],
134 'proto_in_dir': 'drive',
135 'proto_out_dir': 'components/drive',
137 'includes': [ '../build/protoc.gypi' ]
141 # GN version: //components/drive:test_support
142 'target_name': 'drive_test_support',
143 'type': 'static_library',
150 '../base/base.gyp:base',
151 '../content/content_shell_and_tests.gyp:test_support_content',
152 '../google_apis/google_apis.gyp:google_apis',
153 '../net/net.gyp:net',
156 "drive/drive_test_util.cc",
157 "drive/drive_test_util.h",
158 "drive/dummy_file_system.cc",
159 "drive/dummy_file_system.h",
160 "drive/fake_file_system.cc",
161 "drive/fake_file_system.h",
162 "drive/fake_free_disk_space_getter.cc",
163 "drive/fake_free_disk_space_getter.h",
164 "drive/service/dummy_drive_service.cc",
165 "drive/service/dummy_drive_service.h",
166 "drive/service/fake_drive_service.cc",
167 "drive/service/fake_drive_service.h",
168 "drive/service/test_util.cc",
169 "drive/service/test_util.h",
173 # TODO(lukasza): drive_unittests target.
174 # Currently tests are built as part of chrome/chrome_tests_unit.gypi.