Skip to content

Commit

Permalink
Bug 1937916 - Add build-id to Android builds
Browse files Browse the repository at this point in the history
Upgrade rust-android-gradle and set the `generateBuildId` flag.

See mozilla/rust-android-gradle#159 for details.
  • Loading branch information
bendk committed Jan 13, 2025
1 parent 2403db8 commit 1fa5f67
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ kotlinx-coroutines = "1.8.0"
# Mozilla
android-components = "133.0"
glean = "63.0.0"
rust-android-gradle = "0.9.5"
rust-android-gradle = "0.9.6"

# AndroidX
androidx-annotation = "1.9.1"
Expand Down
4 changes: 4 additions & 0 deletions megazords/full/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ cargo {
}

extraCargoBuildArguments = rootProject.ext.extraCargoBuildArguments

// Add a build-id so that our code works with simpleperf
// https://bugzilla.mozilla.org/show_bug.cgi?id=1937916
generateBuildId = true
}

afterEvaluate {
Expand Down

0 comments on commit 1fa5f67

Please sign in to comment.