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 UI_ANDROID_UI_ANDROID_EXPORT_H_ |
| 6 #define UI_ANDROID_UI_ANDROID_EXPORT_H_ |
| 7 |
| 8 // Defines UI_ANDROID_EXPORT so that functionality implemented by the UI module |
| 9 // can be exported to consumers. |
| 10 |
| 11 #if defined(COMPONENT_BUILD) |
| 12 |
| 13 #if defined(WIN32) |
| 14 #error Unsupported target architecture. |
| 15 #else // !defined(WIN32) |
| 16 |
| 17 #if defined(UI_ANDROID_IMPLEMENTATION) |
| 18 #define UI_ANDROID_EXPORT __attribute__((visibility("default"))) |
| 19 #else |
| 20 #define UI_ANDROID_EXPORT |
| 21 #endif |
| 22 |
| 23 #endif |
| 24 |
| 25 #else // !defined(COMPONENT_BUILD) |
| 26 |
| 27 #define UI_ANDROID_EXPORT |
| 28 |
| 29 #endif |
| 30 |
| 31 #endif // UI_ANDROID_UI_ANDROID_EXPORT_H_ |
OLD | NEW |