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 23 matching lines...) Expand all Loading... |
34 "discovery_session.h", | 34 "discovery_session.h", |
35 ] | 35 ] |
36 | 36 |
37 public_deps = [ | 37 public_deps = [ |
38 ":bluetooth", | 38 ":bluetooth", |
39 "//device/bluetooth/public/interfaces:experimental_interfaces", | 39 "//device/bluetooth/public/interfaces:experimental_interfaces", |
40 "//mojo/public/cpp/bindings", | 40 "//mojo/public/cpp/bindings", |
41 ] | 41 ] |
42 } | 42 } |
43 | 43 |
| 44 source_set("fake_bluetooth") { |
| 45 sources = [ |
| 46 "test/fake_bluetooth.cc", |
| 47 "test/fake_bluetooth.h", |
| 48 ] |
| 49 |
| 50 deps = [ |
| 51 ":bluetooth", |
| 52 "//device/bluetooth/public/interfaces:fake_bluetooth_interfaces", |
| 53 "//mojo/public/cpp/bindings", |
| 54 ] |
| 55 } |
| 56 |
44 component("bluetooth") { | 57 component("bluetooth") { |
45 sources = [ | 58 sources = [ |
46 "android/bluetooth_jni_registrar.cc", | 59 "android/bluetooth_jni_registrar.cc", |
47 "android/bluetooth_jni_registrar.h", | 60 "android/bluetooth_jni_registrar.h", |
48 "android/wrappers.cc", | 61 "android/wrappers.cc", |
49 "android/wrappers.h", | 62 "android/wrappers.h", |
50 "bluetooth_adapter.cc", | 63 "bluetooth_adapter.cc", |
51 "bluetooth_adapter.h", | 64 "bluetooth_adapter.h", |
52 "bluetooth_adapter_android.cc", | 65 "bluetooth_adapter_android.cc", |
53 "bluetooth_adapter_android.h", | 66 "bluetooth_adapter_android.h", |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 } | 425 } |
413 | 426 |
414 android_library("java") { | 427 android_library("java") { |
415 java_files = java_sources_needing_jni | 428 java_files = java_sources_needing_jni |
416 deps = [ | 429 deps = [ |
417 "//base:base_java", | 430 "//base:base_java", |
418 "//components/location/android:location_java", | 431 "//components/location/android:location_java", |
419 ] | 432 ] |
420 } | 433 } |
421 } | 434 } |
OLD | NEW |