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

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

Issue 2741773003: [Cronet] Append version to libcronet library name. (Closed)
Patch Set: 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..64c395c60ee18eb689ada02fc39cc2dccb021061 100644
--- a/components/cronet/android/BUILD.gn
+++ b/components/cronet/android/BUILD.gn
@@ -256,6 +256,7 @@ cronet_static_tmpl("cronet_static") {
}
shared_library("cronet") {
+ output_name = "cronet.$chrome_version_full"
kapishnikov 2017/03/09 19:29:40 Should we use '_' instead of '.' as the separator?
pauljensen 2017/03/10 01:55:34 I think '.' is commonly used for this sort of thin
sources = [
"cronet_jni.cc",
]
@@ -1286,10 +1287,10 @@ action("cronet_combine_proguard_flags") {
copy("cronet_package_copy_native_lib") {
sources = [
- "$root_out_dir/libcronet.so",
+ "$root_out_dir/libcronet.$chrome_version_full.so",
kapishnikov 2017/03/09 19:29:40 Since we use "libcronet.$chrome_version_full.so" i
pauljensen 2017/03/10 01:55:34 Done, I also made a variable for the simple name.
]
outputs = [
- "$_package_dir/libs/${android_app_abi}/libcronet.so",
+ "$_package_dir/libs/${android_app_abi}/libcronet.$chrome_version_full.so",
]
deps = [
":cronet",
@@ -1298,10 +1299,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/libcronet.$chrome_version_full.so",
]
outputs = [
- "$_package_dir/symbols/${android_app_abi}/libcronet.so",
+ "$_package_dir/symbols/${android_app_abi}/libcronet.$chrome_version_full.so",
]
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