Chromium Code Reviews| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
| 
 
oshima
2016/11/30 22:55:38
nit: 2016
 
kylechar
2016/12/01 13:47:53
Done.
 
 | |
| 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 UI_DISPLAY_MANAGER_DISPLAY_MANAGER_EXPORT_H_ | |
| 6 #define UI_DISPLAY_MANAGER_DISPLAY_MANAGER_EXPORT_H_ | |
| 7 | |
| 8 // Defines DISPLAY_MANAGER_EXPORT so that functionality implemented by the UI | |
| 9 // module | |
| 10 // can be exported to consumers. | |
| 11 | |
| 12 #if defined(COMPONENT_BUILD) | |
| 13 | |
| 14 #if defined(WIN32) | |
| 15 | |
| 16 #if defined(DISPLAY_MANAGER_IMPLEMENTATION) | |
| 17 #define DISPLAY_MANAGER_EXPORT __declspec(dllexport) | |
| 18 #else | |
| 19 #define DISPLAY_MANAGER_EXPORT __declspec(dllimport) | |
| 20 #endif | |
| 21 | |
| 22 #else // !defined(WIN32) | |
| 23 | |
| 24 #if defined(DISPLAY_MANAGER_IMPLEMENTATION) | |
| 25 #define DISPLAY_MANAGER_EXPORT __attribute__((visibility("default"))) | |
| 26 #else | |
| 27 #define DISPLAY_MANAGER_EXPORT | |
| 28 #endif | |
| 29 | |
| 30 #endif | |
| 31 | |
| 32 #else // !defined(COMPONENT_BUILD) | |
| 33 | |
| 34 #define DISPLAY_MANAGER_EXPORT | |
| 35 | |
| 36 #endif | |
| 37 | |
| 38 #endif // UI_DISPLAY_MANAGER_DISPLAY_MANAGER_EXPORT_H_ | |
| OLD | NEW |