mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Remove unused defines and update buildroot. (#5307)
This commit is contained in:
@@ -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" ]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user