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