Commit graph

92 commits

Author SHA1 Message Date
Paul Rouget
019fdaa1bd remove bhtml 2018-02-11 08:02:39 +01:00
janczer
661d234c3c Change debug assertions to specific ones 2018-02-07 09:21:24 +01:00
Simon Sapin
cace4fc6eb Remove #![deny(warnings)]
We already have https://github.com/servo/servo/pull/19612
to deny warnings at the time of landing into master.
But it’s not useful to break the build when later compiler
with a more recent Rust version that has introduced new warnings:

https://bugzilla.mozilla.org/show_bug.cgi?id=1434619
2018-01-31 17:00:27 +01:00
Bastien Orivel
29b4eec141 Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
Nika Layzell
2d3331fbd4 Move nsstring from gecko into servo/support/gecko/nsstring
This is the servo side of bug 1403213.

MozReview-Commit-ID: HFdQiuMnGhJ
2017-10-23 14:22:42 -04:00
Gecko Backout
662b2e7397 Backed out changeset 196206f129ef (bug 1403213) for referencing non-existing xpcom/rust/gtest/moz.build in xpcom/moz.build. r=backout on a CLOSED TREE
Backs out https://github.com/servo/servo/pull/18941
2017-10-20 19:33:29 +00:00
Nika Layzell
ec5cf5ceaf Move nsstring from gecko into servo/support/gecko/nsstring
This is the servo side of bug 1403213.

MozReview-Commit-ID: HFdQiuMnGhJ
2017-10-20 10:52:57 -04:00
Simon Sapin
a931d3b840 Use servo-deps AWS S3 bucket instead of rust-lang-ci for OpenSSL 2017-10-19 00:47:19 +02:00
Imanol Fernandez
e93130026a Implement Gradle flavors 2017-09-30 14:31:22 +02:00
John Lin
fbdb2093dd Fix Android build errors on macOS.
- Add sysroot path to environment variable 'CPPFLAGS':
  When checking C preprocessor, the 'configure' script of libbacktrace uses 'CPPFLAGS' rather than 'CFLAGS' and doesn't get the correct search path. (#15758)
  This check passes on Linux because the '/lib/cpp' fallback is available there.

- Introduce CMake toolchain file for Android cross compiling:
  CMake needs several variables [1] to cross compile for Android.
  It works (accidentally) on Linux because cmake-rs sets compilers correctly and binutils for Linux & Android are pretty much the same.

[1] https://cmake.org/cmake/help/v3.7/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk
2017-08-10 12:12:54 +08:00
Imanol Fernandez
48fb715941 Support for Android arm64 compilations 2017-07-05 15:59:50 +02:00
Jeremy Lempereur
a02c074ba9 Changed the openssl url and bumped the version. Refactored the openssl.sh script to avoid version duplication in the code. 2017-06-12 07:55:03 +02:00
Josh Matthews
2ee5a80498 Use real URL. 2017-05-25 13:18:58 -04:00
Josh Matthews
74362ae435 Update openssl source download location. 2017-05-25 13:15:51 -04:00
Imanol Fernandez
7a2a90959e Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
Simon Sapin
381f6967c9 Remove usage of unstable libc crate. 2017-02-20 00:00:50 +01:00
Fabrice Desré
9f631b94ec Cleanup of the Android specific code. 2017-02-16 21:17:39 -08:00
Zhuowei Zhang
f1019569bf android: extract resources to external storage on first launch 2017-02-05 19:12:42 -08:00
Matt Brubeck
727a1fe3de Update clap, clippy, deflate, flate2, open, unicode-segmentation, owning_ref, parking_lot, phf, quote, walkdir 2017-02-02 11:18:33 -08:00
UK992
7048a2f81d Package: Create ZIP on Windows 2017-01-06 03:30:29 +01:00
UK992
736559887b Package: Move Android packaging to target dir
Fixes #13800
2016-12-29 19:19:05 +01:00
UK992
01c7ac785b Package: Set shell.homepage to browserhtml
Closes #12154
2016-12-29 19:19:03 +01:00
UK992
7eb4d7a9a7 Package: Merge changed prefs from package-prefs.json to prefs.json 2016-12-29 19:18:57 +01:00
bors-servo
91a2230933 Auto merge of #14528 - mmatyas:android_cppruntime, r=larsbergstrom
Add C++ runtime shared object to the Android APK

<!-- Please describe your changes on the following line: -->
At the moment, the Android port requires `libc++_shared.so` to run -- this patch adds the file to the generated APK.

Part of #13154.

If you know a cleaner way to solve this issue, feel free to share it! Static linking didn't work, see the related issue.

