diff --git a/script/build_all_plugins_app.sh b/script/build_all_plugins_app.sh index ca97c05f8ee4..72390c213da9 100755 --- a/script/build_all_plugins_app.sh +++ b/script/build_all_plugins_app.sh @@ -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" diff --git a/script/nnbd_plugins.sh b/script/nnbd_plugins.sh index 7bc5ac35a3a5..b2ca25bf6836 100644 --- a/script/nnbd_plugins.sh +++ b/script/nnbd_plugins.sh @@ -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[*]}")