desktop: simplify $(ENABLE_BREAKPAD) checks

Change-Id: Ibe2da6214b1f6555922313b22e2882a2ddb4b9e7
This commit is contained in:
Michael Stahl 2016-07-19 14:25:14 +02:00
parent 017f6fcf35
commit 7127cba643

View file

@ -24,15 +24,12 @@ $(eval $(call gb_Library_add_libs,sofficeapp,\
))
$(eval $(call gb_Library_use_externals,sofficeapp, \
$(if $(ENABLE_BREAKPAD),breakpad) \
$(if $(filter OPENCL,$(BUILD_TYPE)),clew) \
boost_headers \
dbus \
))
ifeq ($(ENABLE_BREAKPAD),TRUE)
$(eval $(call gb_Library_use_external,sofficeapp,breakpad))
endif
$(eval $(call gb_Library_use_custom_headers,sofficeapp,\
officecfg/registry \
))
@ -52,7 +49,7 @@ $(eval $(call gb_Library_use_libraries,sofficeapp,\
comphelper \
cppu \
cppuhelper \
$(if $(filter TRUE,$(ENABLE_BREAKPAD)), \
$(if $(ENABLE_BREAKPAD), \
crashreport \
) \
deploymentmisc \