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

Use `android-rs-injected-glue` on Android #14530

Merged
merged 1 commit into from Dec 14, 2016

Conversation

@mmatyas
Copy link
Contributor

mmatyas commented Dec 9, 2016

Due to changes in android-rs-glue, currently the Android build fails to start. As discussed here, other than the android-glue, we now also have to inject some additional code too. This task is usually done by a helper program of android-glue, cargo-apk, but since Servo's build system is somewhat more complex than a regular small application, at the moment it'd be more clean to move the required internal injected-glue lib to a new repository, and add it as a dependency.

This patch adds a new dependency, android-rs-injected-glue, and integrates it into Servo. After applying this commit and #14528, Servo can be launched on Android. (It doesn't work yet as expected, though.)

Part of #13154.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors

This change is Reviewable

@highfive
Copy link

highfive commented Dec 9, 2016

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
@mmatyas
Copy link
Contributor Author

mmatyas commented Dec 9, 2016

cc @larsbergstrom @tomaka, what do you think?

@tomaka
Copy link

tomaka commented Dec 9, 2016

Looks good to me.

@larsbergstrom
Copy link
Contributor

larsbergstrom commented Dec 13, 2016

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

📌 Commit 868ca2a has been approved by larsbergstrom

@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

Testing commit 868ca2a with merge be6c634...

bors-servo added a commit that referenced this pull request Dec 13, 2016
Use `android-rs-injected-glue` on Android

<!-- Please describe your changes on the following line: -->
Due to changes in `android-rs-glue`, currently the Android build fails to start. As discussed [here](#13154), other than the `android-glue`, we now also have to inject some additional code too. This task is usually done by a helper program of `android-glue`, `cargo-apk`, but since Servo's build system is somewhat more complex than a regular small application, at the moment it'd be more clean to move the required internal `injected-glue` lib to a new repository, and add it as a dependency.

This patch adds a new dependency, `android-rs-injected-glue`, and integrates it into Servo. After applying this commit and #14528, Servo can be launched on Android. (It doesn't *work* yet as expected, though.)

Part of #13154.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14530)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 13, 2016

💔 Test failed - mac-dev-unit

@KiChjang
Copy link
Member

KiChjang commented Dec 13, 2016

@bors-servo retry

  • git gud
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

Testing commit 868ca2a with merge abb9fcc...

bors-servo added a commit that referenced this pull request Dec 14, 2016
Use `android-rs-injected-glue` on Android

<!-- Please describe your changes on the following line: -->
Due to changes in `android-rs-glue`, currently the Android build fails to start. As discussed [here](#13154), other than the `android-glue`, we now also have to inject some additional code too. This task is usually done by a helper program of `android-glue`, `cargo-apk`, but since Servo's build system is somewhat more complex than a regular small application, at the moment it'd be more clean to move the required internal `injected-glue` lib to a new repository, and add it as a dependency.

This patch adds a new dependency, `android-rs-injected-glue`, and integrates it into Servo. After applying this commit and #14528, Servo can be launched on Android. (It doesn't *work* yet as expected, though.)

Part of #13154.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14530)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

💔 Test failed - mac-rel-wpt2

@jdm
Copy link
Member

jdm commented Dec 14, 2016

@bors-servo: retry

  • network troubles
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

Testing commit 868ca2a with merge c336276...

bors-servo added a commit that referenced this pull request Dec 14, 2016
Use `android-rs-injected-glue` on Android

<!-- Please describe your changes on the following line: -->
Due to changes in `android-rs-glue`, currently the Android build fails to start. As discussed [here](#13154), other than the `android-glue`, we now also have to inject some additional code too. This task is usually done by a helper program of `android-glue`, `cargo-apk`, but since Servo's build system is somewhat more complex than a regular small application, at the moment it'd be more clean to move the required internal `injected-glue` lib to a new repository, and add it as a dependency.

This patch adds a new dependency, `android-rs-injected-glue`, and integrates it into Servo. After applying this commit and #14528, Servo can be launched on Android. (It doesn't *work* yet as expected, though.)

Part of #13154.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14530)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

💔 Test failed - mac-dev-unit

@KiChjang
Copy link
Member

KiChjang commented Dec 14, 2016

@bors-servo retry

  • git gud
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

Testing commit 868ca2a with merge 477a982...

bors-servo added a commit that referenced this pull request Dec 14, 2016
Use `android-rs-injected-glue` on Android

<!-- Please describe your changes on the following line: -->
Due to changes in `android-rs-glue`, currently the Android build fails to start. As discussed [here](#13154), other than the `android-glue`, we now also have to inject some additional code too. This task is usually done by a helper program of `android-glue`, `cargo-apk`, but since Servo's build system is somewhat more complex than a regular small application, at the moment it'd be more clean to move the required internal `injected-glue` lib to a new repository, and add it as a dependency.

This patch adds a new dependency, `android-rs-injected-glue`, and integrates it into Servo. After applying this commit and #14528, Servo can be launched on Android. (It doesn't *work* yet as expected, though.)

Part of #13154.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/14530)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Dec 14, 2016

@bors-servo bors-servo merged commit 868ca2a into servo:master Dec 14, 2016
3 checks passed
3 checks passed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details
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

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