Skip to content

Commit

Permalink
Disable chrome.bluetoothLowEnergy on non linux platforms
Browse files Browse the repository at this point in the history
BUG=648212

Review-Url: https://codereview.chromium.org/2353483002
Cr-Commit-Position: refs/heads/master@{#421505}
  • Loading branch information
beaufortfrancois authored and Commit bot committed Sep 28, 2016
1 parent 093451f commit ff04ae6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 30 deletions.
5 changes: 4 additions & 1 deletion chrome/test/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1360,7 +1360,6 @@ test("browser_tests") {
"../browser/extensions/api/autofill_private/autofill_private_apitest.cc",
"../browser/extensions/api/automation/automation_apitest.cc",
"../browser/extensions/api/autotest_private/autotest_private_apitest.cc",
"../browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc",
"../browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest_chromeos.cc",
"../browser/extensions/api/bookmark_manager_private/bookmark_manager_private_apitest.cc",
"../browser/extensions/api/bookmarks/bookmark_apitest.cc",
Expand Down Expand Up @@ -2659,6 +2658,10 @@ test("browser_tests") {
]
}
}

if (is_chromeos || (is_linux && use_dbus)) {
sources += [ "../browser/extensions/api/bluetooth_low_energy/bluetooth_low_energy_apitest.cc" ]
}
}
}

Expand Down
29 changes: 0 additions & 29 deletions extensions/common/api/_api_features.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,35 +91,6 @@
]
}],
"bluetoothLowEnergy": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"]
},
"bluetoothLowEnergy.createService": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
},
"bluetoothLowEnergy.createCharacteristic": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
},
"bluetoothLowEnergy.createDescriptor": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
},
"bluetoothLowEnergy.registerService": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
},
"bluetoothLowEnergy.unregisterService": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
},
"bluetoothLowEnergy.sendRequestResponse": {
"dependencies": ["manifest:bluetooth"],
"contexts": ["blessed_extension"],
"platforms": ["chromeos", "linux"]
Expand Down

0 comments on commit ff04ae6

Please sign in to comment.