Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

jason-simmons
Copy link
Member

No description provided.

@@ -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"
Copy link
Member

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?

Copy link

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.

Copy link
Member Author

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

@jiahaog
Copy link
Member

jiahaog commented Oct 19, 2021

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 androidx.tracing.Trace) will fail until this PR is merged?

@jason-simmons
Copy link
Member Author

Yes - you'll need a AndroidX tracing JAR in third_party/android_embedding_dependencies in order to link against that API

@jason-simmons jason-simmons force-pushed the robo_embedding_deps_cipd branch from fb4e66e to 80933a7 Compare October 19, 2021 15:26
@jason-simmons jason-simmons added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Oct 19, 2021
@fluttergithubbot fluttergithubbot merged commit 2069711 into flutter:master Oct 19, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 19, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 19, 2021
kylinchen pushed a commit to XianyuTech/engine that referenced this pull request Oct 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants