diff options
author | 2019-03-27 17:20:37 +0900 | |
---|---|---|
committer | 2019-03-27 17:27:05 +0900 | |
commit | 1f959769f344182a6741ddcebc7c592d6e521e7e (patch) | |
tree | cab9683b30d71784c80b7ae0a9eac44c29d62489 /cc/compiler.go | |
parent | 7446606eeb9994fabc62201031d604081c7c3aac (diff) |
Remove libbase dependency of sysprop_library
libbase dependency is not really needed, but it has been causing build
failure while linking with static variant of sysprop_library. This cuts
the dependency and only depend on libbase_headers and liblog.
Bug: 129301987
Test: 1) flash and boot walleye
Test: 2) try to build various properties with sysprop_library.
Test: 3) sysprop_test
Change-Id: I027e01c754b782818f52103184301267d4cdd576
Diffstat (limited to 'cc/compiler.go')
-rw-r--r-- | cc/compiler.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cc/compiler.go b/cc/compiler.go index 0ab1f0188..fe46a3c30 100644 --- a/cc/compiler.go +++ b/cc/compiler.go @@ -226,7 +226,8 @@ func (compiler *baseCompiler) compilerDeps(ctx DepsContext, deps Deps) Deps { } if compiler.hasSrcExt(".sysprop") { - deps.SharedLibs = append(deps.SharedLibs, "libbase") + deps.HeaderLibs = append(deps.HeaderLibs, "libbase_headers") + deps.SharedLibs = append(deps.SharedLibs, "liblog") } if Bool(compiler.Properties.Openmp) { |