Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit d950dda

Browse files
authored
[script] Update build_all_plugins_app to exclude some plugins in master. (#3432)
1 parent e113013 commit d950dda

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

script/build_all_plugins_app.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ ALL_EXCLUDED=($EXCLUDED)
5656
if [ "$CHANNEL" == "stable" ]; then
5757
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_STABLE")
5858
fi
59+
# Exclude non-nnbd plugins from master.
60+
if [ "$CHANNEL" != "stable" ]; then
61+
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_MASTER")
62+
fi
5963

6064
echo "Excluding the following plugins: $ALL_EXCLUDED"
6165

script/nnbd_plugins.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,22 @@ readonly NNBD_PLUGINS_LIST=(
2121
"webview_flutter"
2222
)
2323

24+
# This list contains the list of plugins that have *not* been
25+
# migrated to nnbd, and conflict with those that have when
26+
# building the all plugins app. This list should be kept empty.
27+
28+
readonly NON_NNBD_PLUGINS_LIST=(
29+
# "android_alarm_manager"
30+
"camera"
31+
# "file_selector"
32+
# "google_maps_flutter"
33+
# "image_picker"
34+
# "in_app_purchase"
35+
# "quick_actions"
36+
# "sensors"
37+
# "shared_preferences"
38+
# "wifi_info_flutter"
39+
)
40+
2441
export EXCLUDED_PLUGINS_FROM_STABLE=$(IFS=, ; echo "${NNBD_PLUGINS_LIST[*]}")
42+
export EXCLUDED_PLUGINS_FROM_MASTER=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")

0 commit comments

Comments
 (0)