Add experimental generateAppForLink support.

https://codereview.chromium.org/266353006/