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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 | 153 |
154 if (is_android) { | 154 if (is_android) { |
155 deps += [ ":jni_headers" ] | 155 deps += [ ":jni_headers" ] |
156 } | 156 } |
157 | 157 |
158 if (is_chromeos) { | 158 if (is_chromeos) { |
159 deps += [ "//chromeos" ] | 159 deps += [ "//chromeos" ] |
160 } | 160 } |
161 | 161 |
162 if (is_mac) { | 162 if (is_mac) { |
163 libs = [ "IOBluetooth.framework" ] | 163 libs = [ |
| 164 "IOBluetooth.framework", |
| 165 "Foundation.framework", |
| 166 ] |
164 } | 167 } |
165 | 168 |
166 if (is_win) { | 169 if (is_win) { |
167 libs = [ | 170 libs = [ |
168 # Bthprops must be listed before BluetoothApis or else delay loading | 171 # Bthprops must be listed before BluetoothApis or else delay loading |
169 # crashes. | 172 # crashes. |
170 "Bthprops.lib", | 173 "Bthprops.lib", |
171 "BluetoothApis.lib", | 174 "BluetoothApis.lib", |
172 "setupapi.lib", | 175 "setupapi.lib", |
173 ] | 176 ] |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 jni_package = "bluetooth" | 383 jni_package = "bluetooth" |
381 } | 384 } |
382 | 385 |
383 android_library("java") { | 386 android_library("java") { |
384 java_files = java_sources_needing_jni | 387 java_files = java_sources_needing_jni |
385 deps = [ | 388 deps = [ |
386 "//base:base_java", | 389 "//base:base_java", |
387 ] | 390 ] |
388 } | 391 } |
389 } | 392 } |
OLD | NEW |