[reland] Support conditional bundling of assets based on --flavor (#139834)

Reland of https://github.com/flutter/flutter/pull/132985. Fixes the path to AssetManifest.bin in flavors_test_ios
This commit is contained in:
Andrew Kolos
2023-12-13 21:30:10 -08:00
committed by GitHub
parent f5050cf4a4
commit 935775cb74
30 changed files with 880 additions and 212 deletions

View File

@@ -0,0 +1 @@
this is a test asset not meant for any specific flavor

View File

@@ -0,0 +1 @@
this is a test asset for --flavor free

View File

@@ -0,0 +1 @@
this is a test asset for --flavor paid

View File

@@ -0,0 +1 @@
premium

View File

@@ -75,5 +75,13 @@ dev_dependencies:
flutter:
uses-material-design: true
assets:
- assets/common/common.txt
- path: assets/paid/
flavors:
- paid
- path: assets/free/
flavors:
- free
# PUBSPEC CHECKSUM: 6bd3