Only use the .cr.so product extension on Android in the component build This change matches what GYP does. R=brettw@chromium.org
diff --git a/build/config/android/config.gni b/build/config/android/config.gni index 7707814..6e69b78 100644 --- a/build/config/android/config.gni +++ b/build/config/android/config.gni
@@ -171,9 +171,13 @@ 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 ------------------------------------------------------------------------