Chromium Code Reviews| Index: components/drive.gypi |
| diff --git a/components/drive.gypi b/components/drive.gypi |
| index 781f54617a0208b197a04af53871f70468ac12cb..c97397cb9d6b644b88ad9b487e70c36cf22e2c3b 100644 |
| --- a/components/drive.gypi |
| +++ b/components/drive.gypi |
| @@ -27,13 +27,6 @@ |
| '../third_party/re2/re2.gyp:re2', |
| ], |
| 'sources': [ |
| - 'drive/change_list_loader.cc', |
| - 'drive/change_list_loader.h', |
| - 'drive/change_list_loader_observer.h', |
| - 'drive/change_list_processor.cc', |
| - 'drive/change_list_processor.h', |
| - 'drive/directory_loader.cc', |
| - 'drive/directory_loader.h', |
| 'drive/drive_api_util.cc', |
| 'drive/drive_api_util.h', |
| 'drive/drive_app_registry.cc', |
| @@ -48,14 +41,65 @@ |
| 'drive/drive_uploader.h', |
| 'drive/event_logger.cc', |
| 'drive/event_logger.h', |
| - 'drive/file_cache.cc', |
| - 'drive/file_cache.h', |
| 'drive/file_change.cc', |
| 'drive/file_change.h', |
| 'drive/file_errors.cc', |
| 'drive/file_errors.h', |
| + 'drive/file_system_core_util.cc', |
| + 'drive/file_system_core_util.h', |
| + 'drive/file_system_metadata.cc', |
| + 'drive/file_system_metadata.h', |
| + 'drive/file_write_watcher.cc', |
| + 'drive/file_write_watcher.h', |
| + 'drive/job_list.cc', |
| + 'drive/job_list.h', |
| + 'drive/job_queue.cc', |
| + 'drive/job_queue.h', |
| + 'drive/job_scheduler.cc', |
| + 'drive/job_scheduler.h', |
| + 'drive/local_file_reader.cc', |
| + 'drive/local_file_reader.h', |
| + 'drive/resource_entry_conversion.cc', |
| + 'drive/resource_entry_conversion.h', |
| + 'drive/resource_metadata_storage.cc', |
| + 'drive/resource_metadata_storage.h', |
| + 'drive/service/drive_api_service.cc', |
| + 'drive/service/drive_api_service.h', |
| + 'drive/service/drive_service_interface.cc', |
| + 'drive/service/drive_service_interface.h', |
| + ], |
| + }, |
| + |
| + { |
| + # GN version: //components/drive:drive_chromeos |
| + 'target_name': 'drive_chromeos', |
| + 'type': 'static_library', |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'dependencies': [ |
| + 'drive', |
| + 'drive_proto', |
| + '../base/base.gyp:base', |
| + '../google_apis/google_apis.gyp:google_apis', |
| + '../net/net.gyp:net', |
| + ], |
| + # 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.
|
| + 'sources': [ |
| + 'drive/change_list_loader.cc', |
| + 'drive/change_list_loader.h', |
| + 'drive/change_list_loader_observer.h', |
| + 'drive/change_list_processor.cc', |
| + 'drive/change_list_processor.h', |
| + 'drive/directory_loader.cc', |
| + 'drive/directory_loader.h', |
| + 'drive/file_cache.cc', |
| + 'drive/file_cache.h', |
| 'drive/file_system.cc', |
| 'drive/file_system.h', |
| + 'drive/file_system_interface.cc', |
| + 'drive/file_system_interface.h', |
| + 'drive/file_system_observer.h', |
| 'drive/file_system/copy_operation.cc', |
| 'drive/file_system/copy_operation.h', |
| 'drive/file_system/create_directory_operation.cc', |
| @@ -82,45 +126,20 @@ |
| 'drive/file_system/touch_operation.h', |
| 'drive/file_system/truncate_operation.cc', |
| 'drive/file_system/truncate_operation.h', |
| - 'drive/file_system_core_util.cc', |
| - 'drive/file_system_core_util.h', |
| - 'drive/file_system_interface.cc', |
| - 'drive/file_system_interface.h', |
| - 'drive/file_system_metadata.cc', |
| - 'drive/file_system_metadata.h', |
| - 'drive/file_system_observer.h', |
| - 'drive/file_write_watcher.cc', |
| - 'drive/file_write_watcher.h', |
| - 'drive/job_list.cc', |
| - 'drive/job_list.h', |
| - 'drive/job_queue.cc', |
| - 'drive/job_queue.h', |
| - 'drive/job_scheduler.cc', |
| - 'drive/job_scheduler.h', |
| - 'drive/local_file_reader.cc', |
| - 'drive/local_file_reader.h', |
| 'drive/remove_stale_cache_files.cc', |
| 'drive/remove_stale_cache_files.h', |
| - 'drive/resource_entry_conversion.cc', |
| - 'drive/resource_entry_conversion.h', |
| 'drive/resource_metadata.cc', |
| 'drive/resource_metadata.h', |
| - 'drive/resource_metadata_storage.cc', |
| - 'drive/resource_metadata_storage.h', |
| 'drive/search_metadata.cc', |
| 'drive/search_metadata.h', |
| - 'drive/service/drive_api_service.cc', |
| - 'drive/service/drive_api_service.h', |
| - 'drive/service/drive_service_interface.cc', |
| - 'drive/service/drive_service_interface.h', |
| + 'drive/sync_client.cc', |
| + 'drive/sync_client.h', |
| 'drive/sync/entry_revert_performer.cc', |
| 'drive/sync/entry_revert_performer.h', |
| 'drive/sync/entry_update_performer.cc', |
| 'drive/sync/entry_update_performer.h', |
| 'drive/sync/remove_performer.cc', |
| 'drive/sync/remove_performer.h', |
| - 'drive/sync_client.cc', |
| - 'drive/sync_client.h', |
| ], |
| }, |
| @@ -153,14 +172,6 @@ |
| '../net/net.gyp:net', |
| ], |
| 'sources': [ |
| - "drive/drive_test_util.cc", |
| - "drive/drive_test_util.h", |
| - "drive/dummy_file_system.cc", |
| - "drive/dummy_file_system.h", |
| - "drive/fake_file_system.cc", |
| - "drive/fake_file_system.h", |
| - "drive/fake_free_disk_space_getter.cc", |
| - "drive/fake_free_disk_space_getter.h", |
| "drive/service/dummy_drive_service.cc", |
| "drive/service/dummy_drive_service.h", |
| "drive/service/fake_drive_service.cc", |
| @@ -170,6 +181,32 @@ |
| ], |
| }, |
| + { |
| + # GN version: //components/drive:test_support_chromeos |
| + 'target_name': 'drive_test_support_chromeos', |
| + 'type': 'static_library', |
| + 'include_dirs': [ |
| + '..', |
| + ], |
| + 'dependencies': [ |
| + 'drive', |
| + 'drive_chromeos', |
| + 'drive_proto', |
| + '../base/base.gyp:base', |
| + '../content/content_shell_and_tests.gyp:test_support_content', |
| + ], |
| + 'sources': [ |
| + "drive/drive_test_util.cc", |
| + "drive/drive_test_util.h", |
| + "drive/dummy_file_system.cc", |
| + "drive/dummy_file_system.h", |
| + "drive/fake_file_system.cc", |
| + "drive/fake_file_system.h", |
| + "drive/fake_free_disk_space_getter.cc", |
| + "drive/fake_free_disk_space_getter.h", |
| + ] |
| + } |
| + |
| # TODO(lukasza): drive_unittests target. |
| # Currently tests are built as part of chrome/chrome_tests_unit.gypi. |
| ], |