OSDN Git Service

DO NOT MERGE Fix for Bluetooth connection being dropped after HCI Read Encryption...
[android-x86/system-bt.git] / device / BUILD.gn
index 1ca0288..bfc42ec 100644 (file)
 static_library("device") {
   sources = [
     "src/classic/peer.c",
-    "src/controller.c"
+    "src/controller.c",
+    "src/interop.c",
   ]
 
   include_dirs = [
     "//",
     "//btcore/include",
-    "//gki/common",
     "//hci/include",
     "//include",
-    "//osi/include",
     "//stack/include",
   ]
 }
@@ -38,17 +37,18 @@ executable("net_test_device") {
     "test/classic/peer_test.cpp",
   ]
 
-  include_dirs = [
-    "//",
-    "//osi/include",
-  ]
+  include_dirs = [ "//" ]
 
   deps = [
     "//device",
     "//btcore",
     "//osi",
-    "//third_party/gtest:gtest_main",
+    "//third_party/googletest:gtest_main",
   ]
 
-  libs = [ "-lpthread", "-lrt", "-ldl" ]
+  libs = [
+    "-lpthread",
+    "-lrt",
+    "-ldl",
+  ]
 }