OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |