Only use the .cr.so product extension on Android in the component build

This change matches what GYP does.

R=brettw@chromium.org
This commit is contained in:
Adam Barth
2015-07-16 20:14:41 -07:00
parent 4d207599c8
commit 800da851f4

View File

@@ -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 ------------------------------------------------------------------------