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

Unified Diff: tools/create_sdk.py

Issue 10917051: Deal with mock compilation in dart2js, which was working in the SDK (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
===================================================================
--- tools/create_sdk.py (revision 11736)
+++ tools/create_sdk.py (working copy)
@@ -226,6 +226,11 @@
copytree(join(HOME, 'lib', library), join(LIB, library),
ignore=ignore_patterns('*.svn', 'doc', '*.py', '*.gypi', '*.sh'))
+ # TODO(dgrove): fix this really ugly hack
+ ReplaceInFiles(
+ [join(LIB, 'compiler', 'implementation', 'lib', 'io.dart')],
+ [('../../../runtime/bin', '../io/runtime')])
+
# Create and copy pkg.
PKG = join(SDK_tmp, 'pkg')
os.makedirs(PKG)
@@ -239,6 +244,7 @@
ignore=ignore_patterns('*.svn', 'doc', 'docs',
'*.py', '*.gypi', '*.sh'))
Emily Fortuna 2012/08/31 23:45:24 unnecessary newline?
+
# Fixup dartdoc
ReplaceInFiles([
join(PKG, 'dartdoc', 'dartdoc.dart'),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698