OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c014ac
)
gn-build: Build net_test_device using GN + ninja
author
Miao Chou
<mcchou@google.com>
Sat, 30 May 2015 04:16:19 +0000
(21:16 -0700)
committer
Miao Chou
<mcchou@google.com>
Tue, 2 Jun 2015 04:58:55 +0000
(21:58 -0700)
This CL adds gtest dependency to device/BUILD.gn to enable building
net_test_device using GN + ninja.
Bug:
21444879
Change-Id: I3760511d884f7b3562f86abcec96f679704ef2f4
device/BUILD.gn
patch
|
blob
|
history
diff --git
a/device/BUILD.gn
b/device/BUILD.gn
index
4629bd4
..
1ca0288
100644
(file)
--- a/
device/BUILD.gn
+++ b/
device/BUILD.gn
@@
-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" ]