blob: c8aa3947e8b7fb75359d181bc09051496c73bbcf [file] [log] [blame]
Avi Drissman3e1a26c2022-09-15 20:26:031// Copyright 2014 The Chromium Authors
[email protected]ffff5b32014-06-25 21:31:082// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
Sumaid Syedc2fdda4a2021-08-10 05:50:065#ifndef UI_GFX_IPC_GFX_IPC_EXPORT_H_
6#define UI_GFX_IPC_GFX_IPC_EXPORT_H_
[email protected]ffff5b32014-06-25 21:31:087
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]ffff5b32014-06-25 21:31:0818#define GFX_IPC_EXPORT __attribute__((visibility("default")))
[email protected]ffff5b32014-06-25 21:31:0819#endif
20
21#else // defined(COMPONENT_BUILD)
22#define GFX_IPC_EXPORT
23#endif
24
Sumaid Syedc2fdda4a2021-08-10 05:50:0625#endif // UI_GFX_IPC_GFX_IPC_EXPORT_H_