Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7b02cb5 authored by David Srbecky's avatar David Srbecky Committed by Gerrit Code Review
Browse files

Merge "Fix dex-location for host."

parents 0ccd73a8 0f6fdf55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ func stemOf(moduleName string) string {

func getDexLocation(ctx android.PathContext, target android.Target, subdir string, name string) string {
	if target.Os.Class == android.Host {
		return filepath.Join("out", "host", ctx.Config().PrebuiltOS(), subdir, name)
		return filepath.Join(ctx.Config().Getenv("OUT_DIR"), "host", ctx.Config().PrebuiltOS(), subdir, name)
	} else {
		return filepath.Join("/", subdir, name)
	}