Skip to content

Commit

Permalink
Add --no_proguard_location_reference unconditionally.
Browse files Browse the repository at this point in the history
Bazel support was removed in unknown commit.

RELNOTES[INC]: --no_proguard_location_reference is now added unconditionally to the command line of aapt2.

PiperOrigin-RevId: 556709548
Change-Id: I1ec8db2b566cb99f118614ed75b76b8b6f703105
  • Loading branch information
lberki authored and copybara-github committed Aug 14, 2023
1 parent c7a0907 commit 7d911b5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,11 +476,7 @@ private ProtoApk linkProtoApk(
.add("--java", javaSourceDirectory)
.add("--proguard", proguardConfig)
.add("--proguard-main-dex", mainDexProguard)
// By default, exclude the file path location comments, since the paths
// include temporary directory names, which otherwise cause
// nondeterministic build output.
.when(!includeProguardLocationReferences)
.thenAdd("--no-proguard-location-reference")
.add("--no-proguard-location-reference")
.when(conditionalKeepRules)
.thenAdd("--proguard-conditional-keep-rules")
.add("-o", linked)
Expand Down

0 comments on commit 7d911b5

Please sign in to comment.