aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-11-02 13:17:35 -0400
committerGravatar John Cater <jcater@google.com>2017-11-03 09:53:00 -0400
commit61e53ce6ed4b7f9660187eda35599b121644735a (patch)
tree83f2717c2d2aa153ce7021807bd0b32119cf7e93 /src/main/java/com/google/devtools/build/lib/runtime
parent4871bf7f50dc889985ae25102c3fb9de869b50bc (diff)
Pass build_id to mobile-install deploy script
PiperOrigin-RevId: 174343502
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java b/src/main/java/com/google/devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java
index 0249403160..f55401669b 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java
@@ -250,6 +250,8 @@ public class MobileInstallCommand implements BlazeCommand {
cmdLine.add("--adb_arg");
cmdLine.add(adbArg);
}
+ cmdLine.add("--build_id");
+ cmdLine.add(env.getCommandId().toString());
Path workingDir = env.getBlazeWorkspace().getOutputPath().getParentDirectory();
com.google.devtools.build.lib.shell.Command command =