Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: components/sync/base/sync_export.h

Issue 2240613002: [Sync] Convert sync to a static library. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Try getting rid of sync_core source set. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/base/sync_db_util.h ('k') | components/sync/base/sync_string_conversions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/base/sync_export.h
diff --git a/components/sync/base/sync_export.h b/components/sync/base/sync_export.h
deleted file mode 100644
index 1260e25b1e5422590e75f503e3dbbf76ced88b62..0000000000000000000000000000000000000000
--- a/components/sync/base/sync_export.h
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef COMPONENTS_SYNC_SYNC_EXPORT_H_
-#define COMPONENTS_SYNC_SYNC_EXPORT_H_
-
-#if defined(COMPONENT_BUILD)
-#if defined(WIN32)
-
-// TODO(skym): Remove SYNC_EXPORT_PRIVATE, see crbug/554242.
-
-#if defined(SYNC_IMPLEMENTATION)
-#define SYNC_EXPORT __declspec(dllexport)
-#define SYNC_EXPORT_PRIVATE __declspec(dllexport)
-#elif defined(SYNC_TEST)
-#define SYNC_EXPORT __declspec(dllimport)
-#define SYNC_EXPORT_PRIVATE __declspec(dllimport)
-#else
-#define SYNC_EXPORT __declspec(dllimport)
-#define SYNC_EXPORT_PRIVATE
-#endif // defined(SYNC_IMPLEMENTATION)
-
-#else // defined(WIN32)
-#if defined(SYNC_IMPLEMENTATION)
-#define SYNC_EXPORT __attribute__((visibility("default")))
-#define SYNC_EXPORT_PRIVATE __attribute__((visibility("default")))
-#elif defined(SYNC_TEST)
-#define SYNC_EXPORT
-#define SYNC_EXPORT_PRIVATE __attribute__((visibility("default")))
-#else
-#define SYNC_EXPORT
-#define SYNC_EXPORT_PRIVATE
-#endif // defined(SYNC_IMPLEMENTATION)
-#endif
-
-#else // defined(COMPONENT_BUILD)
-#define SYNC_EXPORT
-#define SYNC_EXPORT_PRIVATE
-#endif
-
-#endif // COMPONENTS_SYNC_SYNC_EXPORT_H_
« no previous file with comments | « components/sync/base/sync_db_util.h ('k') | components/sync/base/sync_string_conversions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698