未验证 提交 278cdaee 编写于 作者: C Chinmay Garde 提交者: GitHub

Remove unused defines and update buildroot. (#5307)

上级 f922442d
...@@ -114,7 +114,7 @@ allowed_hosts = [ ...@@ -114,7 +114,7 @@ allowed_hosts = [
] ]
deps = { deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '78cf6d88d1a8b6f8293649508f2c1db6ad385fb0', 'src': 'https://github.com/flutter/buildroot.git' + '@' + 'e2b647d54ab988569411517fac2e1aa28eeb4f46',
# Fuchsia compatibility # Fuchsia compatibility
# #
......
...@@ -11,9 +11,6 @@ if (target_cpu == "arm" || target_cpu == "arm64") { ...@@ -11,9 +11,6 @@ if (target_cpu == "arm" || target_cpu == "arm64") {
} }
declare_args() { declare_args() {
# Enable asserts, even in release builds.
flutter_asserts_always_on = false
# Enable ahead-of-time compilation on platforms where AOT is optional. # Enable ahead-of-time compilation on platforms where AOT is optional.
flutter_aot = false flutter_aot = false
...@@ -39,21 +36,6 @@ if (flutter_runtime_mode == "debug") { ...@@ -39,21 +36,6 @@ if (flutter_runtime_mode == "debug") {
feature_defines_list += [ "FLUTTER_RUNTIME_MODE=0" ] feature_defines_list += [ "FLUTTER_RUNTIME_MODE=0" ]
} }
if (is_debug) {
# TODO(GYP) this should also be set when release_valgrind_build is set,
# but we don't have that flag in the GN build yet.
feature_defines_list += [ "WTF_USE_DYNAMIC_ANNOTATIONS=1" ]
}
if (!is_mac) {
# Mac OS X has not implemented support for ENABLE(OPENTYPE_VERTICAL) yet.
feature_defines_list += [ "ENABLE_OPENTYPE_VERTICAL=1" ]
}
if (flutter_asserts_always_on) {
feature_defines_list += [ "ENABLE_ASSERT=1" ]
}
if (flutter_aot) { if (flutter_aot) {
feature_defines_list += [ "FLUTTER_AOT=1" ] feature_defines_list += [ "FLUTTER_AOT=1" ]
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册