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

Unified Diff: pkg/pkg.gyp

Issue 397773002: Create a separate packages directory for running pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 5 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 | sdk/bin/pub » ('j') | utils/pub/pub.gyp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/pkg.gyp
diff --git a/pkg/pkg.gyp b/pkg/pkg.gyp
index 6fb7f61c0d55c116c39253412877e3a40858fbf0..d78c4bc879cf2ca8c6982c98eb3cdf11820847f1 100644
--- a/pkg/pkg.gyp
+++ b/pkg/pkg.gyp
@@ -35,5 +35,54 @@
},
],
},
+ {
+ 'target_name': 'pub_packages',
+ 'type': 'none',
+ 'actions': [
+ {
+ 'action_name': 'remove_html_imports',
+ 'inputs': [
+ '../tools/remove_html_imports.py',
+ '<!@(["python", "../tools/list_files.py", "\\.dart$", "http/lib"])',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/remove_html_imports/http/lib/http.dart',
+ ],
+ 'action': [
+ 'python', '../tools/remove_html_imports.py',
+ 'http/lib',
+ '<(SHARED_INTERMEDIATE_DIR)/remove_html_imports/http/lib',
+ ],
+ },
+ {
+ 'action_name': 'make_pub_packages',
+ 'inputs': [
+ '../tools/make_links.py',
+ '<!@(["python", "../tools/list_pkg_directories.py", '
+ '"--exclude=http", "."])',
+ '<!@(["python", "../tools/list_pkg_directories.py", '
+ '"third_party"])',
+ '<!@(["python", "../tools/list_pkg_directories.py", '
+ '"../third_party/pkg"])',
+ '<!@(["python", "../tools/list_pkg_directories.py", '
+ '"polymer/e2e_test/"])',
+ '../sdk/lib/_internal/compiler',
+ '../sdk/lib/_internal/libraries.dart',
+ '../site/try',
ahe 2014/08/06 14:19:57 Why is this depending on Try Dart?
nweiz 2014/08/06 19:32:10 Other than the http stuff, it's a straight copy of
ricow1 2014/08/07 07:56:39 site/try is an input in pkg_packages to get a syml
+ '<(SHARED_INTERMEDIATE_DIR)/remove_html_imports/http/lib/http.dart',
+ ],
+ 'outputs': [
+ '<(SHARED_INTERMEDIATE_DIR)/pub_packages.stamp',
+ ],
+ 'action': [
+ 'python', '../tools/make_links.py',
+ '--timestamp_file=<(SHARED_INTERMEDIATE_DIR)/pub_packages.stamp',
+ '<(PRODUCT_DIR)/pub_packages',
+ '<@(_inputs)',
+ '<(SHARED_INTERMEDIATE_DIR)/remove_html_imports/http/lib',
+ ],
+ },
+ ],
+ }
],
}
« no previous file with comments | « no previous file | sdk/bin/pub » ('j') | utils/pub/pub.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698