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

Unified Diff: services/dart/dart_app.cc

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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 | « mojo/public/tools/dart_pkg.py ('k') | services/dart/dart_apptests/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/dart/dart_app.cc
diff --git a/services/dart/dart_app.cc b/services/dart/dart_app.cc
index 02b66bd1b447b961628fa5b95871e0113de0ac1d..a2ae23f49c48dd7e5ea47c77a3031aa7390b9265 100644
--- a/services/dart/dart_app.cc
+++ b/services/dart/dart_app.cc
@@ -29,9 +29,11 @@ DartApp::DartApp(mojo::InterfaceRequest<Application> application_request,
CHECK(unpacked_app_directory_.CreateUniqueTempDir());
ExtractApplication(response.Pass());
- base::FilePath package_root = unpacked_app_directory_.path();
+ base::FilePath package_root =
+ unpacked_app_directory_.path().AppendASCII("packages");
- base::FilePath entry_path = package_root.Append("main.dart");
+ base::FilePath entry_path =
+ unpacked_app_directory_.path().Append("main.dart");
std::string source;
if (!base::ReadFileToString(entry_path, &source)) {
NOTREACHED();
« no previous file with comments | « mojo/public/tools/dart_pkg.py ('k') | services/dart/dart_apptests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698