Move fastboot's Windows code to C++.

Change-Id: I92414594cbdbc1896402c6d950d890042f8df6cf
This commit is contained in:
Elliott Hughes 2015-06-24 10:48:43 -07:00
parent dc80d03eab
commit c636b64e31
3 changed files with 3 additions and 1 deletions

View File

@ -40,7 +40,7 @@ ifeq ($(HOST_OS),darwin)
endif
ifeq ($(HOST_OS),windows)
LOCAL_SRC_FILES += usb_windows.c util_windows.c
LOCAL_SRC_FILES += usb_windows.cpp util_windows.cpp
EXTRA_STATIC_LIBS := AdbWinApi
ifneq ($(strip $(USE_CYGWIN)),)
# Pure cygwin case

View File

@ -26,6 +26,8 @@
* SUCH DAMAGE.
*/
#include "fastboot.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>