[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user