Fix overly agressive cleanup.
authorXavier Ducrohet <xav@android.com>
Thu, 20 Sep 2012 01:44:06 +0000 (18:44 -0700)
committerXavier Ducrohet <xav@android.com>
Thu, 20 Sep 2012 01:44:06 +0000 (18:44 -0700)
commit1ba19cf8da04a7fbd0f0ed152c623f15b3d31223
tree1e4b9bb34e6d28fa94da3b0d6cafbcafaeacf010
parent991c1464abd68db2d99059afa8fc1ad7090d0f62
Fix overly agressive cleanup.

In a previous cleanup, I removed VariantConfig.firstFlavor###
but it was still used (although apparently not when building libraries?)

This fixes it in a way that will work with multi-flavor builds.

Change-Id: Id2fa4c6c831a7acc1df40f1f3a026770bdc6aa61
gradle/src/main/groovy/com/android/build/gradle/internal/ApplicationVariant.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/ProductionAppVariant.groovy
gradle/src/main/groovy/com/android/build/gradle/internal/TestAppVariant.groovy