this checkin supports windows OS in all Translator libs
Note: this is a re-submit of Ie5111d9c435b64d205b140a79863c0273742ee7f, fixed to avoid breaking the Mac build. Change-Id: Ib534063d3f403d33d162956bf510baf9689a246a
This commit is contained in:
committed by
David 'Digit' Turner
parent
3a38c110a9
commit
f0b7c2e4f9
@@ -25,7 +25,9 @@ ifneq ($(HOST_OS),windows)
|
||||
osThreadUnix.cpp \
|
||||
osDynLibrary.cpp
|
||||
|
||||
else # windows
|
||||
LOCAL_LDLIBS := -ldl
|
||||
|
||||
else # !linux
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
osProcessWin.cpp \
|
||||
@@ -34,11 +36,7 @@ else # windows
|
||||
|
||||
endif # windows
|
||||
|
||||
ifneq (,$(LOCAL_SRC_FILES)) # do not build if host platform not supported
|
||||
|
||||
LOCAL_MODULE_TAGS := debug
|
||||
LOCAL_MODULE := libOpenglOsUtils
|
||||
|
||||
include $(BUILD_HOST_STATIC_LIBRARY)
|
||||
|
||||
endif
|
||||
|
||||
@@ -52,7 +52,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
|
||||
// close the thread handle we do not need it,
|
||||
// keep the process handle for wait/trywait operations, will
|
||||
// be closed on destruction
|
||||
CloseHandle(m_proc.hThread);
|
||||
CloseHandle(child->m_proc.hThread);
|
||||
|
||||
return child;
|
||||
}
|
||||
@@ -60,7 +60,7 @@ childProcess::create(const char *p_cmdLine, const char *p_startdir)
|
||||
childProcess::~childProcess()
|
||||
{
|
||||
if (m_proc.hProcess) {
|
||||
CloseHandle(child->m_proc.hProcess);
|
||||
CloseHandle(m_proc.hProcess);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user