Kaydet (Commit) 5875fd03 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

updater: move the windows process starting code to comphelper

Change-Id: I1a499f57d01ee28afdb2c4f85dc976f2e6837dfd
Reviewed-on: https://gerrit.libreoffice.org/40837Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 9d184e2c
...@@ -21,6 +21,8 @@ $(eval $(call gb_Module_Module,comphelper)) ...@@ -21,6 +21,8 @@ $(eval $(call gb_Module_Module,comphelper))
$(eval $(call gb_Module_add_targets,comphelper,\ $(eval $(call gb_Module_add_targets,comphelper,\
Library_comphelper \ Library_comphelper \
$(if $(filter WNT,$(OS)),\
StaticLibrary_windows_process )\
)) ))
$(eval $(call gb_Module_add_subsequentcheck_targets,comphelper,\ $(eval $(call gb_Module_add_subsequentcheck_targets,comphelper,\
......
...@@ -7,16 +7,18 @@ ...@@ -7,16 +7,18 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# #
$(eval $(call gb_StaticLibrary_StaticLibrary,winhelper)) $(eval $(call gb_StaticLibrary_StaticLibrary,windows_process))
$(eval $(call gb_StaticLibrary_set_include,winhelper,\ $(eval $(call gb_StaticLibrary_set_include,windows_process,\
-I$(SRCDIR)/onlineupdate/inc/ \
-I$(SRCDIR)/onlineupdate/source/winhelper/ \
$$(INCLUDE) \ $$(INCLUDE) \
)) ))
$(eval $(call gb_StaticLibrary_add_exception_objects,winhelper,\ $(eval $(call gb_StaticLibrary_add_defs,windows_process,\
onlineupdate/source/winhelper/windowsStart \ -DUNICODE \
))
$(eval $(call gb_StaticLibrary_add_exception_objects,windows_process,\
comphelper/source/windows/windows_process \
)) ))
# vim:set shiftwidth=4 tabstop=4 noexpandtab: */ # vim:set shiftwidth=4 tabstop=4 noexpandtab: */
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef INCLUDED_ONLINEUPDATE_INC_WINSTART_HXX #ifndef INCLUDED_COMPHELPER_WINSTART_HXX
#define INCLUDED_ONLINEUPDATE_INC_WINSTART_HXX #define INCLUDED_COMPHELPER_WINSTART_HXX
#ifdef _WIN32 #ifdef _WIN32
#include <windows.h> #include <windows.h>
......
...@@ -23,7 +23,7 @@ $(eval $(call gb_Executable_use_static_libraries,updater,\ ...@@ -23,7 +23,7 @@ $(eval $(call gb_Executable_use_static_libraries,updater,\
libmarverify \ libmarverify \
updatehelper \ updatehelper \
$(if $(filter WNT,$(OS)), \ $(if $(filter WNT,$(OS)), \
winhelper )\ windows_process )\
)) ))
$(eval $(call gb_Executable_use_externals,updater,\ $(eval $(call gb_Executable_use_externals,updater,\
......
...@@ -17,8 +17,7 @@ $(eval $(call gb_Module_add_targets,onlineupdate,\ ...@@ -17,8 +17,7 @@ $(eval $(call gb_Module_add_targets,onlineupdate,\
StaticLibrary_updatehelper \ StaticLibrary_updatehelper \
$(if $(filter WNT,$(OS)),\ $(if $(filter WNT,$(OS)),\
Executable_update_service \ Executable_update_service \
WinResTarget_updater \ WinResTarget_updater )\
StaticLibrary_winhelper )\
Executable_mar \ Executable_mar \
Executable_updater \ Executable_updater \
Executable_mbsdiff \ Executable_mbsdiff \
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
#include <onlineupdate/mozilla/Types.h> #include <onlineupdate/mozilla/Types.h>
#ifdef _WIN32 #ifdef _WIN32
#include <winhelper/windowsStart.hxx> #include <comphelper/windowsStart.hxx>
#include "uachelper.h" #include "uachelper.h"
#include "pathhash.h" #include "pathhash.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment