diff options
author | 2020-01-31 17:44:54 +0000 | |
---|---|---|
committer | 2020-02-13 17:46:48 +0000 | |
commit | 8d80ceeb1271974669d1ea19ab0908c9ef64db79 (patch) | |
tree | 2e1812e3305c8ff5a28b7ec1f06dda203de0d8ed /java/dexpreopt.go | |
parent | d90676fdde67b6e3f76819092c86882aa9306a7c (diff) |
Pass dexpreopt config structs by reference.
Should cut down on a bit of copying, and also required for an upcoming
CL that'll change GetCachedGlobalSoongConfig.
Test: m nothing
Bug: 145934348
Change-Id: I6bed737d9b061b5239cc603ad881f4ccd4312e43
Diffstat (limited to 'java/dexpreopt.go')
-rw-r--r-- | java/dexpreopt.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/dexpreopt.go b/java/dexpreopt.go index 428aee2aa..2b87cf797 100644 --- a/java/dexpreopt.go +++ b/java/dexpreopt.go @@ -157,7 +157,7 @@ func (d *dexpreopter) dexpreopt(ctx android.ModuleContext, dexJarFile android.Mo } } - dexpreoptConfig := dexpreopt.ModuleConfig{ + dexpreoptConfig := &dexpreopt.ModuleConfig{ Name: ctx.ModuleName(), DexLocation: dexLocation, BuildPath: android.PathForModuleOut(ctx, "dexpreopt", ctx.ModuleName()+".jar").OutputPath, |