Skip to content

Commit

Permalink
Add support for ADB_TARGET specification.
Browse files Browse the repository at this point in the history
This makes it easier to specify which target device the app
should be installed onto/uninstalled from. Sample usage:

	make install ADB_TARGET="-s emulator-5554"
  • Loading branch information
jonpryor committed Feb 24, 2011
1 parent 9febdb6 commit 6b0120f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbuild.make
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ clean:
$(XBUILD) $(PROJ) /t:Clean $(EXTRA)

install:
$(XBUILD) $(PROJ) /t:Install $(EXTRA)
$(XBUILD) $(PROJ) /t:Install $(if $(ADB_TARGET),"/p:AdbTarget=$(ADB_TARGET)",) $(EXTRA) $(INSTALL_EXTRA)

uninstall:
$(XBUILD) $(PROJ) /t:Uninstall $(EXTRA)
$(XBUILD) $(PROJ) /t:Uninstall $(if $(ADB_TARGET),"/p:AdbTarget=$(ADB_TARGET)",) $(EXTRA) $(UNINSTALL_EXTRA)

0 comments on commit 6b0120f

Please sign in to comment.