| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CoreExport_h | 5 #ifndef CoreExport_h |
| 6 #define CoreExport_h | 6 #define CoreExport_h |
| 7 | 7 |
| 8 #include "wtf/Compiler.h" | 8 #include "platform/wtf/Compiler.h" |
| 9 | 9 |
| 10 #if defined(COMPONENT_BUILD) | 10 #if defined(COMPONENT_BUILD) |
| 11 #if defined(WIN32) | 11 #if defined(WIN32) |
| 12 | 12 |
| 13 #if defined(BLINK_CORE_IMPLEMENTATION) && BLINK_CORE_IMPLEMENTATION | 13 #if defined(BLINK_CORE_IMPLEMENTATION) && BLINK_CORE_IMPLEMENTATION |
| 14 #define CORE_EXPORT __declspec(dllexport) | 14 #define CORE_EXPORT __declspec(dllexport) |
| 15 #else | 15 #else |
| 16 #define CORE_EXPORT __declspec(dllimport) | 16 #define CORE_EXPORT __declspec(dllimport) |
| 17 #endif // defined(BLINK_CORE_IMPLEMENTATION) && BLINK_CORE_IMPLEMENTATION | 17 #endif // defined(BLINK_CORE_IMPLEMENTATION) && BLINK_CORE_IMPLEMENTATION |
| 18 | 18 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 40 #else | 40 #else |
| 41 #error Unknown compiler | 41 #error Unknown compiler |
| 42 #endif | 42 #endif |
| 43 #else // !BLINK_CORE_IMPLEMENTATION | 43 #else // !BLINK_CORE_IMPLEMENTATION |
| 44 #define CORE_TEMPLATE_CLASS_EXPORT | 44 #define CORE_TEMPLATE_CLASS_EXPORT |
| 45 #define CORE_EXTERN_TEMPLATE_EXPORT CORE_EXPORT | 45 #define CORE_EXTERN_TEMPLATE_EXPORT CORE_EXPORT |
| 46 #define CORE_TEMPLATE_EXPORT | 46 #define CORE_TEMPLATE_EXPORT |
| 47 #endif | 47 #endif |
| 48 | 48 |
| 49 #endif // CoreExport_h | 49 #endif // CoreExport_h |
| OLD | NEW |