Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.2.1
-
None
Description
The project file supports 'scopes'. However These scopes are sufficient to handle android elegantly. Currently we can do
android {
ANDROID_EXTRA_LIBS = /home/Projects/vinscan/android/libs/armeabi-v7a/libiconv.so
}
(Or include ANDROID_EXTRA_LIBS outside the scope. However the libraries are limited to the architecture specified in the library.
It would be cool if we could use
android:armeabi-7a {
ANDROID_EXTRA_LIBS = /home/Projects/vinscan/android/libs/armeabi-v7a/libiconv.so
}
android:x86 {
ANDROID_EXTRA_LIBS = /home/Projects/vinscan/android/libs/x86/libiconv.so
}
Or even better
android:armeabi-7a {
ANDROID_EXTRA_LIBS = /home/Projects/vinscan/android/libs/$(SUBSCOPE)/libiconv.so
}
Where SUBSCOPE is after the colon in the specification.