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', |
+ ], |
+ }, |
+ ], |
+ } |
], |
} |