aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compilers')
-rw-r--r--lib/compilers/dex2oat.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compilers/dex2oat.ts b/lib/compilers/dex2oat.ts
index 3702b7ee2..fe64ccce6 100644
--- a/lib/compilers/dex2oat.ts
+++ b/lib/compilers/dex2oat.ts
@@ -200,6 +200,7 @@ export class Dex2OatCompiler extends BaseCompiler {
'--generate-debug-info',
'--dex-location=/system/framework/classes.dex',
`--dex-file=${tmpDir}/${dexFile}`,
+ '--copy-dex-files=always',
'--runtime-arg',
'-Xbootclasspath:' + bootclassjars.map(f => path.join(this.artArtifactDir, f)).join(':'),
'--runtime-arg',