Commit graph

1226 commits

Author SHA1 Message Date
Manish Goregaokar
eba68a1a49 Add mach bootstrap-gstreamer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
1913ac706c Make ./mach bootstrap into a full-fledged linux dependency installer 2018-09-11 19:34:38 +05:30
Manish Goregaokar
11209c9fee Add gstreamer setup script; use 2018-09-11 19:34:38 +05:30
Josh Matthews
a19cedfddc
Make ndk-stack mach command support x86 builds. 2018-09-05 12:52:50 -04:00
Anthony Ramine
4852f7d616 Move Khronos WebGL tests to /_webgl/ 2018-08-25 03:43:32 +02:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
bors-servo
bc82521eb7
Auto merge of #21372 - Eijebong:num-traits, r=jdm
Dedupe num-traits

<!-- 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/21372)
<!-- Reviewable:end -->
2018-08-14 11:09:46 -04:00
Manish Goregaokar
981bbff346 Append to LD_LIBRARY_PATH 2018-08-13 17:43:11 -07:00
josh
936ec085fd Remove trailing whitespace in devenv_commands 2018-08-10 13:47:01 -04:00
Josh Brudnak
230f025bc7
Merge branch 'master' into master 2018-08-10 13:11:23 -04:00
JoshBrudnak
fc0a86c038 Add rustfmt command to devenv commands 2018-08-09 17:26:04 -04:00
Josh Matthews
ef66205436 mach: Add ndk-stack command for android crash logs. 2018-08-08 15:34:40 -04:00
Paul Rouget
cef71b47db Upload AAR alongside the APK 2018-08-03 09:42:14 +02:00
Josh Matthews
6ad63b57e7
Fix python indentation. 2018-08-01 23:26:15 -04:00
Josh Matthews
458879b2cd
mach: Avoid python error when there's no cargo cache. 2018-08-01 20:52:17 -04:00
Paul Rouget
e8af185a3d Build a AAR archive alongside the APK 2018-08-01 16:15:47 +08:00
bors-servo
95b54ca8f3
Auto merge of #20912 - paulrouget:androidv2, r=jdm,mortimergoro,simonsapin
Revisit how the Android port works.

Fix #20855
Fix #18625
Fix #21147

Before polishing and making sure everything works fine (like the VR code, the android-x86 version, the non-android version of the lib, …), I'd like to get some early feedback on the approach.

I recommend reviewing commit by commit.

To test, just follow the regular steps:

```
    ./mach build -d --android
    ./mach package --dev --android builds servo.apk
    ./mach install --dev --android && ./mach run --android
```

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/20912)
<!-- Reviewable:end -->
2018-07-31 13:07:33 -04:00
Paul Rouget
6a31864126 Update Gradle and SDK 2018-07-31 22:39:45 +08:00
Paul Rouget
bef2fe83cd new android port: fix android build and tests 2018-07-31 22:39:45 +08:00
Fernando Jiménez Moreno
21cb160be3 test-tidy fixes 2018-07-30 14:21:48 +02:00
bors-servo
00c2489af0
Auto merge of #21104 - wayling:master, r=jdm
"./mach env" cause unclear message.

We did't use "LD_LIBRARY_PATH" and no need display this.

<!-- Please describe your changes on the following line: -->
Remove the print message.

