[Mojo] Add support for HTML imports as well as AMD modules

This CL teaches the mojom generator how to package JavaScript generated from
mojom both as AMD modules as an HTML imports.

R=hansmuller@chromium.org

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

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


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