gn-build: Get HCI and net_test_hci to compile

This CL fixes the HCI module so that the HCI static library and the net_test_hci
unit test can be compiled using GN + ninja.

BUG=21339022,21444689

Change-Id: If3d8649b25297880e5e674a2026badb1b0e01fee
diff --git a/hci/BUILD.gn b/hci/BUILD.gn
index 27f4a65..cb4467f 100644
--- a/hci/BUILD.gn
+++ b/hci/BUILD.gn
@@ -44,6 +44,7 @@
 }
 
 executable("net_test_hci") {
+  testonly = true
   sources = [
     "//osi/test/AllocationTestHarness.cpp",
     "//osi/test/AlarmTestHarness.cpp",
@@ -54,19 +55,14 @@
     "test/packet_fragmenter_test.cpp",
   ]
 
-  sources += [ "//main/stack_config.c" ]
-
   include_dirs = [
-    "include",
     "//",
     "//include",
     "//btcore/include",
-    "//gki/common",
-    "//gki/ulinux",
+    "//hci/include",
     "//osi/include",
     "//osi/test",
     "//stack/include",
-    "//utils/include",
   ]
 
   cflags = [
@@ -77,11 +73,7 @@
     "//hci",
     "//osi",
     "//btcore",
-  ]
-
-  deps += [
-    "//gki",
-    "//device",
+    "//third_party/gtest:gtest_main",
   ]
 
   libs = [ "-lpthread", "-lrt", "-ldl" ]