Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef ASH_WM_COMMON_ASH_WM_COMMON_EXPORT_H_ | |
| 6 #define ASH_WM_COMMON_ASH_WM_COMMON_EXPORT_H_ | |
| 7 | |
| 8 // Defines ASH_WM_COMMON_EXPORT so that functionality implemented by the Ash | |
| 9 // module can | |
|
James Cook
2016/05/03 18:43:10
nit: join with next line
sky
2016/05/03 19:10:06
Done.
| |
| 10 // be exported to consumers. | |
| 11 | |
| 12 #if defined(COMPONENT_BUILD) | |
| 13 #if defined(WIN32) | |
| 14 | |
| 15 #if defined(ASH_WM_COMMON_IMPLEMENTATION) | |
| 16 #define ASH_WM_COMMON_EXPORT __declspec(dllexport) | |
| 17 #else | |
| 18 #define ASH_WM_COMMON_EXPORT __declspec(dllimport) | |
| 19 #endif // defined(ASH_WM_COMMON_IMPLEMENTATION) | |
| 20 | |
| 21 #else // defined(WIN32) | |
| 22 #if defined(ASH_WM_COMMON_IMPLEMENTATION) | |
| 23 #define ASH_WM_COMMON_EXPORT __attribute__((visibility("default"))) | |
| 24 #else | |
| 25 #define ASH_WM_COMMON_EXPORT | |
| 26 #endif | |
| 27 #endif | |
| 28 | |
| 29 #else // defined(COMPONENT_BUILD) | |
| 30 #define ASH_WM_COMMON_EXPORT | |
| 31 #endif | |
| 32 | |
| 33 #endif // ASH_WM_COMMON_ASH_WM_COMMON_EXPORT_H_ | |
| OLD | NEW |