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") { |
11 if (is_win) { | 11 if (is_win) { |
12 ldflags = [ | 12 ldflags = [ |
13 "/DELAYLOAD:BluetoothApis.dll", | 13 "/DELAYLOAD:BluetoothApis.dll", |
14 | 14 |
15 # Despite MSDN stating that Bthprops.dll contains the | 15 # Despite MSDN stating that Bthprops.dll contains the |
16 # symbols declared by bthprops.lib, they actually reside here: | 16 # symbols declared by bthprops.lib, they actually reside here: |
17 "/DELAYLOAD:Bthprops.cpl", | 17 "/DELAYLOAD:Bthprops.cpl", |
18 "/DELAYLOAD:setupapi.dll", | 18 "/DELAYLOAD:setupapi.dll", |
19 ] | 19 ] |
20 } | 20 } |
21 } | 21 } |
22 | 22 |
23 source_set("mojo") { | 23 source_set("mojo") { |
24 sources = [ | 24 sources = [ |
25 "//device/bluetooth/public/interfaces/connect_result_type_converter.h", | 25 "//device/bluetooth/public/interfaces/connect_result_type_converter.h", |
| 26 "//device/bluetooth/public/interfaces/gatt_result_type_converter.h", |
26 "adapter.cc", | 27 "adapter.cc", |
27 "adapter.h", | 28 "adapter.h", |
28 "adapter_factory.cc", | 29 "adapter_factory.cc", |
29 "adapter_factory.h", | 30 "adapter_factory.h", |
30 "device.cc", | 31 "device.cc", |
31 "device.h", | 32 "device.h", |
32 "discovery_session.cc", | 33 "discovery_session.cc", |
33 "discovery_session.h", | 34 "discovery_session.h", |
34 ] | 35 ] |
35 | 36 |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 } | 411 } |
411 | 412 |
412 android_library("java") { | 413 android_library("java") { |
413 java_files = java_sources_needing_jni | 414 java_files = java_sources_needing_jni |
414 deps = [ | 415 deps = [ |
415 "//base:base_java", | 416 "//base:base_java", |
416 "//components/location/android:location_java", | 417 "//components/location/android:location_java", |
417 ] | 418 ] |
418 } | 419 } |
419 } | 420 } |
OLD | NEW |