Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 17, 2019
Merged

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

merged 1 commit into from
Jul 17, 2019

Conversation

rsimha
Copy link
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 self-assigned this Jul 17, 2019
@rsimha
Copy link
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
thekorn pushed a commit to edelight/amphtml that referenced this pull request Sep 11, 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