Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Unified Diff: ui/file_manager/file_manager/background/js/compiled_resources2.gyp

Issue 2640243002: Compile most of file_manager/background scripts in v2. (Closed)
Patch Set: sort. Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/file_manager/file_manager/background/js/compiled_resources2.gyp
diff --git a/ui/file_manager/file_manager/background/js/compiled_resources2.gyp b/ui/file_manager/file_manager/background/js/compiled_resources2.gyp
index 10dea422c567d8c849580ff52a23ac2a0de5ad2c..da056c2ca7f83f11bd0c1299751c70892992eab7 100644
--- a/ui/file_manager/file_manager/background/js/compiled_resources2.gyp
+++ b/ui/file_manager/file_manager/background/js/compiled_resources2.gyp
@@ -15,18 +15,41 @@
# 'target_name': 'background_base',
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'device_handler',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'drive_sync_handler',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'duplicate_finder',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'device_handler',
+ 'dependencies': [
+ '../../common/js/compiled_resources2.gyp:async_util',
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:cr',
+ '<(DEPTH)/ui/webui/resources/js/cr/compiled_resources2.gyp:event_target',
+ '<(EXTERNS_GYP):chrome_extensions',
+ '<(EXTERNS_GYP):file_manager_private',
+ 'volume_manager_factory',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'drive_sync_handler',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:connection',
+ 'progress_center',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'duplicate_finder',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:volume_manager',
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ '../../common/js/compiled_resources2.gyp:lru_cache',
+ '../../common/js/compiled_resources2.gyp:metrics',
+ '<(DEPTH)/third_party/analytics/compiled_resources2.gyp:externs',
+ '<(EXTERNS_GYP):file_manager_private',
+ 'import_history',
+ 'volume_manager_factory',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
{
'target_name': 'entry_location_impl',
'dependencies': [
@@ -35,34 +58,70 @@
],
'includes': ['../../../compile_js2.gypi'],
},
-# {
-# 'target_name': 'file_operation_handler',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'file_operation_manager',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'file_operation_util',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'import_history',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'file_operation_handler',
+ 'dependencies': [
+ '../../common/js/compiled_resources2.gyp:progress_center_common',
+ 'file_operation_manager',
+ 'progress_center',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'file_operation_manager',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:volume_manager',
+ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:cr',
+ 'file_operation_util',
+ 'volume_manager_factory',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'file_operation_util',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:file_operation_progress_event',
+ '../../common/js/compiled_resources2.gyp:async_util',
+ '../../common/js/compiled_resources2.gyp:util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'import_history',
+ 'dependencies': [
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ '../../common/js/compiled_resources2.gyp:metrics',
+ '../../common/js/compiled_resources2.gyp:metrics_events',
+ '../../common/js/compiled_resources2.gyp:util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'launcher_search',
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'media_import_handler',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'media_scanner',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'media_import_handler',
+ 'dependencies': [
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ '../../common/js/compiled_resources2.gyp:metrics',
+ 'import_history',
+ 'media_scanner',
+ 'progress_center',
+ 'task_queue',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'media_scanner',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:platform',
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ '<(EXTERNS_GYP):file_manager_private',
+ 'file_operation_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'mock_background',
# 'includes': ['../../../compile_js2.gypi'],
@@ -83,14 +142,25 @@
# 'target_name': 'mock_volume_manager',
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'progress_center',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'task_queue',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'progress_center',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:progress_center_panel',
+ '../../common/js/compiled_resources2.gyp:async_util',
+ '../../common/js/compiled_resources2.gyp:progress_center_common',
+ '../../common/js/compiled_resources2.gyp:util',
+ '<(EXTERNS_GYP):chrome_extensions',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'task_queue',
+ 'dependencies': [
+ '../../common/js/compiled_resources2.gyp:importer_common',
+ 'duplicate_finder',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'test_duplicate_finder',
# 'includes': ['../../../compile_js2.gypi'],
@@ -134,9 +204,9 @@
'dependencies': [
'../../../externs/compiled_resources2.gyp:volume_manager',
'../../common/js/compiled_resources2.gyp:async_util',
+ 'entry_location_impl',
'volume_info_list_impl',
'volume_manager_util',
- 'entry_location_impl',
],
'includes': ['../../../compile_js2.gypi'],
},

Powered by Google App Engine
This is Rietveld 408576698