Fix Android build

Bug: skia:7043
Change-Id: I6e08ee7dc920d092b7b3b3787a60e72d14869a04
Reviewed-on: https://skia-review.googlesource.com/49620
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Ravi Mistry <rmistry@google.com>
diff --git a/ct/go/util/chromium_builds.go b/ct/go/util/chromium_builds.go
index 2d4e3c8..f23eafd 100644
--- a/ct/go/util/chromium_builds.go
+++ b/ct/go/util/chromium_builds.go
@@ -170,6 +170,7 @@
 }
 
 func uploadChromiumBuild(localOutDir, gsDir, targetPlatform string, gs *GcsUtil) error {
+	util.MkdirAll(ChromiumBuildsDir, 0755)
 	localUploadDir := localOutDir
 	if targetPlatform == "Android" {
 		localUploadDir = filepath.Join(localUploadDir, "apks")
@@ -177,7 +178,6 @@
 		// Temporarily move the not needed large "gen" and "obj" directories so
 		// that they do not get uploaded to Google Storage. Move them back after
 		// the method completes.
-		util.MkdirAll(ChromiumBuildsDir, 0755)
 
 		genDir := filepath.Join(localOutDir, "gen")
 		genTmpDir := filepath.Join(ChromiumBuildsDir, "gen")