Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
| 6 | 6 |
| 7 config("bluetooth_config") { | 7 config("bluetooth_config") { |
| 8 if (is_win) { | 8 if (is_win) { |
| 9 ldflags = [ | 9 ldflags = [ |
| 10 "/DELAYLOAD:BluetoothApis.dll", | 10 "/DELAYLOAD:BluetoothApis.dll", |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 116 all_dependent_configs = [ ":bluetooth_config" ] | 116 all_dependent_configs = [ ":bluetooth_config" ] |
| 117 | 117 |
| 118 deps = [ | 118 deps = [ |
| 119 ":strings", | 119 ":strings", |
| 120 "uribeacon", | 120 "uribeacon", |
| 121 "//base", | 121 "//base", |
| 122 "//net", | 122 "//net", |
| 123 "//ui/base", | 123 "//ui/base", |
| 124 ] | 124 ] |
| 125 | 125 |
| 126 if (is_win) { | 126 if (is_android) { |
| 127 libs = [ "setupapi.lib" ] | 127 deps += [ |
| 128 } else if (is_chromeos) { | 128 "//device/bluetooth/android", |
| 129 "//device/bluetooth/android:bluetooth_jni", | |
| 130 ] | |
| 131 allow_circular_includes_from = [ "//device/bluetooth/android" ] | |
|
cjhopman
2015/05/06 16:56:14
It looks like you need this because you have the j
timvolodine
2015/05/06 17:27:10
+1 if you can avoid 'allow_circular_includes'. I d
cjhopman
2015/05/06 17:51:20
It does look like the vibration change introduces
scheib
2015/05/06 19:14:07
I've merged the GN files, with just one target thi
| |
| 132 } | |
| 133 | |
| 134 if (is_chromeos) { | |
| 129 deps += [ | 135 deps += [ |
| 130 "//chromeos", | 136 "//chromeos", |
| 131 "//dbus", | 137 "//dbus", |
| 132 ] | 138 ] |
| 133 } | 139 } |
| 134 | 140 |
| 135 if (is_mac) { | 141 if (is_mac) { |
| 136 libs = [ "IOBluetooth.framework" ] | 142 libs = [ "IOBluetooth.framework" ] |
| 137 } | 143 } |
| 144 | |
| 145 if (is_win) { | |
| 146 libs = [ "setupapi.lib" ] | |
| 147 } | |
| 138 } | 148 } |
| 139 | 149 |
| 140 grit("strings") { | 150 grit("strings") { |
| 141 source = "bluetooth_strings.grd" | 151 source = "bluetooth_strings.grd" |
| 142 outputs = [ | 152 outputs = [ |
| 143 "grit/device_bluetooth_strings.h", | 153 "grit/device_bluetooth_strings.h", |
| 144 "device_bluetooth_strings_am.pak", | 154 "device_bluetooth_strings_am.pak", |
| 145 "device_bluetooth_strings_ar.pak", | 155 "device_bluetooth_strings_ar.pak", |
| 146 "device_bluetooth_strings_bg.pak", | 156 "device_bluetooth_strings_bg.pak", |
| 147 "device_bluetooth_strings_bn.pak", | 157 "device_bluetooth_strings_bn.pak", |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 221 "test/mock_bluetooth_socket.h", | 231 "test/mock_bluetooth_socket.h", |
| 222 ] | 232 ] |
| 223 | 233 |
| 224 deps = [ | 234 deps = [ |
| 225 ":bluetooth", | 235 ":bluetooth", |
| 226 "//base", | 236 "//base", |
| 227 "//net", | 237 "//net", |
| 228 "//testing/gmock", | 238 "//testing/gmock", |
| 229 ] | 239 ] |
| 230 } | 240 } |
| OLD | NEW |