diff options
author | vchtchetkine <vchtchetkine@google.com> | 2009-07-29 17:55:53 -0700 |
---|---|---|
committer | vchtchetkine <vchtchetkine@google.com> | 2009-07-29 18:00:04 -0700 |
commit | 71e765b54c2ace67ff9acc85bc66f51afec80974 (patch) | |
tree | edd22b7bf83af630c83a937bcf616c0d72a7a8f2 /host | |
parent | 1db55021599137f7bcec830d298f6062b495cd35 (diff) | |
download | android_development-71e765b54c2ace67ff9acc85bc66f51afec80974.tar.gz android_development-71e765b54c2ace67ff9acc85bc66f51afec80974.tar.bz2 android_development-71e765b54c2ace67ff9acc85bc66f51afec80974.zip |
Make changes to enable driver build in new location
Diffstat (limited to 'host')
-rwxr-xr-x | host/windows/usb/legacy/driver/precomp.h | 9 | ||||
-rwxr-xr-x | host/windows/usb/legacy/driver/sources.inc | 3 |
2 files changed, 8 insertions, 4 deletions
diff --git a/host/windows/usb/legacy/driver/precomp.h b/host/windows/usb/legacy/driver/precomp.h index fecee1d7f..bc798bc75 100755 --- a/host/windows/usb/legacy/driver/precomp.h +++ b/host/windows/usb/legacy/driver/precomp.h @@ -34,8 +34,13 @@ extern "C" { #pragma warning(default:4201)
#pragma warning(default:4214)
-#include "adb_api_extra.h"
-#include "android_usb_common_defines.h"
+// Just to make adb_api.h compile. Since we will not reference any
+// of the API routines in the driver, only structures and constants,
+// we're fine with that.
+typedef void* LPOVERLAPPED;
+
+#include "adb_api.h"
+#include "adb_api_legacy.h"
#include "android_usb_pool_tags.h"
#include "android_usb_driver_defines.h"
#include "android_usb_new_delete.h"
diff --git a/host/windows/usb/legacy/driver/sources.inc b/host/windows/usb/legacy/driver/sources.inc index 20dbe7acf..7aeec1d16 100755 --- a/host/windows/usb/legacy/driver/sources.inc +++ b/host/windows/usb/legacy/driver/sources.inc @@ -40,8 +40,7 @@ USER_C_FLAGS=$(USER_C_FLAGS) /wd4100 /wd4002 /wd4509 /wd4390 /TP INCLUDES=$(INCLUDES); \
$(IFSKIT_INC_PATH); \
- ..\common; \
- ..\api;
+ ..\..\api;
TARGETLIBS=$(DDK_LIB_PATH)\usbd.lib
|