mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
[vm] Allow enabling timeline in PRODUCT via DART_ENABLE_TIMELINE define
R=kustermann@google.com TEST=not-needed Bug: b/245563515 Change-Id: I91d118c4bbe39cc9642dc07567f2fde812f6fe4a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/260103 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Slava Egorov <vegorov@google.com>
This commit is contained in:
parent
6622249c7f
commit
da26deb0b4
1 changed files with 3 additions and 2 deletions
|
@ -113,8 +113,9 @@ const intptr_t kDefaultNewGenSemiMaxSize = (kWordSize <= 4) ? 8 : 16;
|
|||
#define NOT_IN_PRECOMPILED_RUNTIME(code) code
|
||||
#endif // defined(DART_PRECOMPILED_RUNTIME)
|
||||
|
||||
#if !defined(PRODUCT) || defined(DART_HOST_OS_FUCHSIA) || \
|
||||
defined(DART_TARGET_OS_FUCHSIA) || defined(DART_TARGET_OS_ANDROID)
|
||||
#if defined(DART_ENABLE_TIMELINE) || !defined(PRODUCT) || \
|
||||
defined(DART_HOST_OS_FUCHSIA) || defined(DART_TARGET_OS_FUCHSIA) || \
|
||||
defined(DART_TARGET_OS_ANDROID)
|
||||
#define SUPPORT_TIMELINE 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue