update_engine: use unversioned libchrome libraray.
Libchrome is changing pkg-config and .so library name from
xxxx-${libbase_ver}.{pc,so} to xxx.{pc,so}.
Libchrome uprev rebuild will be handled by ebuild subslot change. And
there's no need to install multiple libchrome. Keeping libbase_ver
suffix will cause troubles on linking libraries when developers wants to
test locally emerge a-single-package without build_packages, after a
libchrome uprev. Especially in a case a package depends on another
package(library), and both depends on libchrome. Thus, removing
libbase_ver from suffix.
BUG=chromium:920513
TEST=CQ
Change-Id: I65cff884c1f852f51b2a7e2dfc258cac340b2747
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2500818
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Commit-Queue: Qijiang Fan <fqj@google.com>
Tested-by: Qijiang Fan <fqj@google.com>
diff --git a/BUILD.gn b/BUILD.gn
index b1719e2..8f06513 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -95,7 +95,7 @@
# NOSORT
pkg_deps = [
"libbrillo",
- "libchrome-${libbase_ver}",
+ "libchrome",
# system_api depends on protobuf (or protobuf-lite). It must appear
# before protobuf here or the linker flags won't be in the right
@@ -562,7 +562,7 @@
]
pkg_deps = [
"libbrillo-test",
- "libchrome-test-${libbase_ver}",
+ "libchrome-test",
"libdebugd-client-test",
"libpower_manager-client-test",
"libsession_manager-client-test",
@@ -586,7 +586,7 @@
]
pkg_deps = [
"libbrillo-test",
- "libchrome-test-${libbase_ver}",
+ "libchrome-test",
]
deps = [
":libupdate_engine",
@@ -601,7 +601,7 @@
]
pkg_deps = [
"libbrillo-test",
- "libchrome-test-${libbase_ver}",
+ "libchrome-test",
]
deps = [
":libupdate_engine",