As we work to add AMP support to the WordPress ecosystem it is not feasible for the AMP plugin itself to support all of the plugins. Instead, the plugins themselves should be supporting AMP. So the current Jetpack-specific code should be moved into the AMP plugin. The new Lazy Images feature of Jetpack actually was built with AMP-support baked in.
Code in scope for moving to Jetpack:
- Jetpack-specific embeds.
/jetpack-helper.php
/wpcom
/wpcom-helper.php