Merge "Don't generate dex jars for host modules"
This commit is contained in:
@@ -466,7 +466,8 @@ func (j *Module) compile(ctx android.ModuleContext) {
|
|||||||
|
|
||||||
j.classpathFile = outputFile
|
j.classpathFile = outputFile
|
||||||
|
|
||||||
if j.deviceProperties.Dex && len(srcFiles) > 0 {
|
// TODO(ccross): handle hostdex
|
||||||
|
if ctx.Device() && len(srcFiles) > 0 {
|
||||||
dxFlags := j.deviceProperties.Dxflags
|
dxFlags := j.deviceProperties.Dxflags
|
||||||
if false /* emma enabled */ {
|
if false /* emma enabled */ {
|
||||||
// If you instrument class files that have local variable debug information in
|
// If you instrument class files that have local variable debug information in
|
||||||
|
Reference in New Issue
Block a user