| Index: components/secure_display/secure_display_export.h
|
| diff --git a/components/secure_display/secure_display_export.h b/components/secure_display/secure_display_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..bc158ebd42f51fcfa5bef7cbd9656d508c78c13e
|
| --- /dev/null
|
| +++ b/components/secure_display/secure_display_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 COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
|
| +#define COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(SECURE_DISPLAY_IMPLEMENTATION)
|
| +#define SECURE_DISPLAY_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define SECURE_DISPLAY_EXPORT __declspec(dllimport)
|
| +#endif // defined(SECURE_DISPLAY_IMPLEMENTATION)
|
| +
|
| +#else // defined(WIN32)
|
| +#if defined(SECURE_DISPLAY_IMPLEMENTATION)
|
| +#define SECURE_DISPLAY_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define SECURE_DISPLAY_EXPORT
|
| +#endif
|
| +#endif
|
| +
|
| +#else // defined(COMPONENT_BUILD)
|
| +#define SECURE_DISPLAY_EXPORT
|
| +#endif
|
| +
|
| +#endif // COMPONENTS_SECURE_DISPLAY_SECURE_DISPLAY_EXPORT_H_
|
|
|