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

Unified Diff: device/bluetooth/BUILD.gn

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 | « no previous file | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/BUILD.gn
diff --git a/device/bluetooth/BUILD.gn b/device/bluetooth/BUILD.gn
index 28f9478614671f140dbc6e1112f4a1532f4461e9..8bff93c7c63b22db1368f75888ff3998fc857412 100644
--- a/device/bluetooth/BUILD.gn
+++ b/device/bluetooth/BUILD.gn
@@ -15,7 +15,7 @@ config("bluetooth_config") {
}
}
-static_library("bluetooth") {
+component("bluetooth") {
sources = [
"bluetooth_adapter.cc",
"bluetooth_adapter.h",
@@ -41,6 +41,7 @@ static_library("bluetooth") {
"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",
@@ -93,6 +94,10 @@ static_library("bluetooth") {
all_dependent_configs = [ ":bluetooth_config" ]
+ defines = [
+ "BLUETOOTH_IMPLEMENTATION",
+ ]
+
deps = [
":strings",
"//base",
« no previous file with comments | « no previous file | device/bluetooth/bluetooth.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698