| Index: components/display_compositor/display_compositor_export.h
|
| diff --git a/components/display_compositor/display_compositor_export.h b/components/display_compositor/display_compositor_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..031e93984c1c021e01889ef481ea081c119b292d
|
| --- /dev/null
|
| +++ b/components/display_compositor/display_compositor_export.h
|
| @@ -0,0 +1,33 @@
|
| +// 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_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
|
| +#define COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
|
| +#define DISPLAY_COMPOSITOR_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define DISPLAY_COMPOSITOR_EXPORT __declspec(dllimport)
|
| +#endif // defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
|
| +
|
| +#else // !defined(WIN32)
|
| +
|
| +#if defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
|
| +#define DISPLAY_COMPOSITOR_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define DISPLAY_COMPOSITOR_EXPORT
|
| +#endif // defined(DISPLAY_COMPOSITOR_IMPLEMENTATION)
|
| +
|
| +#endif // defined(WIN32)
|
| +
|
| +#else // !defined(COMPONENT_BUILD)
|
| +
|
| +#define DISPLAY_COMPOSITOR_EXPORT
|
| +
|
| +#endif // define(COMPONENT_BUILD)
|
| +
|
| +#endif // COMPONENTS_DISPLAY_COMPOSITOR_DISPLAY_COMPOSITOR_EXPORT_H_
|
|
|