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/drive_api_util.cc',
36 'drive/drive_api_util.h',
37 'drive/drive_app_registry.cc',
38 'drive/drive_app_registry.h',
39 'drive/drive_app_registry_observer.h',
40 'drive/drive_notification_manager.cc',
41 'drive/drive_notification_manager.h',
42 'drive/drive_notification_observer.h',
43 'drive/drive_pref_names.cc',
44 'drive/drive_pref_names.h',
45 'drive/drive_uploader.cc',
46 'drive/drive_uploader.h',
47 'drive/event_logger.cc',
48 'drive/event_logger.h',
49 'drive/file_cache.cc',
51 'drive/file_change.cc',
52 'drive/file_change.h',
53 'drive/file_errors.cc',
54 'drive/file_errors.h',
55 'drive/file_system/copy_operation.cc',
56 'drive/file_system/copy_operation.h',
57 'drive/file_system/create_directory_operation.cc',
58 'drive/file_system/create_directory_operation.h',
59 'drive/file_system/create_file_operation.cc',
60 'drive/file_system/create_file_operation.h',
61 'drive/file_system/download_operation.cc',
62 'drive/file_system/download_operation.h',
63 'drive/file_system/get_file_for_saving_operation.cc',
64 'drive/file_system/get_file_for_saving_operation.h',
65 'drive/file_system/move_operation.cc',
66 'drive/file_system/move_operation.h',
67 'drive/file_system/open_file_operation.cc',
68 'drive/file_system/open_file_operation.h',
69 'drive/file_system/operation_delegate.cc',
70 'drive/file_system/operation_delegate.h',
71 'drive/file_system/remove_operation.cc',
72 'drive/file_system/remove_operation.h',
73 'drive/file_system/search_operation.cc',
74 'drive/file_system/search_operation.h',
75 'drive/file_system/set_property_operation.cc',
76 'drive/file_system/set_property_operation.h',
77 'drive/file_system/touch_operation.cc',
78 'drive/file_system/touch_operation.h',
79 'drive/file_system/truncate_operation.cc',
80 'drive/file_system/truncate_operation.h',
81 'drive/file_system_core_util.cc',
82 'drive/file_system_core_util.h',
83 'drive/file_system_interface.cc',
84 'drive/file_system_interface.h',
85 'drive/file_system_metadata.cc',
86 'drive/file_system_metadata.h',
87 'drive/file_write_watcher.cc',
88 'drive/file_write_watcher.h',
93 'drive/job_scheduler.cc',
94 'drive/job_scheduler.h',
95 'drive/local_file_reader.cc',
96 'drive/local_file_reader.h',
97 'drive/resource_entry_conversion.cc',
98 'drive/resource_entry_conversion.h',
99 'drive/resource_metadata.cc',
100 'drive/resource_metadata.h',
101 'drive/resource_metadata_storage.cc',
102 'drive/resource_metadata_storage.h',
103 'drive/service/drive_api_service.cc',
104 'drive/service/drive_api_service.h',
105 'drive/service/drive_service_interface.cc',
106 'drive/service/drive_service_interface.h',
111 # GN version: //components/drive:proto
112 # Protobuf compiler / generator for the Drive protocol buffer.
113 'target_name': 'drive_proto',
114 'type': 'static_library',
115 'sources': [ 'drive/drive.proto' ],
117 'proto_in_dir': 'drive',
118 'proto_out_dir': 'components/drive',
120 'includes': [ '../build/protoc.gypi' ]
124 # GN version: //components/drive:test_support
125 'target_name': 'drive_test_support',
126 'type': 'static_library',
133 '../base/base.gyp:base',
134 '../content/content_shell_and_tests.gyp:test_support_content',
135 '../google_apis/google_apis.gyp:google_apis',
136 '../net/net.gyp:net',
139 "drive/drive_test_util.cc",
140 "drive/drive_test_util.h",
141 "drive/fake_free_disk_space_getter.cc",
142 "drive/fake_free_disk_space_getter.h",
143 "drive/service/dummy_drive_service.cc",
144 "drive/service/dummy_drive_service.h",
145 "drive/service/fake_drive_service.cc",
146 "drive/service/fake_drive_service.h",
147 "drive/service/test_util.cc",
148 "drive/service/test_util.h",
152 # TODO(lukasza): drive_unittests target.
153 # Currently tests are built as part of chrome/chrome_tests_unit.gypi.