---
<!-- 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/14528)
<!-- Reviewable:end -->
2016-12-13 13:35:25 -08:00
UK992
ca9e726280 Allow upgrades 2016-12-09 18:31:01 +01:00
UK992
fcdd52a823 Add support for MSVC builds 2016-12-09 18:30:59 +01:00
UK992
e9b1042c25 Fix WiX installer and shorten ids 2016-12-09 18:30:54 +01:00
Mátyás Mustoha
2b99c3cd04 Add C++ runtime shared object to the Android APK 2016-12-09 12:30:46 +01:00
UK992
6cc2457e66 Remove unused font config from wxs 2016-11-13 17:50:27 +01:00
UK992
aa2d45f153 Remove unused dependencies from wxs 2016-11-13 17:48:38 +01:00
Mátyás Mustoha
5bb550dbf0 Update to use the new Android library build rules. 2016-10-28 22:17:10 +02:00
Attila Dusnoki
ccc66d0c32 WebBluetooth Android support 2016-09-06 12:48:04 +02:00
bors-servo
cb01d37338 Auto merge of #12848 - birkoffe:master, r=larsbergstrom
Fix missing libraries for Windows

Fix #12125

<!-- 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/12848)
<!-- Reviewable:end -->
2016-08-15 14:07:46 -05:00
birkoff.anarchist
c9300c94f4 Fix typos 2016-08-13 23:10:57 +07:00
birkoff.anarchist
d0fcc566d9 Fix missing libraries for Windows
Fix #12125
2016-08-13 22:46:38 +07:00
edunham
48ace17b54 Improve tidy's license validation logic
fixes https://github.com/servo/servo/issues/10716

I took the lazy way out and hardcoded the size of block we examine for
licenses.

fixes https://github.com/servo/servo/issues/10719

Includes tests for new functionality.
2016-08-12 13:32:09 +02:00
Lars Bergstrom
236e45ae01 Add ffmpeg file dependencies to the MSI 2016-08-03 19:35:59 -05:00
Lars Bergstrom
82dc707637 Add missing libraries for Windows 2016-07-30 11:03:33 -05:00
Jack Moffitt
ca8b375656 Fix font metrics and switch to windows subsystem
Currently fonts are using incorrect metrics and the app uses the console
subsystem. This patch adds aliases so that font metrics are found and
instructs the linker to use the windows subsystem.
2016-07-26 15:18:54 -06:00
Jack Moffitt
d8c0b87eb2 Add Windows packaging to create an MSI installer 2016-07-25 14:58:33 -06:00
Alan Jeffrey
62e95c5a61 All our Cargo.toml files should contain an MPL-2.0 license field. 2016-07-14 10:26:34 -05:00
bors-servo
2b32ec4301 Auto merge of #11691 - larsbergstrom:android_load, r=mbrubeck
Add very simple Android browser page load support

I've long had this set of private patches that enables actually demoing Servo on Android without having the device connected, but they're a bit hackish due to some current limitations in our windowing toolkit library. I'm considering committing them, though, as it makes the resulting APK *actually* somewhat usable.

Thoughts / r? @mbrubeck

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11691)
<!-- Reviewable:end -->
2016-06-09 22:45:23 -05:00
Lars Bergstrom
6beed30524 Add very simple Android browser page load support 2016-06-09 15:36:55 -05:00
Lars Bergstrom
988cdf98eb Update build.xml for new format from updated toolchains 2016-06-09 12:53:47 -05:00
Aneesh Agrawal
fa33eefcbd Fix Android APK building (packaging)
I missed this syntax error during my review, and we don't check that
packaging succeeds in regular build suite, but only as a Nightly build.
2016-05-24 23:41:40 -04:00
Mitchell Hentges
619212abf3 Reduce 'android-18' duplication, as originally done by wenderen
Use android.platform (and $ANDROID_PLATFORM) for configuration, apply 'android-18' default
2016-05-20 22:23:28 +02:00
Matt Brubeck
e1386cad6f Upgrade to OpenSSL 1.0.1t on Android 2016-05-03 15:46:18 -07:00
Zbynek Winkler
924d804583 Move '&&' to the end of the previous line.
Following https://github.com/servo/servo/issues/10692 this is just a
formating change to satisfy a new tidy requirement of not having '&&' at
the beginning of a line.
2016-04-22 14:28:18 +02:00
UK992
193fc1f84e Tidy fix 2016-03-08 01:38:49 +01:00
Cengiz Can
12100edffc Replace deprecated fs::walk_dir call with walkdir crate 2016-03-07 14:12:05 +02:00