blob: 355e5b068afdb5a6443c1bdca535a92adad26989 [file] [log] [blame]
// Copyright 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 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_