7b47c74214
There are some slight differences between DDC module format and the hot reload format in terms of how libraries are imported and the app is started. Refactor code to allow the AMD, DDC, and hot reload formats to be supported. Enables the hot reload format by default in ddc-linux-canary-chrome. Change-Id: I8138f5f83771dfb9aa02fe59063fccaae6af372f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/384901 Reviewed-by: Bob Nystrom <rnystrom@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> Commit-Queue: Srujan Gaddam <srujzs@google.com>