Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@dnfield
Copy link
Contributor

@dnfield dnfield commented Jun 6, 2022

The rename is to disambiguate files that end up in the same zip archive

A separate recipe change will be needed once this lands to have the recipe pick up the new license file and vend it to the tool.

I've updated the license script comments to clarify these dependency exclusions.

If we ever ship SwiftShader as part of flutter_tester, there will be more of these to deal with, but AFAICT these are the only ones that are part of impellerc.

@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

&& entry.name != 'ocmock' // only used for tests
&& entry.name != 'java' // only used for Android builds
&& entry.name != 'inja' // only used on hosts for builds
&& entry.name != 'inja' // Only used by impellerc, which ships a separate license
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be good to leave a comment there pointing to where the licenses are generated (the BUILD file above)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Hixie
Copy link
Contributor

Hixie commented Jun 6, 2022

test-exempt: configuration change

@Hixie
Copy link
Contributor

Hixie commented Jun 6, 2022

that said, it might eventually be worth adding a test that verifies that every binary in that archive has a corresponding license file

Copy link
Contributor

@Hixie Hixie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dnfield
Copy link
Contributor Author

dnfield commented Jun 6, 2022

that said, it might eventually be worth adding a test that verifies that every binary in that archive has a corresponding license file

Zach and I were discussing that, I think that's probably doable but it mighjt be easiest to wait until the recipes all do binaries from the GN rules rather than trying to implement it in several different places and have those get changed out

@dnfield dnfield added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jun 6, 2022
@dnfield dnfield removed the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jun 6, 2022
@dnfield dnfield added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Jun 7, 2022
@fluttergithubbot fluttergithubbot merged commit 1931ec4 into flutter:main Jun 7, 2022
Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

needs tests waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants