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

Unified Diff: sdk/bin/docgen.bat

Issue 116043013: Add a snapshot for docgen and use it in the build (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Everything except the strictly snapshot-related pulled out to a different CL Created 6 years, 11 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 | « sdk/bin/docgen ('k') | tools/create_sdk.py » ('j') | tools/create_sdk.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/bin/docgen.bat
diff --git a/sdk/bin/dartdoc.bat b/sdk/bin/docgen.bat
similarity index 85%
copy from sdk/bin/dartdoc.bat
copy to sdk/bin/docgen.bat
index c80ef9540a12138d9ebabb3a1ea037f4167652b9..89d325415b61317bd60eca22792929a45b1d6766 100644
--- a/sdk/bin/dartdoc.bat
+++ b/sdk/bin/docgen.bat
@@ -1,5 +1,5 @@
@echo off
-REM Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+REM Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
REM for details. All rights reserved. Use of this source code is governed by a
REM BSD-style license that can be found in the LICENSE file.
@@ -17,7 +17,7 @@ for %%i in ("%BIN_DIR%\..\") do set SDK_DIR=%%~fi
rem Remove trailing backslash if there is one
IF %SDK_DIR:~-1%==\ set SDK_DIR=%SDK_DIR:~0,-1%
-set DARTDOC=%SDK_DIR%\lib\_internal\dartdoc\bin\dartdoc.dart
+set DOCGEN=%SDK_DIR%\pkg\docgen\bin\docgen.dart
set DART=%BIN_DIR%\dart
set SNAPSHOT=%BIN_DIR%\snapshots\utils_wrapper.dart.snapshot
@@ -27,9 +27,7 @@ set BUILD_DIR=%SDK_DIR%\..\build\%DART_CONFIGURATION%
if exist "%SNAPSHOT%" (
"%DART%" "%SNAPSHOT%" "dartdoc" "--library-root=%SDK_DIR%" %*
) else (
- :: The trailing forward slash in --package-root is required because of issue
- :: 9499.
- "%BUILD_DIR%\dart-sdk\bin\dart" "--package-root=%BUILD_DIR%\packages/" "%DARTDOC%" %*
+ "%BUILD_DIR%\dart-sdk\bin\dart" "--package-root=%BUILD_DIR%\packages" "%DOCGEN%" %*
)
endlocal
« no previous file with comments | « sdk/bin/docgen ('k') | tools/create_sdk.py » ('j') | tools/create_sdk.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698