summaryrefslogtreecommitdiffstats
path: root/chart2/Module_chart2.mk
blob: 94cba43344fa4feec100eb53030d383f2f08f679 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# 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/.
#

include $(SRCDIR)/chart2/import_setup.mk
include $(SRCDIR)/chart2/export_setup.mk

$(eval $(call gb_Module_Module,chart2))

$(eval $(call gb_Module_add_targets,chart2,\
    Library_chartcontroller \
    Library_chartcore \
	UIConfig_chart2 \
))

$(eval $(call gb_Module_add_l10n_targets,chart2,\
	AllLangMoTarget_chart \
))

ifneq ($(OS),iOS)
$(eval $(call gb_Module_add_check_targets,chart2,\
	CppunitTest_chart2_common_functors \
))

$(eval $(call gb_Module_add_slowcheck_targets,chart2,\
    CppunitTest_chart2_export \
    CppunitTest_chart2_export2 \
    CppunitTest_chart2_import \
    CppunitTest_chart2_import2 \
    CppunitTest_chart2_trendcalculators \
    CppunitTest_chart2_dump \
    CppunitTest_chart2_pivot_chart_test \
    CppunitTest_chart2_geometry \
))

ifeq ($(ENABLE_CHART_TESTS),TRUE)
ifeq ($(WITH_FONTS), TRUE)
$(eval $(call gb_Module_add_slowcheck_targets,chart2,\
    CppunitTest_chart2_xshape \
))
endif
endif

$(eval $(call gb_Module_add_subsequentcheck_targets,chart2,\
    JunitTest_chart2_unoapi \
))

# screenshots
$(eval $(call gb_Module_add_screenshot_targets,chart2,\
    CppunitTest_chart2_dialogs_test \
))
endif

# vim: set noet sw=4 ts=4: