diff options
Diffstat (limited to 'java/dex.go')
-rw-r--r-- | java/dex.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/dex.go b/java/dex.go index 2b3c9319a..168a23114 100644 --- a/java/dex.go +++ b/java/dex.go @@ -412,6 +412,10 @@ func (d *dexer) r8Flags(ctx android.ModuleContext, dexParams *compileDexParams, artProfileOutput = profileOutput } + if ctx.Config().UseR8StoreStoreFenceConstructorInlining() { + r8Flags = append(r8Flags, "--store-store-fence-constructor-inlining") + } + return r8Flags, r8Deps, artProfileOutput } |