chromium/components/remote_cocoa/app_shim/remote_cocoa_app_shim_export.h

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

#ifndef COMPONENTS_REMOTE_COCOA_APP_SHIM_REMOTE_COCOA_APP_SHIM_EXPORT_H_
#define COMPONENTS_REMOTE_COCOA_APP_SHIM_REMOTE_COCOA_APP_SHIM_EXPORT_H_

// Defines REMOTE_COCOA_APP_SHIM_EXPORT so that functionality implemented by the
// RemoteCocoa app shim module can be exported to consumers.

#if defined(COMPONENT_BUILD)
#if defined(REMOTE_COCOA_APP_SHIM_IMPLEMENTATION)
#define REMOTE_COCOA_APP_SHIM_EXPORT __attribute__((visibility("default")))
#else
#define REMOTE_COCOA_APP_SHIM_EXPORT
#endif

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

#endif  // COMPONENTS_REMOTE_COCOA_APP_SHIM_REMOTE_COCOA_APP_SHIM_EXPORT_H_