[flutter_tools] rename output LICENSE file to NOTICES and support loading either (#57871)

Work towards #16723

This is only safe to land after #58131 lands in google3. Only build NOTICES in asset manfiest, and load either LICENSE or NOTICES from pubspec dependencies.
This commit is contained in:
Jonah Williams
2020-05-29 11:55:02 -07:00
committed by GitHub
parent 68b131f313
commit d9144bf8fc
6 changed files with 40 additions and 34 deletions

View File

@@ -544,7 +544,7 @@ class CompileTest {
final _UnzipListEntry libflutter = fileToMetadata['lib/armeabi-v7a/libflutter.so'];
final _UnzipListEntry libapp = fileToMetadata['lib/armeabi-v7a/libapp.so'];
final _UnzipListEntry license = fileToMetadata['assets/flutter_assets/LICENSE'];
final _UnzipListEntry license = fileToMetadata['assets/flutter_assets/NOTICES'];
return <String, dynamic>{
'libflutter_uncompressed_bytes': libflutter.uncompressedSize,