[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:
1
dev/integration_tests/flavors/assets/common/common.txt
Normal file
1
dev/integration_tests/flavors/assets/common/common.txt
Normal file
@@ -0,0 +1 @@
|
||||
this is a test asset not meant for any specific flavor
|
||||
1
dev/integration_tests/flavors/assets/free/free.txt
Normal file
1
dev/integration_tests/flavors/assets/free/free.txt
Normal file
@@ -0,0 +1 @@
|
||||
this is a test asset for --flavor free
|
||||
1
dev/integration_tests/flavors/assets/paid/paid.txt
Normal file
1
dev/integration_tests/flavors/assets/paid/paid.txt
Normal file
@@ -0,0 +1 @@
|
||||
this is a test asset for --flavor paid
|
||||
1
dev/integration_tests/flavors/assets/premium/premium.txt
Normal file
1
dev/integration_tests/flavors/assets/premium/premium.txt
Normal file
@@ -0,0 +1 @@
|
||||
premium
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user