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