blob: 1a8ceec4c325208de4d5275ae3fdd00af7da0f2c [file] [log] [blame]
// Copyright (c) 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_VR_VR_UI_EXPORT_H_
#define CHROME_BROWSER_VR_VR_UI_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(VR_UI_IMPLEMENTATION)
#define VR_UI_EXPORT __declspec(dllexport)
#else
#define VR_UI_EXPORT __declspec(dllimport)
#endif // defined(VR_UI_IMPLEMENTATION)
#else // defined(WIN32)
#if defined(VR_UI_IMPLEMENTATION)
#define VR_UI_EXPORT __attribute__((visibility("default")))
#else
#define VR_UI_EXPORT
#endif // defined(VR_UI_IMPLEMENTATION)
#endif
#else // defined(COMPONENT_BUILD)
#define VR_UI_EXPORT
#endif
#endif // CHROME_BROWSER_VR_VR_UI_EXPORT_H_