Merge "Add quotes to sourcepath"

This commit is contained in:
Treehugger Robot
2018-10-08 04:29:28 +00:00
committed by Gerrit Code Review

View File

@@ -1307,8 +1307,7 @@ func (d *Droidstubs) initBuilderFlags(ctx android.ModuleContext, implicits *andr
}
flags.classpathArgs = deps.classpath.FormJavaClassPath("-classpath")
flags.sourcepathArgs = "-sourcepath " + strings.Join(d.Javadoc.sourcepaths.Strings(), ":")
flags.sourcepathArgs = "-sourcepath \"" + strings.Join(d.Javadoc.sourcepaths.Strings(), ":") + "\""
return flags, nil
}