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

Unified Diff: ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp

Issue 2678723002: Compile several targets in Gallery in gyp v2. (Closed)
Patch Set: Rebased. Created 3 years, 10 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/gallery/js/image_editor/compiled_resources2.gyp
diff --git a/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp b/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp
index 255bb3dc1c941e970bc52789f04209ecf95d9ac2..d681fa175c1dd9b7539eeeb00faf8d3007f77f6d 100644
--- a/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp
+++ b/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp
@@ -1,55 +1,122 @@
# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# TODO(oka): Compile all the targets.
{
'targets': [
# {
# 'target_name': 'commands',
+# 'dependencies': [
+# 'image_util',
+# '../../../file_manager/foreground/elements/compiled_resources2.gyp:files_toast',
+# 'image_editor',
+# ],
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'exif_encoder',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'filter',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'exif_encoder',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:exif_entry',
+ '../../../file_manager/foreground/js/metadata/compiled_resources2.gyp:exif_constants',
+ '../../../file_manager/foreground/js/metadata/compiled_resources2.gyp:metadata_item',
+ 'image_encoder',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'filter',
+ 'dependencies': [
+ 'image_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'image_adjust',
+# 'dependencies': [
+# '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:assert',
+# 'commands',
+# 'image_editor',
+# ],
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'image_buffer',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'image_buffer',
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'image_editor',
+# 'dependencies': [
+# 'viewport',
+# 'image_view',
+# 'commands',
+# '../../../file_manager/common/js/compiled_resources2.gyp:util',
+# 'image_buffer',
+# 'image_util',
+# '<(DEPTH)/ui/webui/resources/js/cr/compiled_resources2.gyp:event_target',
+# '../../../file_manager/foreground/elements/compiled_resources2.gyp:files_tooltip',
+# '../../../file_manager/common/js/compiled_resources2.gyp:util',
+# '../compiled_resources2.gyp:gallery_util',
+# ],
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'image_encoder',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'image_encoder',
+ 'dependencies': [
+ '../../../file_manager/foreground/js/metadata/compiled_resources2.gyp:metadata_item',
+ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:assert',
+ 'image_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'image_loader',
+ 'dependencies': [
+ '../../../file_manager/common/js/compiled_resources2.gyp:file_type',
+ '../../../file_manager/common/js/compiled_resources2.gyp:metrics_base',
+ '../../../file_manager/common/js/compiled_resources2.gyp:util',
+ '../../../file_manager/foreground/js/metadata/compiled_resources2.gyp:metadata_model',
+ '../../../image_loader/compiled_resources2.gyp:image_loader_client',
+ '../compiled_resources2.gyp:gallery_item',
+ 'image_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'image_transform',
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'image_util',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
-# {
-# 'target_name': 'image_view',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'image_util',
+ 'dependencies': [
+ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:assert',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'image_view',
+ 'dependencies': [
+ '../../../file_manager/common/js/compiled_resources2.gyp:metrics',
+ '../../../file_manager/foreground/js/compiled_resources2.gyp:thumbnail_loader',
+ '../compiled_resources2.gyp:gallery_item',
+ '<(DEPTH)/ui/webui/resources/js/compiled_resources2.gyp:assert',
+ 'image_buffer',
+ 'image_loader',
+ 'image_util',
+ 'viewport',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
# {
# 'target_name': 'test_util',
# 'includes': ['../../../compile_js2.gypi'],
# },
-# {
-# 'target_name': 'viewport',
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'viewport',
+ 'dependencies': [
+ '<(DEPTH)/ui/webui/resources/js/cr/compiled_resources2.gyp:event_target',
+ 'image_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
],
}
« no previous file with comments | « ui/file_manager/gallery/js/gallery_scripts.js ('k') | ui/file_manager/gallery/js/image_editor/image_editor.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698