aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java
diff options
context:
space:
mode:
authorGravatar ccalvarin <ccalvarin@google.com>2017-06-30 00:32:43 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-06-30 13:01:01 +0200
commit5dda1bed046cf96cdc191adfa09a60f77c1d3e44 (patch)
treeb4d9af9c2575599748dd9d12ac883ccaf5db12d9 /src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java
parent3d2a68c6da2a50a9e1bcf6615e83a43701cdf95d (diff)
Add the rest of the categories transition values to android options.
Automated formatting fixes standardize the @Option annotation. PiperOrigin-RevId: 160582653
Diffstat (limited to 'src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java')
-rw-r--r--src/tools/android/java/com/google/devtools/build/android/AndroidResourceValidatorAction.java12
1 files changed, 12 insertions, 0 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 40ca01c819..5da2445a63 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
@@ -23,8 +23,10 @@ import com.google.devtools.build.android.AndroidResourceProcessor.FlagAaptOption
import com.google.devtools.build.android.Converters.ExistingPathConverter;
import com.google.devtools.build.android.Converters.PathConverter;
import com.google.devtools.common.options.Option;
+import com.google.devtools.common.options.OptionDocumentationCategory;
import com.google.devtools.common.options.OptionsBase;
import com.google.devtools.common.options.OptionsParser;
+import com.google.devtools.common.options.proto.OptionFilters.OptionEffectTag;
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.IOException;
@@ -56,6 +58,8 @@ public class AndroidResourceValidatorAction {
defaultValue = "null",
converter = ExistingPathConverter.class,
category = "input",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
help = "Path to the read merged resources archive."
)
public Path mergedResources;
@@ -65,6 +69,8 @@ public class AndroidResourceValidatorAction {
defaultValue = "null",
converter = ExistingPathConverter.class,
category = "input",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
help = "Path for the AndroidManifest.xml."
)
public Path manifest;
@@ -73,6 +79,8 @@ public class AndroidResourceValidatorAction {
name = "packageForR",
defaultValue = "null",
category = "config",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
help = "Custom java package to generate the R symbols files."
)
public String packageForR;
@@ -82,6 +90,8 @@ public class AndroidResourceValidatorAction {
defaultValue = "null",
converter = PathConverter.class,
category = "output",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
help = "Path for the generated java source jar."
)
public Path srcJarOutput;
@@ -91,6 +101,8 @@ public class AndroidResourceValidatorAction {
defaultValue = "null",
converter = PathConverter.class,
category = "output",
+ documentationCategory = OptionDocumentationCategory.UNCATEGORIZED,
+ effectTags = {OptionEffectTag.UNKNOWN},
help = "Path to where the R.txt should be written."
)
public Path rOutput;