prelim tdf#136472: remove implementation specific unit tests
[LibreOffice.git] / vcl / Library_vclplug_win.mk
blobca75300670b32e5111771950361f80668040bfb8
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,vclplug_win))
22 $(eval $(call gb_Library_set_componentfile,vclplug_win,vcl/vclplug_win))
24 $(eval $(call gb_Library_set_include,vclplug_win,\
25 $$(INCLUDE) \
26 -I$(SRCDIR)/vcl/inc \
27 -I$(SRCDIR)/vcl/inc/win \
30 $(eval $(call gb_Library_add_defs,vclplug_win,\
31 -DVCLPLUG_WIN_IMPLEMENTATION \
32 -DVCL_INTERNALS \
35 $(eval $(call gb_Library_use_custom_headers,vclplug_win,\
36 officecfg/registry \
39 $(eval $(call gb_Library_use_sdk_api,vclplug_win))
41 $(eval $(call gb_Library_use_common_precompiled_header,vclplugin_win))
43 $(eval $(call gb_Library_use_libraries,vclplug_win,\
44 $(call gb_Helper_optional,BREAKPAD, \
45 crashreport) \
46 basegfx \
47 comphelper \
48 cppu \
49 cppuhelper \
50 i18nlangtag \
51 i18nutil \
52 sal \
53 salhelper \
54 tl \
55 utl \
56 vcl \
59 $(eval $(call gb_Library_use_externals,vclplug_win,\
60 boost_headers \
61 epoxy \
62 glm_headers \
63 harfbuzz \
64 $(if $(filter SKIA,$(BUILD_TYPE)),skia) \
67 $(eval $(call gb_Library_add_exception_objects,vclplug_win,\
68 vcl/source/opengl/win/context \
69 vcl/win/app/saldata \
70 vcl/win/app/salinfo \
71 vcl/win/app/salinst \
72 vcl/win/app/salshl \
73 vcl/win/app/saltimer \
74 vcl/win/dtrans/APNDataObject \
75 vcl/win/dtrans/clipboardmanager \
76 vcl/win/dtrans/DataFmtTransl \
77 vcl/win/dtrans/DOTransferable \
78 vcl/win/dtrans/DtObjFactory \
79 vcl/win/dtrans/DTransHelper \
80 vcl/win/dtrans/Fetc \
81 vcl/win/dtrans/FetcList \
82 vcl/win/dtrans/FmtFilter \
83 vcl/win/dtrans/ftransl \
84 vcl/win/dtrans/generic_clipboard \
85 vcl/win/dtrans/globals \
86 vcl/win/dtrans/idroptarget \
87 vcl/win/dtrans/ImplHelper \
88 vcl/win/dtrans/MtaOleClipb \
89 vcl/win/dtrans/source \
90 vcl/win/dtrans/sourcecontext \
91 vcl/win/dtrans/target \
92 vcl/win/dtrans/targetdragcontext \
93 vcl/win/dtrans/targetdropcontext \
94 vcl/win/dtrans/TxtCnvtHlp \
95 vcl/win/dtrans/WinClipboard \
96 vcl/win/dtrans/XNotifyingDataObject \
97 vcl/win/dtrans/XTDataObject \
98 vcl/win/gdi/gdiimpl \
99 vcl/win/gdi/salbmp \
100 vcl/win/gdi/salfont \
101 vcl/win/gdi/salgdi \
102 vcl/win/gdi/salgdi2 \
103 vcl/win/gdi/salgdi_gdiplus \
104 vcl/win/gdi/salnativewidgets-luna \
105 vcl/win/gdi/salprn \
106 vcl/win/gdi/salvd \
107 vcl/win/gdi/winlayout \
108 vcl/win/gdi/DWriteTextRenderer \
109 vcl/win/window/keynames \
110 vcl/win/window/salframe \
111 vcl/win/window/salmenu \
112 vcl/win/window/salobj \
113 $(if $(filter SKIA,$(BUILD_TYPE)), \
114 vcl/skia/win/gdiimpl ) \
117 $(eval $(call gb_Library_use_system_win32_libs,vclplug_win,\
118 advapi32 \
119 d2d1 \
120 dwrite \
121 gdi32 \
122 gdiplus \
123 imm32 \
124 ole32 \
125 oleaut32 \
126 shell32 \
127 shlwapi \
128 uuid \
129 version \
130 winspool \
133 $(eval $(call gb_Library_add_nativeres,vclplug_win,vcl/salsrc))
135 # HACK: dependency on icon themes so running unit tests don't
136 # prevent delivering these by having open file handles on WNT
137 ifeq ($(gb_Side),host)
138 $(eval $(call gb_Library_use_package,vclplug_win,postprocess_images))
139 endif
141 # vim: set noet sw=4 ts=4: