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

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: Added remoting/compile_js.gypi and decoupled target_name from source_files 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
« no previous file with comments | « no previous file | remoting/compile_js.gypi » ('j') | remoting/compile_js.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..f1a7e1783e523a5e3f1c7d3ad6a6f19e6b216840
--- /dev/null
+++ b/components/resources/enhanced_bookmarks/enhanced_bookmarks.gypi
@@ -0,0 +1,45 @@
+# 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' :[
Dan Beam 2015/06/01 22:57:39 'targets': [
Theresa 2015/06/02 22:02:12 Done.
+ {
+ 'target_name': 'get_salient_image_url',
+ 'variables': {
+ 'source_files': [
+ 'get_salient_image_url.js',
+ '<@(document_image_extractor_js_files)',
+ ],
+ 'script_args' : [
Dan Beam 2015/06/01 22:57:39 'script_args': [
Theresa 2015/06/02 22:02:12 Done.
+ '--no-single-file',
+ ],
+ 'closure_args' : [
Dan Beam 2015/06/01 22:57:39 'closure_args': [
Theresa 2015/06/02 22:02:12 Done.
+ '--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': {
+ 'source_files': [
+ 'dom_initializer.js',
+ '<@(dom_controller_js_files)',
+ ],
+ 'script_args' : [
+ '--no-single-file',
+ ],
+ 'closure_args' : [
+ '--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 | remoting/compile_js.gypi » ('j') | remoting/compile_js.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698