| OLD | NEW |
| 1 // Copyright (c) 2012 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 |
| 1 #ifndef UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ | 5 #ifndef UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ |
| 2 #define UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ | 6 #define UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ |
| 3 | 7 |
| 4 // Defines VIEWS_EXAMPLES_EXPORT so that functionality implemented by the | 8 // Defines VIEWS_EXAMPLES_EXPORT so that functionality implemented by the |
| 5 // views_examples_with_content_lib module can be exported to consumers. | 9 // views_examples_with_content_lib module can be exported to consumers. |
| 6 | 10 |
| 7 #if defined(COMPONENT_BUILD) | 11 #if defined(COMPONENT_BUILD) |
| 8 #if defined(WIN32) | 12 #if defined(WIN32) |
| 9 | 13 |
| 10 #if defined(VIEWS_EXAMPLES_IMPLEMENTATION) | 14 #if defined(VIEWS_EXAMPLES_IMPLEMENTATION) |
| 11 #define VIEWS_EXAMPLES_EXPORT __declspec(dllexport) | 15 #define VIEWS_EXAMPLES_EXPORT __declspec(dllexport) |
| 12 #else | 16 #else |
| 13 #define VIEWS_EXAMPLES_EXPORT __declspec(dllimport) | 17 #define VIEWS_EXAMPLES_EXPORT __declspec(dllimport) |
| 14 #endif // defined(VIEWS_EXAMPLES_IMPLEMENTATION) | 18 #endif // defined(VIEWS_EXAMPLES_IMPLEMENTATION) |
| 15 | 19 |
| 16 #else // defined(WIN32) | 20 #else // defined(WIN32) |
| 17 #if defined(VIEWS_EXAMPLES_IMPLEMENTATION) | 21 #if defined(VIEWS_EXAMPLES_IMPLEMENTATION) |
| 18 #define VIEWS_EXAMPLES_EXPORT __attribute__((visibility("default"))) | 22 #define VIEWS_EXAMPLES_EXPORT __attribute__((visibility("default"))) |
| 19 #else | 23 #else |
| 20 #define VIEWS_EXAMPLES_EXPORT | 24 #define VIEWS_EXAMPLES_EXPORT |
| 21 #endif | 25 #endif |
| 22 #endif | 26 #endif |
| 23 | 27 |
| 24 #else // defined(COMPONENT_BUILD) | 28 #else // defined(COMPONENT_BUILD) |
| 25 #define VIEWS_EXAMPLES_EXPORT | 29 #define VIEWS_EXAMPLES_EXPORT |
| 26 #endif | 30 #endif |
| 27 | 31 |
| 28 #endif // UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ | 32 #endif // UI_VIEWS_EXAMPLES_VIEWS_EXAMPLES_EXPORT_H_ |
| OLD | NEW |