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

Unified Diff: pkg/pkg.gyp

Issue 247073003: Create targets for dart2js files, pub files, pkg files. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 8 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 | utils/compiler/compiler.gyp » ('j') | utils/compiler/compiler.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/pkg.gyp
===================================================================
--- pkg/pkg.gyp (revision 35247)
+++ pkg/pkg.gyp (working copy)
@@ -18,7 +18,7 @@
'<!@(["python", "../tools/list_pkg_directories.py", '
'"../third_party/pkg"])',
'<!@(["python", "../tools/list_pkg_directories.py", '
- '"../pkg/polymer/example/"])',
+ '"polymer/example/"])',
],
'outputs': [
'<(SHARED_INTERMEDIATE_DIR)/packages.stamp',
@@ -31,6 +31,32 @@
],
},
],
+ },
+ # Other targets depend on pkg files, but have to many inputs, which causes
Bill Hesse 2014/04/22 12:47:03 have too many inputs
+ # issues on some platforms.
+ # This target lists all the files in pkg and third_party/pkg,
+ # and creates a single pkg_files.stamp
+ {
+ 'target_name': 'pkg_files_stamp',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'make_pkg_files_stamp',
+ 'inputs': [
+ '../tools/create_timestamp_file.py',
+ '<!@(["python", "../tools/list_files.py", "", "."])',
+ '<!@(["python", "../tools/list_files.py", "",'
+ '"../third_party/pkg"])',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/pgk_files.stamp',
ricow1 2014/04/22 11:33:30 and here :-) thanks
+ ],
+ 'action': [
+ 'python', '../tools/create_timestamp_file.py',
+ '<@(_outputs)',
+ ],
+ },
+ ],
}
],
}
« no previous file with comments | « no previous file | utils/compiler/compiler.gyp » ('j') | utils/compiler/compiler.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698