Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions script/build_all_plugins_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ ALL_EXCLUDED=($EXCLUDED)
if [ "$CHANNEL" == "stable" ]; then
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_STABLE")
fi
# Exclude non-nnbd plugins from master.
if [ "$CHANNEL" != "stable" ]; then
ALL_EXCLUDED=("$EXCLUDED,$EXCLUDED_PLUGINS_FROM_MASTER")
fi

echo "Excluding the following plugins: $ALL_EXCLUDED"

Expand Down
18 changes: 18 additions & 0 deletions script/nnbd_plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,22 @@ readonly NNBD_PLUGINS_LIST=(
"webview_flutter"
)

# This list contains the list of plugins that have *not* been
# migrated to nnbd, and conflict with those that have when
# building the all plugins app. This list should be kept empty.

readonly NON_NNBD_PLUGINS_LIST=(
# "android_alarm_manager"
"camera"
# "file_selector"
# "google_maps_flutter"
# "image_picker"
# "in_app_purchase"
# "quick_actions"
# "sensors"
# "shared_preferences"
# "wifi_info_flutter"
)

export EXCLUDED_PLUGINS_FROM_STABLE=$(IFS=, ; echo "${NNBD_PLUGINS_LIST[*]}")
export EXCLUDED_PLUGINS_FROM_MASTER=$(IFS=, ; echo "${NON_NNBD_PLUGINS_LIST[*]}")