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
This commit is contained in:
@@ -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) {
|
||||
|
@@ -69,16 +69,6 @@ func GatherRequiredDepsForTest(os android.OsType) string {
|
||||
src: "",
|
||||
}
|
||||
|
||||
cc_library {
|
||||
name: "libbase",
|
||||
no_libgcc: true,
|
||||
nocrt: true,
|
||||
vendor_available: true,
|
||||
vndk: {
|
||||
enabled: true,
|
||||
support_system_process: true,
|
||||
}
|
||||
}
|
||||
cc_library {
|
||||
name: "libc",
|
||||
no_libgcc: true,
|
||||
|
Reference in New Issue
Block a user