Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android cleanup #145

Merged
merged 6 commits into from Oct 15, 2018
Merged

Android cleanup #145

merged 6 commits into from Oct 15, 2018

Conversation

@ferjm
Copy link
Member

ferjm commented Oct 5, 2018

We were previously downloading and setting up the GStreamer dependencies for Android while building the servo-media-gstreamer crate. But a user trying to use this crate on Android is also required to fetch the GStreamer dependencies to set up the JNI related stuff. This is the case for Servo since we enabled this dependency for Android. Which means that we are doing this download and setup twice.

This PR moves the responsibility of fetching and setting up the GStreamer dependencies for Android to the user of this crate, so the duplication is avoided.

I added a script to ease the bootstrap process for Android and updated the README accordingly.

@ferjm
Copy link
Member Author

ferjm commented Oct 5, 2018

@ferjm ferjm requested a review from Manishearth Oct 5, 2018
@ferjm ferjm force-pushed the ferjm:android.cleanup branch from 665730a to 734e676 Oct 5, 2018
@@ -0,0 +1,32 @@
if [ "$#" -ne 1 ]; then

This comment has been minimized.

@Manishearth

Manishearth Oct 15, 2018

Member

set -e please

@ferjm ferjm merged commit 2c219e5 into servo:master Oct 15, 2018
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@ferjm ferjm deleted the ferjm:android.cleanup branch Oct 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.