1 diff --git a/tools/sk_app/WindowContext.h b/tools/sk_app/WindowContext.h
2 index 79f6d72f35..428d198159 100644
3 --- a/tools/sk_app/WindowContext.h
4 +++ b/tools/sk_app/WindowContext.h
5 @@ -22,7 +22,7 @@ class Context;
10 +class SK_API WindowContext {
12 WindowContext(const DisplayParams&);
14 diff --git a/tools/sk_app/mac/WindowContextFactory_mac.h b/tools/sk_app/mac/WindowContextFactory_mac.h
15 index 3e136a8f57..affb89e43e 100644
16 --- a/tools/sk_app/mac/WindowContextFactory_mac.h
17 +++ b/tools/sk_app/mac/WindowContextFactory_mac.h
18 @@ -52,7 +52,7 @@ std::unique_ptr<WindowContext> MakeDawnMTLForMac(const MacWindowInfo&, const Dis
22 -std::unique_ptr<WindowContext> MakeMetalForMac(const MacWindowInfo&, const DisplayParams&);
23 +SK_API std::unique_ptr<WindowContext> MakeMetalForMac(const MacWindowInfo&, const DisplayParams&);
24 #ifdef SK_GRAPHITE_ENABLED
25 std::unique_ptr<WindowContext> MakeGraphiteMetalForMac(const MacWindowInfo&, const DisplayParams&);
27 diff --git a/tools/sk_app/unix/WindowContextFactory_unix.h b/tools/sk_app/unix/WindowContextFactory_unix.h
28 index 11bd2d2ac2..09c92dc417 100644
29 --- a/tools/sk_app/unix/WindowContextFactory_unix.h
30 +++ b/tools/sk_app/unix/WindowContextFactory_unix.h
31 @@ -36,20 +36,20 @@ struct XlibWindowInfo {
35 -std::unique_ptr<WindowContext> MakeVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
36 +SK_API std::unique_ptr<WindowContext> MakeVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
38 -std::unique_ptr<WindowContext> MakeGLForXlib(const XlibWindowInfo&, const DisplayParams&);
39 +SK_API std::unique_ptr<WindowContext> MakeGLForXlib(const XlibWindowInfo&, const DisplayParams&);
42 -std::unique_ptr<WindowContext> MakeDawnVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
43 +SK_API std::unique_ptr<WindowContext> MakeDawnVulkanForXlib(const XlibWindowInfo&, const DisplayParams&);
46 #if defined(SK_DAWN) && defined(SK_GRAPHITE_ENABLED)
47 std::unique_ptr<WindowContext> MakeGraphiteDawnVulkanForXlib(const XlibWindowInfo&,
48 const DisplayParams&);
51 -std::unique_ptr<WindowContext> MakeRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
52 +SK_API std::unique_ptr<WindowContext> MakeRasterForXlib(const XlibWindowInfo&, const DisplayParams&);
54 } // namespace window_context_factory
56 diff --git a/tools/sk_app/win/WindowContextFactory_win.h b/tools/sk_app/win/WindowContextFactory_win.h
57 index c05a4f0acf..fc27cd2afb 100644
58 --- a/tools/sk_app/win/WindowContextFactory_win.h
59 +++ b/tools/sk_app/win/WindowContextFactory_win.h
60 @@ -13,31 +13,33 @@ struct DisplayParams;
64 +#include "include/core/SkTypes.h"
71 namespace window_context_factory {
73 -std::unique_ptr<WindowContext> MakeVulkanForWin(HWND, const DisplayParams&);
74 +SK_API std::unique_ptr<WindowContext> MakeVulkanForWin(HWND, const DisplayParams&);
76 -std::unique_ptr<WindowContext> MakeGLForWin(HWND, const DisplayParams&);
77 +SK_API std::unique_ptr<WindowContext> MakeGLForWin(HWND, const DisplayParams&);
79 -std::unique_ptr<WindowContext> MakeANGLEForWin(HWND, const DisplayParams&);
80 +SK_API std::unique_ptr<WindowContext> MakeANGLEForWin(HWND, const DisplayParams&);
83 -std::unique_ptr<WindowContext> MakeD3D12ForWin(HWND, const DisplayParams&);
84 +SK_API std::unique_ptr<WindowContext> MakeD3D12ForWin(HWND, const DisplayParams&);
88 -std::unique_ptr<WindowContext> MakeDawnD3D12ForWin(HWND, const DisplayParams&);
89 +SK_API std::unique_ptr<WindowContext> MakeDawnD3D12ForWin(HWND, const DisplayParams&);
90 #ifdef SK_GRAPHITE_ENABLED
91 std::unique_ptr<WindowContext> MakeGraphiteDawnD3D12ForWin(HWND, const DisplayParams&);
95 -std::unique_ptr<WindowContext> MakeRasterForWin(HWND, const DisplayParams&);
96 +SK_API std::unique_ptr<WindowContext> MakeRasterForWin(HWND, const DisplayParams&);
98 } // namespace window_context_factory