Avi Drissman | 3e1a26c | 2022-09-15 20:26:03 | [diff] [blame] | 1 | // Copyright 2014 The Chromium Authors |
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. | ||||
4 | |||||
Sumaid Syed | c2fdda4a | 2021-08-10 05:50:06 | [diff] [blame] | 5 | #ifndef UI_GFX_IPC_GFX_IPC_EXPORT_H_ |
6 | #define UI_GFX_IPC_GFX_IPC_EXPORT_H_ | ||||
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 7 | |
8 | #if defined(COMPONENT_BUILD) | ||||
9 | #if defined(WIN32) | ||||
10 | |||||
11 | #if defined(GFX_IPC_IMPLEMENTATION) | ||||
12 | #define GFX_IPC_EXPORT __declspec(dllexport) | ||||
13 | #else | ||||
14 | #define GFX_IPC_EXPORT __declspec(dllimport) | ||||
15 | #endif // defined(GFX_IPC_IMPLEMENTATION) | ||||
16 | |||||
17 | #else // defined(WIN32) | ||||
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 18 | #define GFX_IPC_EXPORT __attribute__((visibility("default"))) |
[email protected] | ffff5b3 | 2014-06-25 21:31:08 | [diff] [blame] | 19 | #endif |
20 | |||||
21 | #else // defined(COMPONENT_BUILD) | ||||
22 | #define GFX_IPC_EXPORT | ||||
23 | #endif | ||||
24 | |||||
Sumaid Syed | c2fdda4a | 2021-08-10 05:50:06 | [diff] [blame] | 25 | #endif // UI_GFX_IPC_GFX_IPC_EXPORT_H_ |