Support prepended arch-specific properties

Arch-specific static libraries should be prepended so that the common
static libraries can depend on them.

Bug: 26968262
Change-Id: I40a21d18ece8f6d20824437e7180628b29ffdd04
diff --git a/cc/cc.go b/cc/cc.go
index f740ebc..a599bfb 100644
--- a/cc/cc.go
+++ b/cc/cc.go
@@ -306,10 +306,10 @@
 	// in their entirety.  For static library modules, all of the .o files from the intermediate
 	// directory of the dependency will be linked into this modules .a file.  For a shared library,
 	// the dependency's .a file will be linked into this module using -Wl,--whole-archive.
-	Whole_static_libs []string `android:"arch_variant"`
+	Whole_static_libs []string `android:"arch_variant,variant_prepend"`
 
 	// list of modules that should be statically linked into this module.
-	Static_libs []string `android:"arch_variant"`
+	Static_libs []string `android:"arch_variant,variant_prepend"`
 
 	// list of modules that should be dynamically linked into this module.
 	Shared_libs []string `android:"arch_variant"`