OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 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 COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_ |
| 6 #define COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_ |
| 7 |
| 8 // TODO(tapted): Enable this. |
| 9 #if 0 && defined(COMPONENT_BUILD) |
| 10 #if defined(WIN32) |
| 11 |
| 12 #if defined(NATIVE_APP_WINDOW_IMPLEMENTATION) |
| 13 #define NATIVE_APP_WINDOW_EXPORT __declspec(dllexport) |
| 14 #else |
| 15 #define NATIVE_APP_WINDOW_EXPORT __declspec(dllimport) |
| 16 #endif // defined(NATIVE_APP_WINDOW_IMPLEMENTATION) |
| 17 |
| 18 #if defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION) |
| 19 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __declspec(dllexport) |
| 20 #else |
| 21 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __declspec(dllimport) |
| 22 #endif // defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION) |
| 23 |
| 24 #else // defined(WIN32) |
| 25 |
| 26 #if defined(NATIVE_APP_WINDOW_IMPLEMENTATION) |
| 27 #define NATIVE_APP_WINDOW_EXPORT __attribute__((visibility("default"))) |
| 28 #else |
| 29 #define NATIVE_APP_WINDOW_EXPORT |
| 30 #endif |
| 31 |
| 32 #if defined(NATIVE_APP_WINDOW_VIEWS_IMPLEMENTATION) |
| 33 #define NATIVE_APP_WINDOW_VIEWS_EXPORT __attribute__((visibility("default"))) |
| 34 #else |
| 35 #define NATIVE_APP_WINDOW_VIEWS_EXPORT |
| 36 #endif |
| 37 |
| 38 #endif // defined(WIN32) |
| 39 |
| 40 #else // defined(COMPONENT_BUILD) |
| 41 #define NATIVE_APP_WINDOW_EXPORT |
| 42 #define NATIVE_APP_WINDOW_VIEWS_EXPORT |
| 43 #endif |
| 44 |
| 45 #endif // COMPONENTS_NATIVE_APP_WINDOW_NATIVE_APP_WINDOW_EXPORT_H_ |
OLD | NEW |