Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 951df432 authored by Miao Chou's avatar Miao Chou
Browse files

gn-build: Build net_test_device using GN + ninja

This CL adds gtest dependency to device/BUILD.gn to enable building
net_test_device using GN + ninja.

Bug: 21444879
Change-Id: I3760511d884f7b3562f86abcec96f679704ef2f4
parent 28550e91
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@ static_library("device") {
}

executable("net_test_device") {
  testonly = true
  sources = [
    "//osi/test/AllocationTestHarness.cpp",
    "test/classic/peer_test.cpp",
@@ -46,6 +47,7 @@ executable("net_test_device") {
    "//device",
    "//btcore",
    "//osi",
    "//third_party/gtest:gtest_main",
  ]

  libs = [ "-lpthread", "-lrt", "-ldl" ]