| Index: components/reporting/core/common/reporting_export.h
|
| diff --git a/components/reporting/core/common/reporting_export.h b/components/reporting/core/common/reporting_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5804f8bdda9982e0905b4e40de981599b73e8372
|
| --- /dev/null
|
| +++ b/components/reporting/core/common/reporting_export.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2016 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_REPORTING_CORE_COMMON_REPORTING_EXPORT_H_
|
| +#define COMPONENTS_REPORTING_CORE_COMMON_REPORTING_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(REPORTING_IMPLEMENTATION)
|
| +#define REPORTING_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define REPORTING_EXPORT __declspec(dllimport)
|
| +#endif
|
| +
|
| +#else // defined(WIN32)
|
| +
|
| +#if defined(REPORTING_IMPLEMENTATION)
|
| +#define REPORTING_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define REPORTING_EXPORT
|
| +#endif
|
| +
|
| +#endif // defined(WIN32)
|
| +#else // defined(COMPONENT_BUILD)
|
| +
|
| +#define REPORTING_EXPORT
|
| +
|
| +#endif
|
| +
|
| +#endif // COMPONENTS_REPORTING_CORE_COMMON_REPORTING_EXPORT_H_
|
|
|