1*635a8641SAndroid Build Coastguard Worker // Copyright 2014 The Chromium Authors. All rights reserved. 2*635a8641SAndroid Build Coastguard Worker // Use of this source code is governed by a BSD-style license that can be 3*635a8641SAndroid Build Coastguard Worker // found in the LICENSE file. 4*635a8641SAndroid Build Coastguard Worker 5*635a8641SAndroid Build Coastguard Worker #ifndef DEVICE_BLUETOOTH_DEVICE_BLUETOOTH_EXPORT_H_ 6*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_DEVICE_BLUETOOTH_EXPORT_H_ 7*635a8641SAndroid Build Coastguard Worker 8*635a8641SAndroid Build Coastguard Worker #if defined(COMPONENT_BUILD) && defined(WIN32) 9*635a8641SAndroid Build Coastguard Worker 10*635a8641SAndroid Build Coastguard Worker #if defined(DEVICE_BLUETOOTH_IMPLEMENTATION) 11*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_EXPORT __declspec(dllexport) 12*635a8641SAndroid Build Coastguard Worker #else 13*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_EXPORT __declspec(dllimport) 14*635a8641SAndroid Build Coastguard Worker #endif 15*635a8641SAndroid Build Coastguard Worker 16*635a8641SAndroid Build Coastguard Worker #elif defined(COMPONENT_BUILD) && !defined(WIN32) 17*635a8641SAndroid Build Coastguard Worker 18*635a8641SAndroid Build Coastguard Worker #if defined(DEVICE_BLUETOOTH_IMPLEMENTATION) 19*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_EXPORT __attribute__((visibility("default"))) 20*635a8641SAndroid Build Coastguard Worker #else 21*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_EXPORT 22*635a8641SAndroid Build Coastguard Worker #endif 23*635a8641SAndroid Build Coastguard Worker 24*635a8641SAndroid Build Coastguard Worker #else 25*635a8641SAndroid Build Coastguard Worker #define DEVICE_BLUETOOTH_EXPORT 26*635a8641SAndroid Build Coastguard Worker #endif 27*635a8641SAndroid Build Coastguard Worker 28*635a8641SAndroid Build Coastguard Worker #endif // DEVICE_BLUETOOTH_DEVICE_BLUETOOTH_EXPORT_H_ 29