Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Side by Side Diff: device/bluetooth/BUILD.gn

Issue 2737343003: bluetooth: Add FakeBluetooth interface (Closed)
Patch Set: Fix windows Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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") {
scheib 2017/04/08 00:59:50 Let's call this "fake_bluetooth" or "fake_bluetoot
ortuno 2017/04/10 01:47:49 Went with 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:test_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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698