After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 753302 - android: define NDK_VERSION for simple version setting
android: define NDK_VERSION for simple version setting
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: cerbero
unspecified
Other Mac OS
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-06 01:36 UTC by Justin Kim
Modified: 2016-07-01 09:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
android: define NDK_VERSION for simple version setting (1.56 KB, patch)
2015-08-06 01:39 UTC, Justin Kim
none Details | Review
[1/2] add android_ndk_version property (2.76 KB, patch)
2015-08-06 05:06 UTC, Justin Kim
needs-work Details | Review
[2/2] bump up NDK version (765 bytes, patch)
2015-08-06 05:07 UTC, Justin Kim
rejected Details | Review

Description Justin Kim 2015-08-06 01:36:23 UTC
It is very minor, but it could help make less diff when bumping up.
Comment 1 Justin Kim 2015-08-06 01:39:14 UTC
Created attachment 308826 [details] [review]
android: define NDK_VERSION for simple version setting
Comment 2 Justin Kim 2015-08-06 05:06:10 UTC
Created attachment 308832 [details] [review]
[1/2] add android_ndk_version property
Comment 3 Justin Kim 2015-08-06 05:07:22 UTC
Created attachment 308833 [details] [review]
[2/2] bump up NDK version

This is just an example. The compatibility r10e is not verified yet.
Comment 4 Sebastian Dröge (slomo) 2015-08-06 09:27:20 UTC
r10e compatibility is not there yet, see bug #750162. Must be fixed before 1.6 release, any help would be appreciated.
Comment 5 Sebastian Dröge (slomo) 2015-08-06 09:28:44 UTC
Comment on attachment 308832 [details] [review]
[1/2] add android_ndk_version property

I wouldn't make the NDK version configurable, but just put it into a variable in cerbero/bootstrap/android.py. Changing the NDK version usually requires more changes in various places, making it configurable via the config (and thus the user) is only going to cause problem and creates the illusion that you can just chose whatever NDK version you want.
Comment 6 Justin Kim 2015-08-06 10:36:47 UTC
> but just put it into a variable in cerbero/bootstrap/android.py.

I've tried for the first time. my first obsolete patch has that modification.
but, android.config also has revision info. in toolchain prefix. 

This patch is not serious. As a newbie for cerbero, grep is required to change NDK revision and I just think about avoiding that kind of situation again. :)
Comment 7 Sebastian Dröge (slomo) 2015-08-07 08:49:55 UTC
I would just put a
> NDK_VERSION=r10d
in android.config, and use that instead of having the r10d string in a few places.
Comment 8 Olivier Crête 2016-07-01 04:58:03 UTC
Comment on attachment 308833 [details] [review]
[2/2] bump up NDK version

At least this one is obsolete, Cerbero now takes the latest r12 NDK
Comment 9 Justin Kim 2016-07-01 09:54:15 UTC
outdated.