| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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 SYNC_SYNC_EXPORT_H_ | 5 #ifndef SYNC_SYNC_EXPORT_H_ |
| 6 #define SYNC_SYNC_EXPORT_H_ | 6 #define SYNC_SYNC_EXPORT_H_ |
| 7 | 7 |
| 8 // TODO(akalin): Remove '0 && ' when sync becomes a component. | 8 #if defined(COMPONENT_BUILD) |
| 9 #if 0 && defined(COMPONENT_BUILD) | |
| 10 #if defined(WIN32) | 9 #if defined(WIN32) |
| 11 | 10 |
| 12 #if defined(SYNC_IMPLEMENTATION) | 11 #if defined(SYNC_IMPLEMENTATION) |
| 13 #define SYNC_EXPORT __declspec(dllexport) | 12 #define SYNC_EXPORT __declspec(dllexport) |
| 14 #define SYNC_EXPORT_PRIVATE __declspec(dllexport) | 13 #define SYNC_EXPORT_PRIVATE __declspec(dllexport) |
| 15 #elif defined(SYNC_TEST) | 14 #elif defined(SYNC_TEST) |
| 16 #define SYNC_EXPORT __declspec(dllimport) | 15 #define SYNC_EXPORT __declspec(dllimport) |
| 17 #define SYNC_EXPORT_PRIVATE __declspec(dllimport) | 16 #define SYNC_EXPORT_PRIVATE __declspec(dllimport) |
| 18 #else | 17 #else |
| 19 #define SYNC_EXPORT __declspec(dllimport) | 18 #define SYNC_EXPORT __declspec(dllimport) |
| (...skipping 12 matching lines...) Expand all Loading... |
| 32 #define SYNC_EXPORT_PRIVATE | 31 #define SYNC_EXPORT_PRIVATE |
| 33 #endif // defined(SYNC_IMPLEMENTATION) | 32 #endif // defined(SYNC_IMPLEMENTATION) |
| 34 #endif | 33 #endif |
| 35 | 34 |
| 36 #else // defined(COMPONENT_BUILD) | 35 #else // defined(COMPONENT_BUILD) |
| 37 #define SYNC_EXPORT | 36 #define SYNC_EXPORT |
| 38 #define SYNC_EXPORT_PRIVATE | 37 #define SYNC_EXPORT_PRIVATE |
| 39 #endif | 38 #endif |
| 40 | 39 |
| 41 #endif // SYNC_SYNC_EXPORT_H_ | 40 #endif // SYNC_SYNC_EXPORT_H_ |
| OLD | NEW |