Index: build/config/android/config.gni |
diff --git a/build/config/android/config.gni b/build/config/android/config.gni |
index f11ac41b62f203a4c7e57459730810556bb2d0a2..32ac6d4c328c9a2d734046ae094625f321175ddc 100644 |
--- a/build/config/android/config.gni |
+++ b/build/config/android/config.gni |
@@ -171,9 +171,13 @@ if (is_android) { |
android_libcpp_library = "c++_static" |
} |
- # By appending .cr, we prevent name collisions with libraries already |
- # loaded by the Android zygote. |
- android_product_extension = ".cr.so" |
+ if (component_mode == "shared_library") { |
+ # By appending .cr, we prevent name collisions with libraries already |
+ # loaded by the Android zygote. |
+ android_product_extension = ".cr.so" |
+ } else { |
+ android_product_extension = ".so" |
+ } |
# ABI ------------------------------------------------------------------------ |