diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/CustomTarget_unoembind.mk | 6 | ||||
-rw-r--r-- | static/StaticLibrary_unoembind.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/static/CustomTarget_unoembind.mk b/static/CustomTarget_unoembind.mk index cccb36f1dce2..045e0fea511c 100644 --- a/static/CustomTarget_unoembind.mk +++ b/static/CustomTarget_unoembind.mk @@ -17,10 +17,12 @@ $(eval $(call gb_CustomTarget_register_targets,static/unoembind, \ $(call gb_CustomTarget_get_workdir,static/unoembind)/bindings_uno.cxx \ $(call gb_CustomTarget_get_workdir,static/unoembind)/bindings_uno.js: \ $(call gb_Executable_get_target_for_build,embindmaker) $(call gb_UnoApi_get_target,udkapi) \ - $(call gb_UnoApi_get_target,offapi) + $(call gb_UnoApi_get_target,offapi) \ + $(if $(ENABLE_DBGUTIL),$(call gb_UnoApiTarget_get_target,embindtest)) $(call gb_Executable_get_command,embindmaker) uno \ $(call gb_CustomTarget_get_workdir,static/unoembind)/bindings_uno.cxx \ $(call gb_CustomTarget_get_workdir,static/unoembind)/bindings_uno.js \ - +$(call gb_UnoApi_get_target,udkapi) +$(call gb_UnoApi_get_target,offapi) + +$(call gb_UnoApi_get_target,udkapi) +$(call gb_UnoApi_get_target,offapi) \ + +$(if $(ENABLE_DBGUTIL),$(call gb_UnoApiTarget_get_target,embindtest)) # vim: set noet sw=4 ts=4: diff --git a/static/StaticLibrary_unoembind.mk b/static/StaticLibrary_unoembind.mk index e2a2bfacd892..5d4438ef2f85 100644 --- a/static/StaticLibrary_unoembind.mk +++ b/static/StaticLibrary_unoembind.mk @@ -22,6 +22,12 @@ $(eval $(call gb_StaticLibrary_use_api,unoembind,\ udkapi \ )) +ifneq ($(ENABLE_DBGUTIL),) +$(eval $(call gb_StaticLibrary_use_internal_api,unoembind, \ + embindtest \ +)) +endif + $(call gb_StaticLibrary_get_target,unoembind): $(call gb_CustomTarget_get_target,static/unoembind) # vim: set noet sw=4 ts=4: |