chromium/gpu/ipc/gl_in_process_context_export.h

// Copyright 2014 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef GPU_IPC_GL_IN_PROCESS_CONTEXT_EXPORT_H_
#define GPU_IPC_GL_IN_PROCESS_CONTEXT_EXPORT_H_

#if defined(COMPONENT_BUILD)
#if defined(WIN32)

#if defined(GL_IN_PROCESS_CONTEXT_IMPLEMENTATION)
#define GL_IN_PROCESS_CONTEXT_EXPORT
#else
#define GL_IN_PROCESS_CONTEXT_EXPORT
#endif  // defined(GL_IN_PROCESS_CONTEXT_IMPLEMENTATION)

#else  // defined(WIN32)
#if defined(GL_IN_PROCESS_CONTEXT_IMPLEMENTATION)
#define GL_IN_PROCESS_CONTEXT_EXPORT
#else
#define GL_IN_PROCESS_CONTEXT_EXPORT
#endif
#endif

#else  // defined(COMPONENT_BUILD)
#define GL_IN_PROCESS_CONTEXT_EXPORT
#endif

#endif  // GPU_IPC_GL_IN_PROCESS_CONTEXT_EXPORT_H_