| 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("//build/config/features.gni") |
| 6 |
| 5 if (is_android) { | 7 if (is_android) { |
| 6 import("//build/config/android/rules.gni") # For generate_jni(). | 8 import("//build/config/android/rules.gni") # For generate_jni(). |
| 7 } | 9 } |
| 8 | 10 |
| 9 config("bluetooth_config") { | 11 config("bluetooth_config") { |
| 10 if (is_win) { | 12 if (is_win) { |
| 11 ldflags = [ | 13 ldflags = [ |
| 12 "/DELAYLOAD:BluetoothApis.dll", | 14 "/DELAYLOAD:BluetoothApis.dll", |
| 13 | 15 |
| 14 # Despite MSDN stating that Bthprops.dll contains the | 16 # Despite MSDN stating that Bthprops.dll contains the |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 135 "//base", | 137 "//base", |
| 136 "//crypto", | 138 "//crypto", |
| 137 "//net", | 139 "//net", |
| 138 "//ui/base", | 140 "//ui/base", |
| 139 ] | 141 ] |
| 140 | 142 |
| 141 if (is_android) { | 143 if (is_android) { |
| 142 deps += [ ":jni_headers" ] | 144 deps += [ ":jni_headers" ] |
| 143 } | 145 } |
| 144 | 146 |
| 145 if (is_chromeos) { | 147 if (use_cros_fe) { |
| 146 deps += [ | 148 deps += [ |
| 147 "//chromeos", | 149 "//chromeos", |
| 148 "//dbus", | 150 "//dbus", |
| 149 ] | 151 ] |
| 150 } | 152 } |
| 151 | 153 |
| 152 if (is_mac) { | 154 if (is_mac) { |
| 153 libs = [ "IOBluetooth.framework" ] | 155 libs = [ "IOBluetooth.framework" ] |
| 154 } | 156 } |
| 155 | 157 |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 jni_package = "bluetooth" | 207 jni_package = "bluetooth" |
| 206 } | 208 } |
| 207 | 209 |
| 208 android_library("java") { | 210 android_library("java") { |
| 209 java_files = java_sources_needing_jni | 211 java_files = java_sources_needing_jni |
| 210 deps = [ | 212 deps = [ |
| 211 "//base:base_java", | 213 "//base:base_java", |
| 212 ] | 214 ] |
| 213 } | 215 } |
| 214 } | 216 } |
| OLD | NEW |