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

Unified Diff: components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi

Issue 1152583011: Refactor compile_js.gypi to support script_args and closure_args (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi
diff --git a/components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi b/components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi
new file mode 100644
index 0000000000000000000000000000000000000000..13d5b91b97ba96ccd09549aa164ee15845535b2b
--- /dev/null
+++ b/components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi
@@ -0,0 +1,36 @@
+# Copyright 2015 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.
+{
+ 'targets' :[
+ {
+ 'target_name': 'get_salient_image_url',
+ 'variables': {
+ 'extra_args' : [
+ '<@(document_image_extractor_js_files)',
+ '--no-single-file',
+ '--output_wrapper',
+ '(function(){%output% return GetSalientImageUrl();})();',
+ ]
+ },
+ 'includes': [
+ '../../../third_party/document_image_extractor/document_image_extractor_files.gypi',
+ '../../../third_party/closure_compiler/compile_js.gypi'
+ ],
+ },
+ {
+ 'target_name': 'dom_initializer',
+ 'variables': {
+ 'extra_args' : [
+ '<@(dom_controller_js_files)',
+ '--no-single-file',
+ '--output_wrapper', '(function(){%output%})();',
+ ],
+ },
+ 'includes': [
+ '../../../third_party/document_image_extractor/dom_controller_files.gypi',
+ '../../../third_party/closure_compiler/compile_js.gypi',
+ ],
+ },
+ ],
+}
« no previous file with comments | « no previous file | third_party/closure_compiler/compile_js.gypi » ('j') | third_party/closure_compiler/compile_js.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698