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

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

Issue 2727353004: Compile Image Editor in gyp v2 (Closed)
Patch Set: . Created 3 years, 9 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 477b9dcf0d436e6060b8b58f47de44b8776e9e55..5d86fa7a113b2a137935f9fc139d256ef8f41581 100644
--- a/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp
+++ b/ui/file_manager/gallery/js/image_editor/compiled_resources2.gyp
@@ -1,7 +1,6 @@
# 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': [
{
@@ -33,35 +32,44 @@
],
'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_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_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_editor',
+ 'dependencies': [
+ '<(DEPTH)/ui/webui/resources/js/cr/compiled_resources2.gyp:event_target',
+ 'image_buffer',
+ 'image_editor_mode',
+ 'image_editor_toolbar',
+ 'image_resize',
+ 'image_util',
+ 'image_view',
+ 'viewport',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'image_editor_mode',
+ 'dependencies': [
+ 'commands',
+ 'image_buffer',
+ 'image_editor_toolbar',
+ 'image_view',
+ 'viewport',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
{
'target_name': 'image_editor_prompt',
'dependencies': [
@@ -70,6 +78,17 @@
'includes': ['../../../compile_js2.gypi'],
},
{
+ 'target_name': 'image_editor_toolbar',
+ 'dependencies': [
+ '../../../externs/compiled_resources2.gyp:paper_elements',
+ '../../../file_manager/common/js/compiled_resources2.gyp:util',
+ '../../../file_manager/foreground/elements/compiled_resources2.gyp:files_tooltip',
+ '../compiled_resources2.gyp:gallery_util',
+ 'image_util',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
'target_name': 'image_encoder',
'dependencies': [
'../../../file_manager/foreground/js/metadata/compiled_resources2.gyp:metadata_item',
@@ -91,16 +110,26 @@
],
'includes': ['../../../compile_js2.gypi'],
},
-# {
-# 'target_name': 'image_transform',
-# 'dependencies': [
-# 'commands',
-# 'viewport',
-# 'image_buffer',
-# 'image_util',
-# ],
-# 'includes': ['../../../compile_js2.gypi'],
-# },
+ {
+ 'target_name': 'image_resize',
+ 'dependencies': [
+ '../../../file_manager/foreground/js/ui/compiled_resources2.gyp:files_alert_dialog',
+ 'image_editor_mode',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
+ {
+ 'target_name': 'image_transform',
+ 'dependencies': [
+ 'commands',
+ 'image_buffer',
+ 'image_editor_mode',
+ 'image_editor_toolbar',
+ 'image_util',
+ 'viewport',
+ ],
+ 'includes': ['../../../compile_js2.gypi'],
+ },
{
'target_name': 'image_util',
'dependencies': [
« no previous file with comments | « ui/file_manager/gallery/js/gallery_scripts.js ('k') | ui/file_manager/gallery/js/image_editor/image_adjust.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698