aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers
diff options
context:
space:
mode:
authorkevinjeon-g <136382173+kevinjeon-g@users.noreply.github.com>2024-04-13 11:40:28 -0400
committerGitHub <noreply@github.com>2024-04-13 10:40:28 -0500
commitbf299d280f9290fc0d582360219a0cdf85e43387 (patch)
tree69506b611fedc881a412b9bb0759eefcd30bb3d3 /lib/compilers
parent137ed94704fafa73cf4d94b9a66950b4dd0302e5 (diff)
downloadcompiler-explorer-bf299d280f9290fc0d582360219a0cdf85e43387.tar.gz
compiler-explorer-bf299d280f9290fc0d582360219a0cdf85e43387.zip
Update dex2oat input arguments (#6340)gh-11284
Adds '--copy-dex-files=always', as it is needed in newer versions of dex2oat. This doesn't affect older versions.
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',