Revert of Call to CrosSettings::Set() is replaced by OwnerSettingsService::Set()...
[chromium-blink-merge.git] / ui / android / ui_android_export.h
blob1beb2ef390422c899b8ad16e0213aced034aaf81
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.
5 #ifndef UI_ANDROID_UI_ANDROID_EXPORT_H_
6 #define UI_ANDROID_UI_ANDROID_EXPORT_H_
8 // Defines UI_ANDROID_EXPORT so that functionality implemented by the UI module
9 // can be exported to consumers.
11 #if defined(COMPONENT_BUILD)
13 #if defined(WIN32)
14 #error Unsupported target architecture.
15 #else // !defined(WIN32)
17 #if defined(UI_ANDROID_IMPLEMENTATION)
18 #define UI_ANDROID_EXPORT __attribute__((visibility("default")))
19 #else
20 #define UI_ANDROID_EXPORT
21 #endif
23 #endif
25 #else // !defined(COMPONENT_BUILD)
27 #define UI_ANDROID_EXPORT
29 #endif
31 #endif // UI_ANDROID_UI_ANDROID_EXPORT_H_