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

Side by Side Diff: device/BUILD.gn

Issue 1144493003: Extract //device/usb mocks so that they can be shared. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android and GN builds for real. Created 5 years, 7 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
« no previous file with comments | « chrome/test/BUILD.gn ('k') | device/device_tests.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 }
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 }
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | device/device_tests.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698