Skip to content

🏗🚮 Clean up custom code in runner.jar that has been replaced by babel transforms#23378

Merged
rsimha merged 1 commit intoampproject:masterfrom
rsimha:2019-07-17-CleanupAmpPass
Jul 17, 2019
Merged

🏗🚮 Clean up custom code in runner.jar that has been replaced by babel transforms#23378
rsimha merged 1 commit intoampproject:masterfrom
rsimha:2019-07-17-CleanupAmpPass

Conversation

@rsimha
Copy link
Copy Markdown
Contributor

@rsimha rsimha commented Jul 17, 2019

In #22839, several babel transformations were added to the multi pass build as a pre-requisite step to running closure compiler. With this, we no longer need most of the custom passes in AmpPass.java.

This PR cleans up all unnecessary code in runner.jar.

Coming up: Fix the removal of assert functions via babel, and remove AmpPass.java altogether.

Follow up to #22839
Partial fix for #17120 and #22452

@rsimha rsimha requested review from erwinmombay and jridgewell July 17, 2019 20:48
@rsimha rsimha self-assigned this Jul 17, 2019
@rsimha
Copy link
Copy Markdown
Contributor Author

rsimha commented Jul 17, 2019

Verified that this PR results in zero diffs to v0.js or any other files.

Screenshot from 2019-07-17 17-00-33

@rsimha rsimha merged commit d7f3349 into ampproject:master Jul 17, 2019
@rsimha rsimha deleted the 2019-07-17-CleanupAmpPass branch July 17, 2019 21:21
rindo pushed a commit to logly/amphtml that referenced this pull request Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants