diff options
Diffstat (limited to 'src/tools/android/java')
-rw-r--r-- | src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java b/src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java index e277cb2c80..616eeb2377 100644 --- a/src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java +++ b/src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java @@ -106,6 +106,18 @@ public class AndroidResourceValidatorAction { help = "Path to where the R.txt should be written." ) public Path rOutput; + + @Option( + name = "packagePath", + defaultValue = "null", + converter = PathConverter.class, + category = "output", + documentationCategory = OptionDocumentationCategory.UNCATEGORIZED, + effectTags = {OptionEffectTag.UNKNOWN}, + help = "Path to the write the archive." + ) + // TODO(b/30307842): Remove this once it is no longer needed for resources migration. + public Path packagePath; } public static void main(String[] args) throws Exception { @@ -152,7 +164,7 @@ public class AndroidResourceValidatorAction { resources, assets, generatedSources, - null, /* packageOut */ + options.packagePath, null, /* proguardOut */ null, /* mainDexProguardOut */ null /* publicResourcesOut */); |