forked from firka/flutter
Update buildroot and opt out of LTO on unopt builds. (flutter/engine#3952)
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
assert(is_ios)
|
||||
|
||||
import("//flutter/common/config.gni")
|
||||
import("//build/config/ios/rules.gni")
|
||||
import("//build/config/ios/ios_sdk.gni")
|
||||
|
||||
_flutter_framework_dir = "$root_out_dir/Flutter.framework"
|
||||
|
||||
@@ -68,6 +68,7 @@ def to_gn_args(args):
|
||||
gn_args['skia_use_fontconfig'] = False # Use the custom font manager instead.
|
||||
|
||||
gn_args['is_debug'] = args.unoptimized
|
||||
gn_args['enable_lto'] = not args.unoptimized
|
||||
gn_args['android_full_debug'] = args.target_os == 'android' and args.unoptimized
|
||||
gn_args['is_clang'] = not sys.platform.startswith(('cygwin', 'win'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user