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 if (is_android) { | 7 if (is_android) { |
| 8 import("//build/config/android/rules.gni") # For generate_jni(). | 8 import("//build/config/android/rules.gni") # For generate_jni(). |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 234 "test/mock_bluetooth_socket.cc", | 234 "test/mock_bluetooth_socket.cc", |
| 235 "test/mock_bluetooth_socket.h", | 235 "test/mock_bluetooth_socket.h", |
| 236 ] | 236 ] |
| 237 | 237 |
| 238 deps = [ | 238 deps = [ |
| 239 ":bluetooth", | 239 ":bluetooth", |
| 240 "//base", | 240 "//base", |
| 241 "//net", | 241 "//net", |
| 242 "//testing/gmock", | 242 "//testing/gmock", |
| 243 ] | 243 ] |
| 244 | |
| 245 if (is_mac) { | |
|
armansito
2015/06/09 19:32:58
I don't think you need the is_mac check here. The
krstnmnlsn
2015/06/09 23:09:00
Done.
| |
| 246 sources += [ | |
| 247 "test/mock_bluetooth_central_manager_mac.h", | |
| 248 "test/mock_bluetooth_central_manager_mac.mm", | |
| 249 ] | |
| 250 } | |
| 244 } | 251 } |
| 245 | 252 |
| 246 if (is_android) { | 253 if (is_android) { |
| 247 generate_jni("bluetooth_jni") { | 254 generate_jni("bluetooth_jni") { |
| 248 sources = [ | 255 sources = [ |
| 249 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", | 256 "android/java/src/org/chromium/device/bluetooth/BluetoothAdapter.java", |
| 250 ] | 257 ] |
| 251 jni_package = "bluetooth" | 258 jni_package = "bluetooth" |
| 252 } | 259 } |
| 253 } | 260 } |
| OLD | NEW |