Chromium Code Reviews| Index: pkg/docgen/bin/upload_docgen.py |
| diff --git a/pkg/docgen/bin/upload_docgen.py b/pkg/docgen/bin/upload_docgen.py |
| index b7cdb924741401ae2830917cb908a1ba47351757..d9ab75deb7ac222cde7f364a8cb15b9c59c1e038 100644 |
| --- a/pkg/docgen/bin/upload_docgen.py |
| +++ b/pkg/docgen/bin/upload_docgen.py |
| @@ -21,6 +21,9 @@ from upload_sdk import ExecuteCommand |
| DART = abspath(join(dirname(__file__), '../../../%s/%s/dart-sdk/bin/dart' |
| % (utils.BUILD_ROOT[utils.GuessOS()], utils.GetBuildConf('release', |
| utils.GuessArchitecture())))) |
| +PACKAGE_ROOT = abspath(join(dirname(__file__), '../../../%s/%s/packages/' |
|
Emily Fortuna
2013/07/19 15:56:44
in addition to this constant, can you also allow a
janicejl
2013/07/19 22:31:31
Done.
|
| + % (utils.BUILD_ROOT[utils.GuessOS()], utils.GetBuildConf('release', |
| + utils.GuessArchitecture())))) |
| GSUTIL = utils.GetBuildbotGSUtilPath() |
| GS_SITE = 'gs://dartlang-docgen' |
| @@ -44,7 +47,8 @@ def main(): |
| SetGsutil() |
| # Execute Docgen.dart on the SDK. |
| - ExecuteCommand([DART, abspath(join(dirname(__file__), 'docgen.dart')), |
| + ExecuteCommand([DART, '--package-root=' + PACKAGE_ROOT, |
| + abspath(join(dirname(__file__), 'docgen.dart')), |
| '--parse-sdk']) |
| # Use SVN Revision to get the revision number. |