| 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 import("//build/config/features.gni") | 4 import("//build/config/features.gni") |
| 5 | 5 |
| 6 if (is_android) { | 6 if (is_android) { |
| 7 import("//build/config/android/rules.gni") # For generate_jni(). | 7 import("//build/config/android/rules.gni") # For generate_jni(). |
| 8 } | 8 } |
| 9 | 9 |
| 10 config("bluetooth_config") { | 10 config("bluetooth_config") { |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 | 149 |
| 150 if (is_android) { | 150 if (is_android) { |
| 151 deps += [ ":jni_headers" ] | 151 deps += [ ":jni_headers" ] |
| 152 } | 152 } |
| 153 | 153 |
| 154 if (is_chromeos) { | 154 if (is_chromeos) { |
| 155 deps += [ "//chromeos" ] | 155 deps += [ "//chromeos" ] |
| 156 } | 156 } |
| 157 | 157 |
| 158 if (is_mac) { | 158 if (is_mac) { |
| 159 libs = [ "IOBluetooth.framework" ] | 159 libs = [ |
| 160 "IOBluetooth.framework", |
| 161 "Foundation.framework", |
| 162 ] |
| 160 } | 163 } |
| 161 | 164 |
| 162 if (is_win) { | 165 if (is_win) { |
| 163 libs = [ | 166 libs = [ |
| 164 # Bthprops must be listed before BluetoothApis or else delay loading | 167 # Bthprops must be listed before BluetoothApis or else delay loading |
| 165 # crashes. | 168 # crashes. |
| 166 "Bthprops.lib", | 169 "Bthprops.lib", |
| 167 "BluetoothApis.lib", | 170 "BluetoothApis.lib", |
| 168 "setupapi.lib", | 171 "setupapi.lib", |
| 169 ] | 172 ] |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 jni_package = "bluetooth" | 379 jni_package = "bluetooth" |
| 377 } | 380 } |
| 378 | 381 |
| 379 android_library("java") { | 382 android_library("java") { |
| 380 java_files = java_sources_needing_jni | 383 java_files = java_sources_needing_jni |
| 381 deps = [ | 384 deps = [ |
| 382 "//base:base_java", | 385 "//base:base_java", |
| 383 ] | 386 ] |
| 384 } | 387 } |
| 385 } | 388 } |
| OLD | NEW |