mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove unused defines and update buildroot. (#5307)
This commit is contained in:
parent
f922442d58
commit
278cdaeee9
2
DEPS
2
DEPS
@ -114,7 +114,7 @@ allowed_hosts = [
|
||||
]
|
||||
|
||||
deps = {
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + '78cf6d88d1a8b6f8293649508f2c1db6ad385fb0',
|
||||
'src': 'https://github.com/flutter/buildroot.git' + '@' + 'e2b647d54ab988569411517fac2e1aa28eeb4f46',
|
||||
|
||||
# Fuchsia compatibility
|
||||
#
|
||||
|
||||
@ -11,9 +11,6 @@ if (target_cpu == "arm" || target_cpu == "arm64") {
|
||||
}
|
||||
|
||||
declare_args() {
|
||||
# Enable asserts, even in release builds.
|
||||
flutter_asserts_always_on = false
|
||||
|
||||
# Enable ahead-of-time compilation on platforms where AOT is optional.
|
||||
flutter_aot = false
|
||||
|
||||
@ -39,21 +36,6 @@ if (flutter_runtime_mode == "debug") {
|
||||
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) {
|
||||
feature_defines_list += [ "FLUTTER_AOT=1" ]
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user