Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: components/cronet/android/BUILD.gn

Issue 2741773003: [Cronet] Append version to libcronet library name. (Closed)
Patch Set: address comment Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/android/BUILD.gn
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn
index a6b7b5237b2fa6d15b257959f3ffdace019ea155..96bf68b9dfcafedfe30751a8599699363b806822 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -255,7 +255,11 @@ cronet_static_tmpl("cronet_static") {
}
}
+_cronet_shared_lib_name = "cronet.$chrome_version_full"
+_cronet_shared_lib_file_name = "lib" + _cronet_shared_lib_name + ".so"
+
shared_library("cronet") {
+ output_name = _cronet_shared_lib_name
sources = [
"cronet_jni.cc",
]
@@ -1286,10 +1290,10 @@ action("cronet_combine_proguard_flags") {
copy("cronet_package_copy_native_lib") {
sources = [
- "$root_out_dir/libcronet.so",
+ "$root_out_dir/" + _cronet_shared_lib_file_name,
]
outputs = [
- "$_package_dir/libs/${android_app_abi}/libcronet.so",
+ "$_package_dir/libs/${android_app_abi}/" + _cronet_shared_lib_file_name,
]
deps = [
":cronet",
@@ -1298,10 +1302,10 @@ copy("cronet_package_copy_native_lib") {
copy("cronet_package_copy_native_lib_unstripped") {
sources = [
- "$root_out_dir/lib.unstripped/libcronet.so",
+ "$root_out_dir/lib.unstripped/" + _cronet_shared_lib_file_name,
]
outputs = [
- "$_package_dir/symbols/${android_app_abi}/libcronet.so",
+ "$_package_dir/symbols/${android_app_abi}/" + _cronet_shared_lib_file_name,
]
deps = [
":cronet",
« no previous file with comments | « no previous file | components/cronet/android/java/src/org/chromium/net/impl/CronetLibraryLoader.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698