-
Notifications
You must be signed in to change notification settings - Fork 6k
Remove Robolectric and add androidx.tracing to the android_embedding_dependencies package #29233
Remove Robolectric and add androidx.tracing to the android_embedding_dependencies package #29233
Conversation
@@ -42,6 +42,7 @@ android { | |||
dependencies { | |||
embedding "androidx.annotation:annotation:1.1.0" | |||
embedding "androidx.fragment:fragment:1.1.0" | |||
embedding "androidx.tracing:tracing:1.0.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how much size increase are we adding to the engine dex?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left a comment: #29230 (comment)
I'd expect this to be tree-shaked until #29230 lands.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
androidx.tracing is tiny - it's a thin wrapper over android.os.Trace with some version checks and backward compatibility workarounds
Thanks Jason! I'm not familiar to the build process here - is it right to say that local builds of the engine (that depend on |
Yes - you'll need a AndroidX tracing JAR in |
…dependencies package
fb4e66e
to
80933a7
Compare
…bedding_dependencies package (flutter/engine#29233)
…bedding_dependencies package (flutter/engine#29233)
…dependencies package (flutter#29233)
No description provided.