Build Mojo apps in subdirectories, like application packages.

Build all <foo>.mojo targets in a <foo> sub-directory.
Support resources bundled in mojo_native_application.
Remove mojo_application_package (now redundant).
Update hard-coded paths and simplify URL resolution code.

Remove apps bundled in core_services from Mandoline.apk
(network service, surfaces service, view manager)

This would help NetworkFetcher resolve app locations.
(Android apptests host the build dir on a local server)
(but apptests should instead bundle apps in an apk)

BUG=498020
TEST=Mojo runner and Mandoline still work (as much as they currently do :-/)
R=scottmg@chromium.org,sky@chromium.org

Review URL: https://codereview.chromium.org/1180653002

Cr-Commit-Position: refs/heads/master@{#334455}


CrOS-Libchrome-Original-Commit: e6439a2c956a2f09f40f10e8394a53437ad269ed
5 files changed
tree: a987ee66707e22207f33ab0edacf611b8706f736
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/