diff options
author | 2017-01-17 20:30:03 +0000 | |
---|---|---|
committer | 2017-01-18 11:01:30 +0000 | |
commit | db51b0edb3617a1527e28eb0532d5dbc5cc20863 (patch) | |
tree | 3bfceb1913369def4eeba28f4e448dabdeadd8c1 /src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java | |
parent | f1a15c0f730819c8d05417cbd0a3d0179751853e (diff) |
Rename symbolsTxt to symbols reflecting it's actual usage.
--
PiperOrigin-RevId: 144741831
MOS_MIGRATED_REVID=144741831
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java index 0ef11f0877..74d78fa148 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java +++ b/src/main/java/com/google/devtools/build/lib/rules/android/AndroidResourcesProcessorBuilder.java @@ -80,7 +80,7 @@ public class AndroidResourcesProcessorBuilder { private String versionCode; private String applicationId; private String versionName; - private Artifact symbolsTxt; + private Artifact symbols; private Artifact dataBindingInfoZip; private Artifact manifestOut; @@ -162,8 +162,8 @@ public class AndroidResourcesProcessorBuilder { return this; } - public AndroidResourcesProcessorBuilder setSymbolsTxt(Artifact symbolsTxt) { - this.symbolsTxt = symbolsTxt; + public AndroidResourcesProcessorBuilder setSymbols(Artifact symbols) { + this.symbols = symbols; return this; } @@ -233,9 +233,9 @@ public class AndroidResourcesProcessorBuilder { outs.add(rTxtOut); } - if (symbolsTxt != null) { - builder.addExecPath("--symbolsTxtOut", symbolsTxt); - outs.add(symbolsTxt); + if (symbols != null) { + builder.addExecPath("--symbolsOut", symbols); + outs.add(symbols); } if (sourceJarOut != null) { builder.addExecPath("--srcJarOutput", sourceJarOut); @@ -324,7 +324,7 @@ public class AndroidResourcesProcessorBuilder { ResourceContainer.Builder result = primary.toBuilder() .setJavaSourceJar(sourceJarOut) .setRTxt(rTxtOut) - .setSymbolsTxt(symbolsTxt); + .setSymbols(symbols); // If there is an apk to be generated, use it, else reuse the apk from the primary resources. // All android_binary ResourceContainers have to have an apk, but if a new one is not // requested to be built for this resource processing action (in case of just creating an |