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

Unified Diff: device/bluetooth/bluetooth.gyp

Issue 655093002: [Clean up] Introduce a BLUETOOTH_EXPORT macro to control symbol visibility outside of //device/blue… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Export BluetoothUUID's PrintTo as well Created 6 years, 2 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 | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_adapter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth.gyp
diff --git a/device/bluetooth/bluetooth.gyp b/device/bluetooth/bluetooth.gyp
index d6b8c7e95a61108dd9d6a905c8a1ed8d7577a278..ccc3832a19c9974f0d802799b25a7cfecb217242 100644
--- a/device/bluetooth/bluetooth.gyp
+++ b/device/bluetooth/bluetooth.gyp
@@ -10,7 +10,7 @@
{
# GN version: //device/bluetooth
'target_name': 'device_bluetooth',
- 'type': 'static_library',
+ 'type': '<(component)',
'dependencies': [
'../../base/base.gyp:base',
'../../net/net.gyp:net',
@@ -43,6 +43,7 @@
'bluetooth_discovery_manager_mac.h',
'bluetooth_discovery_session.cc',
'bluetooth_discovery_session.h',
+ 'bluetooth_export.h',
'bluetooth_gatt_characteristic.cc',
'bluetooth_gatt_characteristic.h',
'bluetooth_gatt_connection.cc',
@@ -94,6 +95,9 @@
'bluetooth_uuid.cc',
'bluetooth_uuid.h',
],
+ 'defines': [
+ 'BLUETOOTH_IMPLEMENTATION',
+ ],
'conditions': [
['chromeos==1', {
'dependencies': [
« no previous file with comments | « device/bluetooth/BUILD.gn ('k') | device/bluetooth/bluetooth_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698