Add liblog as a dependency where libbase is used.
(Also fix issues found from bpfmt) Bug: 119867234 Test: build Change-Id: I16e93ad7c26dadfb625acbe514abe0c0084f84b6
This commit is contained in:
parent
3779d6da40
commit
2f95d19a69
1 changed files with 29 additions and 10 deletions
|
@ -29,7 +29,10 @@
|
|||
cc_benchmark {
|
||||
name: "bionic-spawn-benchmarks",
|
||||
srcs: ["spawn_benchmarks.cpp"],
|
||||
static_libs: ["libbase"],
|
||||
static_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
],
|
||||
|
||||
// Install these binaries in the same directory as the main benchmark binary.
|
||||
data: [
|
||||
|
@ -40,9 +43,15 @@ cc_benchmark {
|
|||
|
||||
host_supported: true,
|
||||
target: {
|
||||
darwin: { enabled: false },
|
||||
windows: { enabled: false },
|
||||
linux_glibc_x86: { enabled: false },
|
||||
darwin: {
|
||||
enabled: false,
|
||||
},
|
||||
windows: {
|
||||
enabled: false,
|
||||
},
|
||||
linux_glibc_x86: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -51,15 +60,25 @@ cc_defaults {
|
|||
|
||||
compile_multilib: "both",
|
||||
multilib: {
|
||||
lib32: { suffix: "32" },
|
||||
lib64: { suffix: "64" },
|
||||
lib32: {
|
||||
suffix: "32",
|
||||
},
|
||||
lib64: {
|
||||
suffix: "64",
|
||||
},
|
||||
},
|
||||
|
||||
host_supported: true,
|
||||
target: {
|
||||
darwin: { enabled: false },
|
||||
windows: { enabled: false },
|
||||
linux_glibc_x86: { enabled: false },
|
||||
darwin: {
|
||||
enabled: false,
|
||||
},
|
||||
windows: {
|
||||
enabled: false,
|
||||
},
|
||||
linux_glibc_x86: {
|
||||
enabled: false,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -77,7 +96,7 @@ cc_binary {
|
|||
"-Wl,--rpath,${ORIGIN}/../../lib64",
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
|
|
Loading…
Reference in a new issue