From 61e53ce6ed4b7f9660187eda35599b121644735a Mon Sep 17 00:00:00 2001 From: Googler Date: Thu, 2 Nov 2017 13:17:35 -0400 Subject: Pass build_id to mobile-install deploy script PiperOrigin-RevId: 174343502 --- .../devtools/build/lib/runtime/mobileinstall/MobileInstallCommand.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com/google/devtools/build/lib/runtime') 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 = -- cgit v1.2.3