aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java25
1 files changed, 12 insertions, 13 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java b/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java
index 4c70937abb..6dc2c380dd 100644
--- a/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java
+++ b/src/main/java/com/google/devtools/build/lib/skylarkbuildapi/android/AndroidInstrumentationInfoApi.java
@@ -58,20 +58,19 @@ public interface AndroidInstrumentationInfoApi<FileT extends FileApi> extends St
name = "AndroidInstrumentationInfo",
doc = "The <code>AndroidInstrumentationInfo</code> constructor.",
parameters = {
- @Param(
- name = "target_apk",
- type = FileApi.class,
- named = true,
- doc = "The target APK of the instrumentation test."
- ),
- @Param(
- name = "instrumentation_apk",
- type = FileApi.class,
- named = true,
- doc = "The instrumentation APK that should be executed."
- )},
+ @Param(
+ name = "target_apk",
+ type = FileApi.class,
+ named = true,
+ doc = "The target APK of the instrumentation test."),
+ @Param(
+ name = "instrumentation_apk",
+ type = FileApi.class,
+ named = true,
+ doc = "The instrumentation APK that should be executed.")
+ },
selfCall = true)
- @SkylarkConstructor(objectType = AndroidInstrumentationInfoApi.class)
+ @SkylarkConstructor(objectType = AndroidInstrumentationInfoApi.class, receiverNameForDoc = NAME)
public AndroidInstrumentationInfoApi<FileT> createInfo(
FileT targetApk, FileT instrumentationApk) throws EvalException;
}