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 774792 - Add Android Marshmallow and Nougat
Add Android Marshmallow and Nougat
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
1.9.90
Other Linux
: Normal enhancement
: 1.11.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2016-11-21 16:07 UTC by Andrew Esh
Modified: 2016-11-22 05:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
git format-patch of the addition (839 bytes, patch)
2016-11-21 16:09 UTC, Andrew Esh
committed Details | Review
Add marshmallow and nougat types (808 bytes, patch)
2016-11-21 16:23 UTC, Andrew Esh
committed Details | Review
Set ARM to Marshmallow (819 bytes, patch)
2016-11-21 16:27 UTC, Andrew Esh
rejected Details | Review
Set x86 to Nougat (797 bytes, patch)
2016-11-21 16:29 UTC, Andrew Esh
rejected Details | Review

Description Andrew Esh 2016-11-21 16:07:17 UTC
Add new OS version selection to the Android support of cerbero.
Comment 1 Andrew Esh 2016-11-21 16:09:58 UTC
Created attachment 340436 [details] [review]
git format-patch of the addition
Comment 2 Sebastian Dröge (slomo) 2016-11-21 16:21:23 UTC
Review of attachment 340436 [details] [review]:

::: config/android.config
@@ +97,3 @@
+    v = '23'
+elif target_distro_version == DistroVersion.ANDROID_NOUGAT:
+    v = '24'

This looks incomplete: you also have to add these to enums.py
Comment 3 Andrew Esh 2016-11-21 16:23:07 UTC
Created attachment 340442 [details] [review]
Add marshmallow and nougat types
Comment 4 Andrew Esh 2016-11-21 16:27:52 UTC
Created attachment 340445 [details] [review]
Set ARM to Marshmallow

Optional settings patch to update the ARM build to Marshmallow. Used and tested locally. The setting is not required, but should be updated.
Comment 5 Andrew Esh 2016-11-21 16:29:12 UTC
Created attachment 340448 [details] [review]
Set x86 to Nougat

Local settings change, built and tested on x86 platform (Nexus Player, fugu). The change is not required, but should be updated.
Comment 6 Sebastian Dröge (slomo) 2016-11-21 16:31:28 UTC
Why the x86 and ARM changes? The problem with those is that the binaries would lose compatibility with all older Android versions, and we don't really need any new functionality from those NDKs at this point.
Comment 7 Andrew Esh 2016-11-21 18:28:35 UTC
(In reply to Sebastian Dröge (slomo) from comment #6)
> Why the x86 and ARM changes? The problem with those is that the binaries
> would lose compatibility with all older Android versions, and we don't
> really need any new functionality from those NDKs at this point.

The platform settings can be rejected. I was just showing that I am using the settings introduced in the first two patches. There are certain boringssl dependencies under curlhttpsink that cause us not to be able to use older platform settings.
Comment 8 Andrew Esh 2016-11-21 18:28:59 UTC
(In reply to Sebastian Dröge (slomo) from comment #2)
> Review of attachment 340436 [details] [review] [review]:
> 
> ::: config/android.config
> @@ +97,3 @@
> +    v = '23'
> +elif target_distro_version == DistroVersion.ANDROID_NOUGAT:
> +    v = '24'
> 
> This looks incomplete: you also have to add these to enums.py

Yes sir, they were added. They are in the second patch.
Comment 9 Andrew Esh 2016-11-21 21:58:37 UTC
We are still developing this product. The next release will probably be updated to use cerbero 1.10.x. I could redo the patches so the entire feature is in one patch, and made against 1.10. This applies to all my patches, not just this one. In other words, I plan to upgrade and maintain all the patches I have as I go forward, so if this first attempt is not "as expected", there will be opportunities for improvements later.
Comment 10 Sebastian Dröge (slomo) 2016-11-22 05:45:50 UTC
commit 772bf1b6d0bc6781438319fba3eaa16da3268f22
Author: Andrew Esh <andrew.esh@qterics.com>
Date:   Thu Oct 6 14:54:45 2016 -0500

    android: Add Marshmallow and Nougat support
    
    https://bugzilla.gnome.org/show_bug.cgi?id=774792
Comment 11 Sebastian Dröge (slomo) 2016-11-22 05:47:20 UTC
Thanks! I've merged the two patches into one as they don't make much sense separately. The x86/ARM bits would be for a later time when we decide to drop support for old Android versions, which is not necessary as of today.