-
Notifications
You must be signed in to change notification settings - Fork 6k
Update android_embedding_bundle CIPD instructions #44644
Conversation
|
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. |
7e2fd03 to
5dd469b
Compare
| 3. Run `./generate.sh`. | ||
| 1. Update `tools/androidx/files.json`. (This file includes the Maven | ||
| dependencies used to build Flutter apps). | ||
| 1. `cd` into this directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you spell out the directory? It is nice when following instructions that have not been run in a while to be super specific.
| 1. `cd` into this directory. | |
| 1. `cd` into `tools/androidx` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
This implementation matches my understanding of the advice we were given. I'll let @reidbaker give the actual approval since he has a better understanding of the subtleties of the relevant code. |
5dd469b to
44e6519
Compare
…132534) flutter/engine@3c88528...1d63eec 2023-08-14 [email protected] Update android_embedding_bundle CIPD instructions (flutter/engine#44644) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
This PR updates the gradle build file for the android_embedding_bundle cipd package to fetch license information about the dependencies listed under `tools/androidx/files.json`. The README file for the android_embedding_bundle now explains how to fetch the license information and make sure it's correct in the cipd package. This PR also pulls a new version of android_embedding_dependencies that includes a `LICENSE` file. It turns out that Flutter does not re-ship anything from the embedding bundle to Flutter end-users. These dependencies are only used to create a classpath against which we build the Android embedder and in-tree tests. I've updated docs/comments to clarify that since I was initially confused about how these were used. I'm not adding a test that compares the license info fetched from maven against a checked-in golden, yet. Still thinking about the most effective way to do that in combination with the steps in the README.
This PR updates the gradle build file for the android_embedding_bundle cipd package to fetch license information about the dependencies listed under
tools/androidx/files.json. The README file for the android_embedding_bundle now explains how to fetch the license information and make sure it's correct in the cipd package.This PR also pulls a new version of android_embedding_dependencies that includes a
LICENSEfile.It turns out that Flutter does not re-ship anything from the embedding bundle to Flutter end-users. These dependencies are only used to create a classpath against which we build the Android embedder and in-tree tests. I've updated docs/comments to clarify that since I was initially confused about how these were used.
I'm not adding a test that compares the license info fetched from maven against a checked-in golden, yet. Still thinking about the most effective way to do that in combination with the steps in the README.