blob: a6649cf3354490ac6ec18a3b6bf8705e472de8d4 [file] [log] [blame]
Avi Drissman05dfbc822022-09-13 21:25:341// Copyright 2018 The Chromium Authors
Antoine Labour011cf772018-01-23 00:38:392// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef GPU_RASTER_EXPORT_H_
6#define GPU_RASTER_EXPORT_H_
7
Derek Schuff767eaa512023-12-11 19:46:098#if defined(COMPONENT_BUILD)
Antoine Labour011cf772018-01-23 00:38:399#if defined(WIN32)
10
11#if defined(RASTER_IMPLEMENTATION)
12#define RASTER_EXPORT __declspec(dllexport)
13#else
14#define RASTER_EXPORT __declspec(dllimport)
15#endif // defined(RASTER_IMPLEMENTATION)
16
17#else // defined(WIN32)
Antoine Labour011cf772018-01-23 00:38:3918#define RASTER_EXPORT __attribute__((visibility("default")))
Antoine Labour011cf772018-01-23 00:38:3919#endif
20
21#else // defined(COMPONENT_BUILD)
22#define RASTER_EXPORT
23#endif
24
25#endif // GPU_RASTER_EXPORT_H_