From b7de66efd3b2ebe21f07368face72ee2f6d1d3e4 Mon Sep 17 00:00:00 2001 From: asiva Date: Wed, 22 Sep 2021 22:35:32 +0000 Subject: [PATCH] [Runtime/VM - Enable SUPPORT_TIMELINE even in product mode for Android Please see https://github.com/dart-lang/sdk/issues/47264 The Flutter team would like to turn this on in product mode for being able to systrace release applications. This change could have potential size and performance regressions and will be monitored as it rolls into Flutter. If the impact is not within acceptable ranges it can be rolled back. TEST=ci Change-Id: Iad6f9b831eaf60d15f03e368702fb25bc9ebc76c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/214241 Reviewed-by: Ryan Macnak Reviewed-by: Dan Field Reviewed-by: Zach Anderson Commit-Queue: Siva Annamalai --- runtime/vm/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/vm/globals.h b/runtime/vm/globals.h index 986c3a2ecb4..2e63f7659d4 100644 --- a/runtime/vm/globals.h +++ b/runtime/vm/globals.h @@ -111,7 +111,7 @@ const intptr_t kDefaultNewGenSemiMaxSize = (kWordSize <= 4) ? 8 : 16; #endif // defined(DART_PRECOMPILED_RUNTIME) #if !defined(PRODUCT) || defined(DART_HOST_OS_FUCHSIA) || \ - defined(DART_TARGET_OS_FUCHSIA) + defined(DART_TARGET_OS_FUCHSIA) || defined(DART_TARGET_OS_ANDROID) #define SUPPORT_TIMELINE 1 #endif