Chromium Code Reviews| Index: mojo/service_manager/service_manager_export.h |
| diff --git a/mojo/service_manager/service_manager_export.h b/mojo/service_manager/service_manager_export.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..672e50ca0ebc3ffb36f7f2347fcaceccad5941b8 |
| --- /dev/null |
| +++ b/mojo/service_manager/service_manager_export.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2013 The Chromium Authors. All rights reserved. |
|
sky
2014/03/19 23:48:29
2014
DaveMoore
2014/03/20 00:04:26
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MOJO_SERVICE_MANAGER_SERVICE_MANAGER_EXPORT_H_ |
| +#define MOJO_SERVICE_MANAGER_SERVICE_MANAGER_EXPORT_H_ |
| + |
| +#if defined(COMPONENT_BUILD) |
| + |
| +#if defined(WIN32) |
| + |
| +#if defined(MOJO_SERVICE_MANAGER_IMPLEMENTATION) |
| +#define MOJO_SERVICE_MANAGER_EXPORT __declspec(dllexport) |
| +#else |
| +#define MOJO_SERVICE_MANAGER_EXPORT __declspec(dllimport) |
| +#endif |
| + |
| +#else // !defined(WIN32) |
| + |
| +#if defined(MOJO_SERVICE_MANAGER_IMPLEMENTATION) |
| +#define MOJO_SERVICE_MANAGER_EXPORT __attribute__((visibility("default"))) |
| +#else |
| +#define MOJO_SERVICE_MANAGER_EXPORT |
| +#endif |
| + |
| +#endif // defined(WIN32) |
| + |
| +#else // !defined(COMPONENT_BUILD) |
| +#define MOJO_SERVICE_MANAGER_EXPORT |
| +#endif |
| + |
| +#endif // MOJO_SERVICE_MANAGER_SERVICE_MANAGER_EXPORT_H_ |