| Index: device/bluetooth/bluetooth_export.h
|
| diff --git a/device/bluetooth/bluetooth_export.h b/device/bluetooth/bluetooth_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e3887d2dbf627e06fb4545b32a27ee43d9918399
|
| --- /dev/null
|
| +++ b/device/bluetooth/bluetooth_export.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2014 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 DEVICE_BLUETOOTH_BLUETOOTH_EXPORT_H_
|
| +#define DEVICE_BLUETOOTH_BLUETOOTH_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(BLUETOOTH_IMPLEMENTATION)
|
| +#define BLUETOOTH_EXPORT __declspec(dllexport)
|
| +#define BLUETOOTH_EXPORT_PRIVATE __declspec(dllexport)
|
| +#else
|
| +#define BLUETOOTH_EXPORT __declspec(dllimport)
|
| +#define BLUETOOTH_EXPORT_PRIVATE __declspec(dllimport)
|
| +#endif // defined(BLUETOOTH_IMPLEMENTATION)
|
| +
|
| +#else // defined(WIN32)
|
| +#if defined(BLUETOOTH_IMPLEMENTATION)
|
| +#define BLUETOOTH_EXPORT __attribute__((visibility("default")))
|
| +#define BLUETOOTH_EXPORT_PRIVATE __attribute__((visibility("default")))
|
| +#else
|
| +#define BLUETOOTH_EXPORT
|
| +#define BLUETOOTH_EXPORT_PRIVATE
|
| +#endif // defined(BLUETOOTH_IMPLEMENTATION)
|
| +#endif
|
| +
|
| +#else // defined(COMPONENT_BUILD)
|
| +#define BLUETOOTH_EXPORT
|
| +#define BLUETOOTH_EXPORT_PRIVATE
|
| +#endif
|
| +
|
| +#endif // DEVICE_BLUETOOTH_BLUETOOTH_EXPORT_H_
|
|
|