Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'variables': { | |
| 7 'conditions': [ | |
| 8 ['inside_chromium_build==0', { | |
| 9 'webkit_src_dir': '../../../../..', | |
| 10 },{ | |
| 11 'webkit_src_dir': '../../third_party/WebKit', | |
| 12 }], | |
| 13 ], | |
| 14 }, | |
| 6 'targets': [ | 15 'targets': [ |
| 7 { | 16 { |
| 8 'target_name': 'fileapi', | 17 'target_name': 'webkit_storage', |
| 9 'type': '<(component)', | 18 'type': '<(component)', |
| 10 'variables': { 'enable_wexit_time_destructors': 1, }, | 19 'variables': { 'enable_wexit_time_destructors': 1, }, |
| 11 'dependencies': [ | 20 'dependencies': [ |
| 12 '<(DEPTH)/base/base.gyp:base', | 21 '<(DEPTH)/base/base.gyp:base', |
| 22 '<(DEPTH)/base/base.gyp:base_i18n', | |
| 23 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d ynamic_annotations', | |
| 13 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', | 24 '<(DEPTH)/build/temp_gyp/googleurl.gyp:googleurl', |
| 14 '<(DEPTH)/net/net.gyp:net', | 25 '<(DEPTH)/net/net.gyp:net', |
| 15 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', | 26 '<(DEPTH)/third_party/leveldatabase/leveldatabase.gyp:leveldatabase', |
| 16 '<(DEPTH)/webkit/support/webkit_support.gyp:blob', | |
| 17 '<(DEPTH)/webkit/support/webkit_support.gyp:quota', | 27 '<(DEPTH)/webkit/support/webkit_support.gyp:quota', |
| 28 '<(DEPTH)/webkit/support/webkit_support.gyp:webkit_base', | |
| 18 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', | 29 '<(webkit_src_dir)/Source/WebKit/chromium/WebKit.gyp:webkit', |
| 19 ], | 30 ], |
| 20 'defines': ['FILEAPI_IMPLEMENTATION'], | 31 'defines': ['WEBKIT_STORAGE_IMPLEMENTATION'], |
| 21 'sources': [ | 32 'sources': [ |
| 22 'file_observers.h', | 33 # TODO(hashimoto): Import all storage related modules. crbug.com/155242 |
| 23 'file_stream_writer.h', | 34 '../blob/blob_data.cc', |
|
tony
2012/10/17 16:58:10
Would it be possible to keep a gypi file in each s
hashimoto
2012/10/18 05:16:06
Done.
| |
| 24 'file_system_callback_dispatcher.cc', | 35 '../blob/blob_data.h', |
| 25 'file_system_callback_dispatcher.h', | 36 '../blob/blob_storage_controller.cc', |
| 26 'file_system_context.cc', | 37 '../blob/blob_storage_controller.h', |
| 27 'file_system_context.h', | 38 '../blob/blob_url_request_job.cc', |
| 28 'file_system_dir_url_request_job.cc', | 39 '../blob/blob_url_request_job.h', |
| 29 'file_system_dir_url_request_job.h', | 40 '../blob/blob_url_request_job_factory.cc', |
| 30 'file_system_directory_database.cc', | 41 '../blob/blob_url_request_job_factory.h', |
| 31 'file_system_directory_database.h', | 42 '../blob/local_file_stream_reader.cc', |
| 32 'file_system_file_stream_reader.cc', | 43 '../blob/local_file_stream_reader.h', |
| 33 'file_system_file_stream_reader.h', | 44 '../blob/shareable_file_reference.cc', |
| 34 'file_system_file_util.cc', | 45 '../blob/shareable_file_reference.h', |
| 35 'file_system_file_util.h', | 46 '../blob/view_blob_internals_job.cc', |
| 36 'file_system_file_util_proxy.cc', | 47 '../blob/view_blob_internals_job.h', |
| 37 'file_system_file_util_proxy.h', | 48 '../fileapi/file_observers.h', |
| 38 'file_system_mount_point_provider.h', | 49 '../fileapi/file_stream_writer.h', |
| 39 'file_system_operation.h', | 50 '../fileapi/file_system_callback_dispatcher.cc', |
| 40 'file_system_operation_context.cc', | 51 '../fileapi/file_system_callback_dispatcher.h', |
| 41 'file_system_operation_context.h', | 52 '../fileapi/file_system_context.cc', |
| 42 'file_system_options.cc', | 53 '../fileapi/file_system_context.h', |
| 43 'file_system_options.h', | 54 '../fileapi/file_system_dir_url_request_job.cc', |
| 44 'file_system_origin_database.cc', | 55 '../fileapi/file_system_dir_url_request_job.h', |
| 45 'file_system_origin_database.h', | 56 '../fileapi/file_system_directory_database.cc', |
| 46 'file_system_quota_client.cc', | 57 '../fileapi/file_system_directory_database.h', |
| 47 'file_system_quota_client.h', | 58 '../fileapi/file_system_file_stream_reader.cc', |
| 48 'file_system_quota_util.h', | 59 '../fileapi/file_system_file_stream_reader.h', |
| 49 'file_system_task_runners.cc', | 60 '../fileapi/file_system_file_util.cc', |
| 50 'file_system_task_runners.h', | 61 '../fileapi/file_system_file_util.h', |
| 51 'file_system_types.h', | 62 '../fileapi/file_system_file_util_proxy.cc', |
| 52 'file_system_url.cc', | 63 '../fileapi/file_system_file_util_proxy.h', |
| 53 'file_system_url.h', | 64 '../fileapi/file_system_mount_point_provider.h', |
| 54 'file_system_url_request_job.cc', | 65 '../fileapi/file_system_operation.h', |
| 55 'file_system_url_request_job.h', | 66 '../fileapi/file_system_operation_context.cc', |
| 56 'file_system_url_request_job_factory.cc', | 67 '../fileapi/file_system_operation_context.h', |
| 57 'file_system_url_request_job_factory.h', | 68 '../fileapi/file_system_options.cc', |
| 58 'file_system_usage_cache.cc', | 69 '../fileapi/file_system_options.h', |
| 59 'file_system_usage_cache.h', | 70 '../fileapi/file_system_origin_database.cc', |
| 60 'file_system_util.cc', | 71 '../fileapi/file_system_origin_database.h', |
| 61 'file_system_util.h', | 72 '../fileapi/file_system_quota_client.cc', |
| 62 'file_util_helper.cc', | 73 '../fileapi/file_system_quota_client.h', |
| 63 'file_util_helper.h', | 74 '../fileapi/file_system_quota_util.h', |
| 64 'file_writer_delegate.cc', | 75 '../fileapi/file_system_task_runners.cc', |
| 65 'file_writer_delegate.h', | 76 '../fileapi/file_system_task_runners.h', |
| 66 'isolated_context.cc', | 77 '../fileapi/file_system_types.h', |
| 67 'isolated_context.h', | 78 '../fileapi/file_system_url.cc', |
| 68 'isolated_file_util.cc', | 79 '../fileapi/file_system_url.h', |
| 69 'isolated_file_util.h', | 80 '../fileapi/file_system_url_request_job.cc', |
| 70 'isolated_mount_point_provider.cc', | 81 '../fileapi/file_system_url_request_job.h', |
| 71 'isolated_mount_point_provider.h', | 82 '../fileapi/file_system_url_request_job_factory.cc', |
| 72 'local_file_util.cc', | 83 '../fileapi/file_system_url_request_job_factory.h', |
| 73 'local_file_util.h', | 84 '../fileapi/file_system_usage_cache.cc', |
| 74 'local_file_stream_writer.cc', | 85 '../fileapi/file_system_usage_cache.h', |
| 75 'local_file_stream_writer.h', | 86 '../fileapi/file_system_util.cc', |
| 76 'local_file_system_operation.cc', | 87 '../fileapi/file_system_util.h', |
| 77 'local_file_system_operation.h', | 88 '../fileapi/file_util_helper.cc', |
| 78 'media/filtering_file_enumerator.cc', | 89 '../fileapi/file_util_helper.h', |
| 79 'media/filtering_file_enumerator.h', | 90 '../fileapi/file_writer_delegate.cc', |
| 80 'media/media_path_filter.cc', | 91 '../fileapi/file_writer_delegate.h', |
| 81 'media/media_path_filter.h', | 92 '../fileapi/isolated_context.cc', |
| 82 'media/mtp_device_file_system_config.h', | 93 '../fileapi/isolated_context.h', |
| 83 'media/native_media_file_util.cc', | 94 '../fileapi/isolated_file_util.cc', |
| 84 'media/native_media_file_util.h', | 95 '../fileapi/isolated_file_util.h', |
| 85 'native_file_util.cc', | 96 '../fileapi/isolated_mount_point_provider.cc', |
| 86 'native_file_util.h', | 97 '../fileapi/isolated_mount_point_provider.h', |
| 87 'obfuscated_file_util.cc', | 98 '../fileapi/local_file_util.cc', |
| 88 'obfuscated_file_util.h', | 99 '../fileapi/local_file_util.h', |
| 89 'sandbox_file_stream_writer.cc', | 100 '../fileapi/local_file_stream_writer.cc', |
| 90 'sandbox_file_stream_writer.h', | 101 '../fileapi/local_file_stream_writer.h', |
| 91 'sandbox_mount_point_provider.cc', | 102 '../fileapi/local_file_system_operation.cc', |
| 92 'sandbox_mount_point_provider.h', | 103 '../fileapi/local_file_system_operation.h', |
| 93 'sandbox_quota_observer.cc', | 104 '../fileapi/media/filtering_file_enumerator.cc', |
| 94 'sandbox_quota_observer.h', | 105 '../fileapi/media/filtering_file_enumerator.h', |
| 95 'syncable/file_change.cc', | 106 '../fileapi/media/media_path_filter.cc', |
| 96 'syncable/file_change.h', | 107 '../fileapi/media/media_path_filter.h', |
| 97 'syncable/local_file_change_tracker.cc', | 108 '../fileapi/media/mtp_device_file_system_config.h', |
| 98 'syncable/local_file_change_tracker.h', | 109 '../fileapi/media/native_media_file_util.cc', |
| 99 'syncable/local_file_sync_context.cc', | 110 '../fileapi/media/native_media_file_util.h', |
| 100 'syncable/local_file_sync_context.h', | 111 '../fileapi/native_file_util.cc', |
| 101 'syncable/local_file_sync_status.cc', | 112 '../fileapi/native_file_util.h', |
| 102 'syncable/local_file_sync_status.h', | 113 '../fileapi/obfuscated_file_util.cc', |
| 103 'syncable/sync_status_code.cc', | 114 '../fileapi/obfuscated_file_util.h', |
| 104 'syncable/sync_status_code.h', | 115 '../fileapi/sandbox_file_stream_writer.cc', |
| 105 'syncable/syncable_file_system_util.cc', | 116 '../fileapi/sandbox_file_stream_writer.h', |
| 106 'syncable/syncable_file_system_util.h', | 117 '../fileapi/sandbox_mount_point_provider.cc', |
| 107 'task_runner_bound_observer_list.h', | 118 '../fileapi/sandbox_mount_point_provider.h', |
| 108 'test_mount_point_provider.cc', | 119 '../fileapi/sandbox_quota_observer.cc', |
| 109 'test_mount_point_provider.h', | 120 '../fileapi/sandbox_quota_observer.h', |
| 110 'webfilewriter_base.cc', | 121 '../fileapi/syncable/file_change.cc', |
| 111 'webfilewriter_base.h', | 122 '../fileapi/syncable/file_change.h', |
| 123 '../fileapi/syncable/local_file_change_tracker.cc', | |
| 124 '../fileapi/syncable/local_file_change_tracker.h', | |
| 125 '../fileapi/syncable/local_file_sync_context.cc', | |
| 126 '../fileapi/syncable/local_file_sync_context.h', | |
| 127 '../fileapi/syncable/local_file_sync_status.cc', | |
| 128 '../fileapi/syncable/local_file_sync_status.h', | |
| 129 '../fileapi/syncable/sync_status_code.cc', | |
| 130 '../fileapi/syncable/sync_status_code.h', | |
| 131 '../fileapi/syncable/syncable_file_system_util.cc', | |
| 132 '../fileapi/syncable/syncable_file_system_util.h', | |
| 133 '../fileapi/task_runner_bound_observer_list.h', | |
| 134 '../fileapi/test_mount_point_provider.cc', | |
| 135 '../fileapi/test_mount_point_provider.h', | |
| 136 '../fileapi/webfilewriter_base.cc', | |
| 137 '../fileapi/webfilewriter_base.h', | |
| 138 '../storage/webkit_storage_export.h', | |
| 112 ], | 139 ], |
| 113 'conditions': [ | 140 'conditions': [ |
| 114 ['inside_chromium_build==0', { | 141 ['inside_chromium_build==0', { |
| 115 'dependencies': [ | 142 'dependencies': [ |
| 116 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', | 143 '<(DEPTH)/webkit/support/setup_third_party.gyp:third_party_headers', |
| 117 ], | 144 ], |
| 118 }], | 145 }], |
| 119 ['chromeos==1', { | 146 ['chromeos==1', { |
| 120 'sources': [ | 147 'sources': [ |
| 121 '../chromeos/fileapi/async_file_stream.h', | 148 '../chromeos/fileapi/async_file_stream.h', |
| 122 '../chromeos/fileapi/cros_mount_point_provider.cc', | 149 '../chromeos/fileapi/cros_mount_point_provider.cc', |
| 123 '../chromeos/fileapi/cros_mount_point_provider.h', | 150 '../chromeos/fileapi/cros_mount_point_provider.h', |
| 124 '../chromeos/fileapi/file_access_permissions.cc', | 151 '../chromeos/fileapi/file_access_permissions.cc', |
| 125 '../chromeos/fileapi/file_access_permissions.h', | 152 '../chromeos/fileapi/file_access_permissions.h', |
| 126 '../chromeos/fileapi/file_util_async.h', | 153 '../chromeos/fileapi/file_util_async.h', |
| 127 '../chromeos/fileapi/remote_file_system_operation.cc', | 154 '../chromeos/fileapi/remote_file_system_operation.cc', |
| 128 '../chromeos/fileapi/remote_file_system_operation.h', | 155 '../chromeos/fileapi/remote_file_system_operation.h', |
| 129 '../chromeos/fileapi/remote_file_system_proxy.h', | 156 '../chromeos/fileapi/remote_file_system_proxy.h', |
| 130 '../chromeos/fileapi/remote_file_stream_writer.cc', | 157 '../chromeos/fileapi/remote_file_stream_writer.cc', |
| 131 '../chromeos/fileapi/remote_file_stream_writer.h', | 158 '../chromeos/fileapi/remote_file_stream_writer.h', |
| 132 ], | 159 ], |
| 133 }], | 160 }], |
| 134 ['OS=="linux" or chromeos==1', { | 161 ['OS=="linux" or chromeos==1', { |
| 135 'sources': [ | 162 'sources': [ |
| 136 'media/device_media_file_util.cc', | 163 '../fileapi/media/device_media_file_util.cc', |
| 137 'media/device_media_file_util.h', | 164 '../fileapi/media/device_media_file_util.h', |
| 138 'media/mtp_device_delegate.h', | 165 '../fileapi/media/mtp_device_delegate.h', |
| 139 'media/mtp_device_map_service.cc', | 166 '../fileapi/media/mtp_device_map_service.cc', |
| 140 'media/mtp_device_map_service.h', | 167 '../fileapi/media/mtp_device_map_service.h', |
| 141 ], | 168 ], |
| 142 }], | 169 }], |
| 143 ], | 170 ], |
| 144 }, | 171 }, |
| 145 ], | 172 ], |
| 146 } | 173 } |
| OLD | NEW |