[flutter_tools] make bundle-sksl-path a define (#81576)
This commit is contained in:
@@ -70,7 +70,7 @@ BuildApp() {
|
||||
|
||||
local bundle_sksl_path=""
|
||||
if [[ -n "$BUNDLE_SKSL_PATH" ]]; then
|
||||
bundle_sksl_path="-iBundleSkSLPath=${BUNDLE_SKSL_PATH}"
|
||||
bundle_sksl_path="-dBundleSkSLPath=${BUNDLE_SKSL_PATH}"
|
||||
fi
|
||||
|
||||
local code_size_directory=""
|
||||
|
||||
@@ -83,7 +83,7 @@ or
|
||||
'-dTreeShakeIcons="$treeShakeIcons"',
|
||||
'-dDartObfuscation=$dartObfuscation',
|
||||
if (bundleSkSLPath != null)
|
||||
'-iBundleSkSLPath=$bundleSkSLPath',
|
||||
'-dBundleSkSLPath=$bundleSkSLPath',
|
||||
if (codeSizeDirectory != null)
|
||||
'-dCodeSizeDirectory=$codeSizeDirectory',
|
||||
if (splitDebugInfo != null)
|
||||
|
||||
@@ -82,7 +82,7 @@ BuildApp() {
|
||||
|
||||
local bundle_sksl_path=""
|
||||
if [[ -n "$BUNDLE_SKSL_PATH" ]]; then
|
||||
bundle_sksl_path="-iBundleSkSLPath=${BUNDLE_SKSL_PATH}"
|
||||
bundle_sksl_path="-dBundleSkSLPath=${BUNDLE_SKSL_PATH}"
|
||||
fi
|
||||
|
||||
# Default value of assets_path is flutter_assets
|
||||
|
||||
Reference in New Issue
Block a user