From 800da851f4b53ee037cc9c889cae7de1cca274dc Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 16 Jul 2015 20:14:41 -0700 Subject: [PATCH] Only use the .cr.so product extension on Android in the component build This change matches what GYP does. R=brettw@chromium.org --- engine/src/flutter/build/config/android/config.gni | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/engine/src/flutter/build/config/android/config.gni b/engine/src/flutter/build/config/android/config.gni index 770781402b..6e69b783a0 100644 --- a/engine/src/flutter/build/config/android/config.gni +++ b/engine/src/flutter/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 ------------------------------------------------------------------------