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

Unified Diff: tools/create_sdk.py

Issue 10919260: Reorganize dartdoc to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « pkg/dartdoc/utils.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
diff --git a/tools/create_sdk.py b/tools/create_sdk.py
index bd728d71937542f0d3e5d3005aa995cc2b9bfc76..de4b740f9782243a914a99b176987c65f811f1b5 100755
--- a/tools/create_sdk.py
+++ b/tools/create_sdk.py
@@ -103,7 +103,7 @@ def CopyShellScript(src_file, dest_dir):
def CopyDart2Js(build_dir, sdk_root, revision):
if revision:
- ReplaceInFiles([os.path.join(sdk_root, 'pkg', 'compiler',
+ ReplaceInFiles([os.path.join(sdk_root, 'pkg', 'compiler',
'implementation', 'compiler.dart')],
[(r"BUILD_ID = 'build number could not be determined'",
r"BUILD_ID = '%s'" % revision)])
@@ -237,7 +237,7 @@ def Main(argv):
# Create and populate pkg/{args, intl, logging, meta, unittest}
#
- for library in ['args', 'htmlescape', 'dartdoc', 'intl', 'logging',
+ for library in ['args', 'htmlescape', 'dartdoc', 'intl', 'logging',
'meta', 'unittest']:
copytree(join(HOME, 'pkg', library), join(PKG, library),
ignore=ignore_patterns('*.svn', 'doc', 'docs',
@@ -257,20 +257,20 @@ def Main(argv):
# Fixup dartdoc
ReplaceInFiles([
- join(PKG, 'dartdoc', 'dartdoc.dart'),
+ join(PKG, 'dartdoc', 'bin', 'dartdoc.dart'),
], [
- ("final bool IN_SDK = false;",
- "final bool IN_SDK = true;"),
- ])
+ ("final bool _IN_SDK = false;",
+ "final bool _IN_SDK = true;"),
+ ])
# TODO(dgrove): Remove this once issue 4788 is addressed.
ReplaceInFiles([
- join(PKG, 'dartdoc', 'mirrors', 'dart2js_mirror.dart'),
- join(PKG, 'dartdoc', 'mirrors', 'mirrors_util.dart'),
- join(PKG, 'dartdoc', 'classify.dart'),
- join(PKG, 'dartdoc', 'client-live-nav.dart'),
- join(PKG, 'dartdoc', 'client-static.dart'),
- join(PKG, 'dartdoc', 'dartdoc.dart'),
+ join(PKG, 'dartdoc', 'lib', 'src', 'mirrors', 'dart2js_mirror.dart'),
+ join(PKG, 'dartdoc', 'lib', 'mirrors_util.dart'),
+ join(PKG, 'dartdoc', 'lib', 'classify.dart'),
+ join(PKG, 'dartdoc', 'lib', 'src', 'client', 'client-live-nav.dart'),
+ join(PKG, 'dartdoc', 'lib', 'src', 'client', 'client-static.dart'),
+ join(PKG, 'dartdoc', 'lib', 'dartdoc.dart'),
], [
("../../lib/compiler",
"../../pkg/compiler"),
« no previous file with comments | « pkg/dartdoc/utils.dart ('k') | utils/apidoc/apidoc.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698