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

Side by Side Diff: device/BUILD.gn

Issue 1111563002: Revert of Add CPP API for BLE advertisments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_mac) { 8 if (is_mac) {
9 import("//build/config/mac/mac_sdk.gni") 9 import("//build/config/mac/mac_sdk.gni")
10 } 10 }
11 11
12 is_linux_without_udev = is_linux && !use_udev 12 is_linux_without_udev = is_linux && !use_udev
13 is_linux_without_dbus = is_linux && !use_dbus 13 is_linux_without_dbus = is_linux && !use_dbus
14 14
15 test("device_unittests") { 15 test("device_unittests") {
16 sources = [ 16 sources = [
17 "battery/battery_status_manager_win_unittest.cc", 17 "battery/battery_status_manager_win_unittest.cc",
18 "battery/battery_status_service_unittest.cc", 18 "battery/battery_status_service_unittest.cc",
19 "bluetooth/bluetooth_adapter_mac_unittest.mm", 19 "bluetooth/bluetooth_adapter_mac_unittest.mm",
20 "bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc", 20 "bluetooth/bluetooth_adapter_profile_chromeos_unittest.cc",
21 "bluetooth/bluetooth_adapter_unittest.cc", 21 "bluetooth/bluetooth_adapter_unittest.cc",
22 "bluetooth/bluetooth_adapter_win_unittest.cc", 22 "bluetooth/bluetooth_adapter_win_unittest.cc",
23 "bluetooth/bluetooth_advertisement_chromeos_unittest.cc",
24 "bluetooth/bluetooth_audio_sink_chromeos_unittest.cc", 23 "bluetooth/bluetooth_audio_sink_chromeos_unittest.cc",
25 "bluetooth/bluetooth_chromeos_unittest.cc", 24 "bluetooth/bluetooth_chromeos_unittest.cc",
26 "bluetooth/bluetooth_device_unittest.cc", 25 "bluetooth/bluetooth_device_unittest.cc",
27 "bluetooth/bluetooth_device_win_unittest.cc", 26 "bluetooth/bluetooth_device_win_unittest.cc",
28 "bluetooth/bluetooth_discovery_filter_unittest.cc", 27 "bluetooth/bluetooth_discovery_filter_unittest.cc",
29 "bluetooth/bluetooth_gatt_chromeos_unittest.cc", 28 "bluetooth/bluetooth_gatt_chromeos_unittest.cc",
30 "bluetooth/bluetooth_low_energy_win_unittest.cc", 29 "bluetooth/bluetooth_low_energy_win_unittest.cc",
31 "bluetooth/bluetooth_service_record_win_unittest.cc", 30 "bluetooth/bluetooth_service_record_win_unittest.cc",
32 "bluetooth/bluetooth_socket_chromeos_unittest.cc", 31 "bluetooth/bluetooth_socket_chromeos_unittest.cc",
33 "bluetooth/bluetooth_task_manager_win_unittest.cc", 32 "bluetooth/bluetooth_task_manager_win_unittest.cc",
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 119
121 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. 120 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework.
122 # Previously, it was nested in IOBluetooth. In order for Chrome to run on 121 # Previously, it was nested in IOBluetooth. In order for Chrome to run on
123 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be 122 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be
124 # weakly linked. 123 # weakly linked.
125 if (mac_sdk_version == "10.10") { 124 if (mac_sdk_version == "10.10") {
126 ldflags = [ "-weak_framework CoreBluetooth" ] 125 ldflags = [ "-weak_framework CoreBluetooth" ]
127 } 126 }
128 } 127 }
129 } 128 }
OLDNEW
« no previous file with comments | « chromeos/dbus/fake_bluetooth_le_advertising_manager_client.cc ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698