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 } |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 sources += [ | 92 sources += [ |
93 "test/usb_test_gadget_impl.cc", | 93 "test/usb_test_gadget_impl.cc", |
94 "usb/usb_context_unittest.cc", | 94 "usb/usb_context_unittest.cc", |
95 "usb/usb_device_filter_unittest.cc", | 95 "usb/usb_device_filter_unittest.cc", |
96 "usb/usb_device_handle_unittest.cc", | 96 "usb/usb_device_handle_unittest.cc", |
97 "usb/usb_ids_unittest.cc", | 97 "usb/usb_ids_unittest.cc", |
98 "usb/usb_service_unittest.cc", | 98 "usb/usb_service_unittest.cc", |
99 ] | 99 ] |
100 deps += [ | 100 deps += [ |
101 "//device/usb", | 101 "//device/usb", |
| 102 "//device/usb:mocks", |
102 "//third_party/libusb", | 103 "//third_party/libusb", |
103 ] | 104 ] |
104 } | 105 } |
105 | 106 |
106 if (is_chromeos) { | 107 if (is_chromeos) { |
107 configs += [ "//build/config/linux:dbus" ] | 108 configs += [ "//build/config/linux:dbus" ] |
108 | 109 |
109 deps += [ | 110 deps += [ |
110 "//chromeos", | 111 "//chromeos", |
111 "//chromeos:test_support", | 112 "//chromeos:test_support", |
(...skipping 11 matching lines...) Expand all Loading... |
123 | 124 |
124 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. | 125 # In the OSX 10.10 SDK, CoreBluetooth became a top level framework. |
125 # Previously, it was nested in IOBluetooth. In order for Chrome to run on | 126 # Previously, it was nested in IOBluetooth. In order for Chrome to run on |
126 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be | 127 # OSes older than OSX 10.10, the top level CoreBluetooth framework must be |
127 # weakly linked. | 128 # weakly linked. |
128 if (mac_sdk_version == "10.10") { | 129 if (mac_sdk_version == "10.10") { |
129 ldflags = [ "-weak_framework CoreBluetooth" ] | 130 ldflags = [ "-weak_framework CoreBluetooth" ] |
130 } | 131 } |
131 } | 132 } |
132 } | 133 } |
OLD | NEW |