diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-12-28 02:07:04 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:27 +0200 |
commit | e88f080bacabe9d7196813aa6d17132a389c330b (patch) | |
tree | 1082c7da586ef76f18e6ba611a10c8142ac18d94 /onlineupdate | |
parent | 85d4534aeb66d1957dd51ba43048507bfb6285a5 (diff) |
add the resource to the updater
Change-Id: I80e80708346aa2850b2964c566ebc6423837a9cd
Diffstat (limited to 'onlineupdate')
-rw-r--r-- | onlineupdate/Executable_updater.mk | 2 | ||||
-rw-r--r-- | onlineupdate/Module_onlineupdate.mk | 1 | ||||
-rw-r--r-- | onlineupdate/WinResTarget_updater.mk | 15 |
3 files changed, 18 insertions, 0 deletions
diff --git a/onlineupdate/Executable_updater.mk b/onlineupdate/Executable_updater.mk index 75d97a3d8c0f..8d1b9be81ff2 100644 --- a/onlineupdate/Executable_updater.mk +++ b/onlineupdate/Executable_updater.mk @@ -68,4 +68,6 @@ $(eval $(call gb_Executable_add_exception_objects,updater,\ onlineupdate/source/update/updater/win_dirent )\ )) +$(eval $(call gb_Executable_add_nativeres,updater,updaterres)) + # vim:set shiftwidth=4 tabstop=4 noexpandtab: */ diff --git a/onlineupdate/Module_onlineupdate.mk b/onlineupdate/Module_onlineupdate.mk index 9672d9c6aef3..e84a208e79b3 100644 --- a/onlineupdate/Module_onlineupdate.mk +++ b/onlineupdate/Module_onlineupdate.mk @@ -16,6 +16,7 @@ $(eval $(call gb_Module_add_targets,onlineupdate,\ StaticLibrary_updatehelper \ $(if $(filter WNT,$(OS)),\ Executable_update_service \ + WinResTarget_updater \ StaticLibrary_winhelper )\ Executable_mar \ Executable_updater \ diff --git a/onlineupdate/WinResTarget_updater.mk b/onlineupdate/WinResTarget_updater.mk new file mode 100644 index 000000000000..f01b3ff425d1 --- /dev/null +++ b/onlineupdate/WinResTarget_updater.mk @@ -0,0 +1,15 @@ +$(eval $(call gb_WinResTarget_WinResTarget,updaterres)) + +$(eval $(call gb_WinResTarget_set_include,updaterres,\ + $$(INCLUDE) \ + -I$(SRCDIR)/onlineupdate/source/update/common \ + -I$(SRCDIR)/onlineupdate/source/update/updater \ +)) + +$(eval $(call gb_WinResTarget_add_dependencies,updaterres, \ + onlineupdate/source/update/updater/updater.ico \ +)) + +$(eval $(call gb_WinResTarget_set_rcfile,updaterres, \ + onlineupdate/source/update/updater/updater \ +)) |