| Index: blimp/common/blimp_common_export.h
|
| diff --git a/blimp/common/blimp_common_export.h b/blimp/common/blimp_common_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6e031b8c0c5c2867b1c24466593a5c2ae68bd166
|
| --- /dev/null
|
| +++ b/blimp/common/blimp_common_export.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2015 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 BLIMP_COMMON_BLIMP_COMMON_EXPORT_H_
|
| +#define BLIMP_COMMON_BLIMP_COMMON_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(BLIMP_COMMON_IMPLEMENTATION)
|
| +#define BLIMP_COMMON_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define BLIMP_COMMON_EXPORT __declspec(dllimport)
|
| +#endif // defined(BLIMP_COMMON_IMPLEMENTATION)
|
| +
|
| +#else // defined(WIN32)
|
| +#if defined(BLIMP_COMMON_IMPLEMENTATION)
|
| +#define BLIMP_COMMON_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define BLIMP_COMMON_EXPORT
|
| +#endif // defined(BLIMP_COMMON_IMPLEMENTATION)
|
| +#endif
|
| +
|
| +#else // defined(COMPONENT_BUILD)
|
| +#define BLIMP_COMMON_EXPORT
|
| +#endif
|
| +
|
| +#endif // BLIMP_COMMON_BLIMP_COMMON_EXPORT_H_
|
|
|