| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/drive:drive | |
| 9 'target_name': 'drive', | |
| 10 'type': 'static_library', | |
| 11 'include_dirs': [ | |
| 12 '..', | |
| 13 ], | |
| 14 'dependencies': [ | |
| 15 'drive_proto', | |
| 16 '../base/base.gyp:base', | |
| 17 '../components/components.gyp:invalidation_public', | |
| 18 | |
| 19 # TODO(lukasza): Remove this dependency (see DEPS file for more info). | |
| 20 '../content/content.gyp:content_browser', | |
| 21 | |
| 22 '../google_apis/google_apis.gyp:google_apis', | |
| 23 '../net/net.gyp:net', | |
| 24 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n', | |
| 25 '../third_party/cacheinvalidation/cacheinvalidation.gyp:cacheinvalidatio
n_proto_cpp', | |
| 26 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | |
| 27 '../third_party/re2/re2.gyp:re2', | |
| 28 ], | |
| 29 'sources': [ | |
| 30 'drive/drive_api_util.cc', | |
| 31 'drive/drive_api_util.h', | |
| 32 'drive/drive_app_registry.cc', | |
| 33 'drive/drive_app_registry.h', | |
| 34 'drive/drive_app_registry_observer.h', | |
| 35 'drive/drive_notification_manager.cc', | |
| 36 'drive/drive_notification_manager.h', | |
| 37 'drive/drive_notification_observer.h', | |
| 38 'drive/drive_pref_names.cc', | |
| 39 'drive/drive_pref_names.h', | |
| 40 'drive/drive_uploader.cc', | |
| 41 'drive/drive_uploader.h', | |
| 42 'drive/event_logger.cc', | |
| 43 'drive/event_logger.h', | |
| 44 'drive/file_change.cc', | |
| 45 'drive/file_change.h', | |
| 46 'drive/file_errors.cc', | |
| 47 'drive/file_errors.h', | |
| 48 'drive/file_system_core_util.cc', | |
| 49 'drive/file_system_core_util.h', | |
| 50 'drive/file_system_metadata.cc', | |
| 51 'drive/file_system_metadata.h', | |
| 52 'drive/file_write_watcher.cc', | |
| 53 'drive/file_write_watcher.h', | |
| 54 'drive/job_list.cc', | |
| 55 'drive/job_list.h', | |
| 56 'drive/job_queue.cc', | |
| 57 'drive/job_queue.h', | |
| 58 'drive/job_scheduler.cc', | |
| 59 'drive/job_scheduler.h', | |
| 60 'drive/local_file_reader.cc', | |
| 61 'drive/local_file_reader.h', | |
| 62 'drive/resource_entry_conversion.cc', | |
| 63 'drive/resource_entry_conversion.h', | |
| 64 'drive/resource_metadata_storage.cc', | |
| 65 'drive/resource_metadata_storage.h', | |
| 66 'drive/service/drive_api_service.cc', | |
| 67 'drive/service/drive_api_service.h', | |
| 68 'drive/service/drive_service_interface.cc', | |
| 69 'drive/service/drive_service_interface.h', | |
| 70 ], | |
| 71 }, | |
| 72 | |
| 73 { | |
| 74 # GN version: //components/drive:proto | |
| 75 # Protobuf compiler / generator for the Drive protocol buffer. | |
| 76 'target_name': 'drive_proto', | |
| 77 'type': 'static_library', | |
| 78 'sources': [ 'drive/drive.proto' ], | |
| 79 'variables': { | |
| 80 'proto_in_dir': 'drive', | |
| 81 'proto_out_dir': 'components/drive', | |
| 82 }, | |
| 83 'includes': [ '../build/protoc.gypi' ] | |
| 84 }, | |
| 85 | |
| 86 { | |
| 87 # GN version: //components/drive:test_support | |
| 88 'target_name': 'drive_test_support', | |
| 89 'type': 'static_library', | |
| 90 'include_dirs': [ | |
| 91 '..', | |
| 92 ], | |
| 93 'dependencies': [ | |
| 94 'drive', | |
| 95 'drive_proto', | |
| 96 '../base/base.gyp:base', | |
| 97 '../content/content_shell_and_tests.gyp:test_support_content', | |
| 98 '../google_apis/google_apis.gyp:google_apis', | |
| 99 '../net/net.gyp:net', | |
| 100 ], | |
| 101 'sources': [ | |
| 102 "drive/service/dummy_drive_service.cc", | |
| 103 "drive/service/dummy_drive_service.h", | |
| 104 "drive/service/fake_drive_service.cc", | |
| 105 "drive/service/fake_drive_service.h", | |
| 106 "drive/service/test_util.cc", | |
| 107 "drive/service/test_util.h", | |
| 108 ], | |
| 109 }, | |
| 110 | |
| 111 # TODO(lukasza): drive_unittests target. | |
| 112 # Currently tests are built as part of chrome/chrome_tests_unit.gypi. | |
| 113 ], | |
| 114 | |
| 115 'conditions': [ | |
| 116 ['chromeos==1', { | |
| 117 'targets': [ | |
| 118 { | |
| 119 # GN version: //components/drive:drive_chromeos | |
| 120 'target_name': 'drive_chromeos', | |
| 121 'type': 'static_library', | |
| 122 'include_dirs': [ | |
| 123 '..', | |
| 124 ], | |
| 125 'dependencies': [ | |
| 126 'drive', | |
| 127 'drive_proto', | |
| 128 '../base/base.gyp:base', | |
| 129 '../google_apis/google_apis.gyp:google_apis', | |
| 130 '../net/net.gyp:net', | |
| 131 ], | |
| 132 'sources': [ | |
| 133 'drive/chromeos/change_list_loader.cc', | |
| 134 'drive/chromeos/change_list_loader.h', | |
| 135 'drive/chromeos/change_list_loader_observer.h', | |
| 136 'drive/chromeos/change_list_processor.cc', | |
| 137 'drive/chromeos/change_list_processor.h', | |
| 138 'drive/chromeos/directory_loader.cc', | |
| 139 'drive/chromeos/directory_loader.h', | |
| 140 'drive/chromeos/file_cache.cc', | |
| 141 'drive/chromeos/file_cache.h', | |
| 142 'drive/chromeos/file_system.cc', | |
| 143 'drive/chromeos/file_system.h', | |
| 144 'drive/chromeos/file_system/copy_operation.cc', | |
| 145 'drive/chromeos/file_system/copy_operation.h', | |
| 146 'drive/chromeos/file_system/create_directory_operation.cc', | |
| 147 'drive/chromeos/file_system/create_directory_operation.h', | |
| 148 'drive/chromeos/file_system/create_file_operation.cc', | |
| 149 'drive/chromeos/file_system/create_file_operation.h', | |
| 150 'drive/chromeos/file_system/download_operation.cc', | |
| 151 'drive/chromeos/file_system/download_operation.h', | |
| 152 'drive/chromeos/file_system/get_file_for_saving_operation.cc', | |
| 153 'drive/chromeos/file_system/get_file_for_saving_operation.h', | |
| 154 'drive/chromeos/file_system/move_operation.cc', | |
| 155 'drive/chromeos/file_system/move_operation.h', | |
| 156 'drive/chromeos/file_system/open_file_operation.cc', | |
| 157 'drive/chromeos/file_system/open_file_operation.h', | |
| 158 'drive/chromeos/file_system/operation_delegate.cc', | |
| 159 'drive/chromeos/file_system/operation_delegate.h', | |
| 160 'drive/chromeos/file_system/remove_operation.cc', | |
| 161 'drive/chromeos/file_system/remove_operation.h', | |
| 162 'drive/chromeos/file_system/search_operation.cc', | |
| 163 'drive/chromeos/file_system/search_operation.h', | |
| 164 'drive/chromeos/file_system/set_property_operation.cc', | |
| 165 'drive/chromeos/file_system/set_property_operation.h', | |
| 166 'drive/chromeos/file_system/touch_operation.cc', | |
| 167 'drive/chromeos/file_system/touch_operation.h', | |
| 168 'drive/chromeos/file_system/truncate_operation.cc', | |
| 169 'drive/chromeos/file_system/truncate_operation.h', | |
| 170 'drive/chromeos/file_system_interface.cc', | |
| 171 'drive/chromeos/file_system_interface.h', | |
| 172 'drive/chromeos/file_system_observer.h', | |
| 173 'drive/chromeos/remove_stale_cache_files.cc', | |
| 174 'drive/chromeos/remove_stale_cache_files.h', | |
| 175 'drive/chromeos/resource_metadata.cc', | |
| 176 'drive/chromeos/resource_metadata.h', | |
| 177 'drive/chromeos/search_metadata.cc', | |
| 178 'drive/chromeos/search_metadata.h', | |
| 179 'drive/chromeos/sync/entry_revert_performer.cc', | |
| 180 'drive/chromeos/sync/entry_revert_performer.h', | |
| 181 'drive/chromeos/sync/entry_update_performer.cc', | |
| 182 'drive/chromeos/sync/entry_update_performer.h', | |
| 183 'drive/chromeos/sync/remove_performer.cc', | |
| 184 'drive/chromeos/sync/remove_performer.h', | |
| 185 'drive/chromeos/sync_client.cc', | |
| 186 'drive/chromeos/sync_client.h', | |
| 187 ], | |
| 188 }, | |
| 189 | |
| 190 { | |
| 191 # GN version: //components/drive:test_support_chromeos | |
| 192 'target_name': 'drive_test_support_chromeos', | |
| 193 'type': 'static_library', | |
| 194 'include_dirs': [ | |
| 195 '..', | |
| 196 ], | |
| 197 'dependencies': [ | |
| 198 'drive', | |
| 199 'drive_chromeos', | |
| 200 'drive_proto', | |
| 201 '../base/base.gyp:base', | |
| 202 '../content/content_shell_and_tests.gyp:test_support_content', | |
| 203 ], | |
| 204 'sources': [ | |
| 205 "drive/chromeos/drive_test_util.cc", | |
| 206 "drive/chromeos/drive_test_util.h", | |
| 207 "drive/chromeos/dummy_file_system.cc", | |
| 208 "drive/chromeos/dummy_file_system.h", | |
| 209 "drive/chromeos/fake_file_system.cc", | |
| 210 "drive/chromeos/fake_file_system.h", | |
| 211 "drive/chromeos/fake_free_disk_space_getter.cc", | |
| 212 "drive/chromeos/fake_free_disk_space_getter.h", | |
| 213 ] | |
| 214 } | |
| 215 ] | |
| 216 }] | |
| 217 ] | |
| 218 } | |
| OLD | NEW |