---
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21104)
<!-- Reviewable:end -->
2018-07-28 10:07:27 -04:00
wayling
2ad37bda2c "./mach env" cause unclear message
Use the "get" instead to avoid the error.
2018-07-28 21:59:06 +08:00
ergunsh
ae20469636 merge run_wpt.py into run.py 2018-07-22 22:59:59 +03:00
Simon Sapin
45b710b7f0 Add ./mach test-wpt-android 2018-07-20 17:11:02 +02:00
Simon Sapin
5d416e6600 Refactor run_in_headless_android_emulator.py out of mach test-androi-startup
… and make it more careful about not leaving zombie processes behind.
2018-07-18 18:23:50 +02:00
Simon Sapin
6ef56dac2b Android: run ./mach package implicitly after ./mach build by default
The result of `./mach build` for Android is a `.so` file
that cannot be used on its own, so running build without package
is presumably never useful.
2018-07-16 17:08:28 +02:00
Simon Sapin
8dc2457931 Remove unused --update parameter to ./mach bootstrap-android 2018-07-12 16:01:28 +02:00
Simon Sapin
c0d1b8e808 Android: increase emulator disk size, for debug builds
Avoid INSTALL_FAILED_INSUFFICIENT_STORAGE on install.
2018-07-02 19:00:48 +02:00
Simon Sapin
eecbe83750 Add ./mach test-android-startup 2018-07-02 19:00:48 +02:00
Simon Sapin
bee3fd09c2 mach android-emulator: avoid mach error messages for Python exceptions 2018-07-02 19:00:48 +02:00
Simon Sapin
8293b295be bootstrap-android: check SHA1 hashes of downloaded archives 2018-07-02 19:00:48 +02:00
Simon Sapin
b6b9fe07e2 Add "./mach android-emulator" 2018-07-02 13:25:44 +02:00
Simon Sapin
fc77db4b09 Use the bootstraped Android toolchains by default 2018-07-02 13:25:44 +02:00
Simon Sapin
65122b10d3 bootstrap-android: always run sdkmanager
It is quick when already up to date
2018-07-02 13:25:44 +02:00
Simon Sapin
aa1c3cea2f bootstrap-android: use predictable paths for SDK and NDK
… independent of the version number
2018-07-02 13:25:44 +02:00
Simon Sapin
0e2e9cb019 Create emulator images for both ARM and x86 2018-07-02 13:25:44 +02:00
Simon Sapin
e54ad77594 Do not prompt for Android emulator hardware profile 2018-07-02 13:25:44 +02:00
Simon Sapin
f4d740f086 Typo fixes 2018-07-02 13:25:44 +02:00
Simon Sapin
7d7f2025b7 Fix copy/paste mistake 2018-07-02 13:25:44 +02:00
Simon Sapin
484eee8624 Tidy 2018-07-02 13:25:44 +02:00
Simon Sapin
4cbf3dea05 mach {package,install} --android: add --emulator and --usb 2018-07-02 13:25:44 +02:00
Simon Sapin
fe24816d12 mach run --android: show PID 2018-07-02 13:25:44 +02:00
Simon Sapin
8889742407 mach bootstrap-android: configure and show how to start an emulator 2018-07-02 13:25:44 +02:00
Simon Sapin
1ee54ab5fb Create and Android virtual device 2018-07-02 13:25:44 +02:00
Simon Sapin
244a332976 Use more recent Android tools
The older version seems to insist on updating itself when asked to install other components.
2018-07-02 13:25:44 +02:00
Simon Sapin
56df7f4220 Install complete Android SDK (as much as on Buildbot CI) 2018-07-02 13:25:44 +02:00
Simon Sapin
510cf1a2ab boostrap: set executable bits when extracting zip files 2018-07-02 13:25:44 +02:00
Simon Sapin
b9d5f11b20 Add ./mach bootstrap-android 2018-07-02 13:25:44 +02:00
bors-servo
132bf17e87
Auto merge of #21071 - jdm:mozjs-android, r=ajeffrey
Update mozjs_sys to include cross-compilation fixes.

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #20958

<!-- 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/21071)
<!-- Reviewable:end -->
2018-06-19 20:25:27 -04:00
bors-servo
7f745139a7
Auto merge of #21056 - tigercosmos:ttt, r=jdm
improve test-tidy

check wpt manifest when run tidy

If CI has already run `test-tidy`, and then no need to run `etc/ci/manifest_changed.sh`

<!-- 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/21056)
<!-- Reviewable:end -->
2018-06-19 19:33:01 -04:00