Commit graph

98 commits

Author SHA1 Message Date
Mike Blumenkrantz
abe5d2e0ab add start of embedding crate: build system with CEF types 2014-05-01 16:58:33 -04:00
James Graham
76125bbd51 Allow passing extra args to wptrunner via an environment variable 2014-04-28 10:51:19 +01:00
Ms2ger
a959269ea8 Support running make check-wpt with the objdir in less common places. 2014-04-18 17:10:02 +02:00
bors-servo
9edfb439a6 auto merge of #2089 : Manishearth/servo/wpt, r=Ms2ger
See #1479

This sets up a basic environment for running wpt. It instantiates a virtualenv, generates the manifest if it doesn't exist*, and runs the tests.

Currently @Ms2ger's [`run-in-servo` fork of wpt](https://github.com/Ms2ger/web-platform-tests/tree/run-in-servo/)  is used.

Note: I did everything in a shell script instead of make since one cannot run `source` from a makefile (the environment is immutable, apparently)


*It does not, however, update the manifest. We'll have to add an extra script for that.
2014-04-18 10:04:07 -04:00
Manish Goregaokar
8cdaa9a0c4 Add web-platform-tests submodule and test runner 2014-04-18 19:21:37 +05:30
Jack Moffitt
984bbed586 Remove NSS and NSPR from the build.
These were not being used and are responsible for a large amount of work
and problems.
2014-04-17 09:20:53 -06:00
Lars Bergstrom
020db4118c Clean files associated with static linking 2014-03-19 14:19:28 -05:00
Keegan McAllister
6f76244377 Move content tests to src/test/content for consistency 2014-03-07 15:47:42 -08:00
Keegan McAllister
32cdc2107b Reftest both CPU and GPU rendering
Fixes #1179.
2014-03-03 18:09:18 -08:00
Keegan McAllister
ff189fca9b Build Fontconfig 2.11 in-tree on Linux
After applying this patch, on Linux you will need to

    ../configure
    make clean-rust-azure clean-fontconfig clean-rust-fontconfig

Fixes #1752.
2014-02-27 12:05:17 -08:00
tgkokk
cd36b7e0f6 Fix #922: Bindings generator generates .pyc files 2014-02-24 21:02:05 +02:00
xiongmao86
d5dbac88a5 Failed to link -lpng while make reftest is fixed. 2014-01-31 17:16:26 +08:00
Lars Bergstrom
9a74cadc02 Enable ref tests on darwin 2014-01-26 20:34:13 -06:00
Josh Matthews
97d2ce98c4 Fix DOM binding generation to use proper output directory. 2014-01-24 15:40:19 -08:00
Lars Bergstrom
28fa9b0069 Make ref tests check the pixels for differences and emit a difference file. 2014-01-23 14:38:34 -08:00
aydin.kim
8d85f71573 add android graphic surface layer using EGL extensions 2013-12-30 09:58:03 +09:00
Jack Moffitt
0c62b99559 Build with make instead of rustpkg. 2013-12-26 23:57:58 -07:00
Simon Sapin
b98acc2f75 Add rust-encoding as a submodule.
Upstream: https://github.com/lifthrasiir/rust-encoding
Servo’s fork: https://github.com/mozilla-servo/rust-encoding

As of this writing, upstream’s master branch targets Rust 0.8,
and its rust-0.9-pre branch targets Rust master.
Servo uses a Rust version in-between those.
I pushed a rust-servo branch to our fork
that backports from rust-0.9-pre.
2013-12-11 14:25:07 +00:00
Simon Sapin
bc36ca860d Remove obsolete makefile lines about Netsurf’s libcss. 2013-12-11 13:10:52 +00:00
Keegan McAllister
3f1051022a rustpkg.mk: Defer shell commands until after 'define' expansion
This way the uname -s check will prevent us from invoking nonexistent sw_vers
on Linux.
2013-11-25 13:16:26 -08:00
Jack Moffitt
e4d9db6ae8 Set cfg flags on all rust packages. 2013-11-19 16:04:17 -07:00
Jack Moffitt
00c023aa20 Fix clean-servo to include clean-style. 2013-11-19 13:52:01 -07:00
Keegan McAllister
94937b2f2a Pass Mac OS version cfg flags to rust-opengles build
This was in the rust-opengles Makefile.in pre-rustpkg.
2013-11-14 14:16:21 +09:00
Keegan McAllister
db6d25ff13 Build some dependencies with rustpkg
Also take a rust-layers bugfix.

In collaboration with Jack Moffitt.
2013-11-14 11:21:08 +09:00
Patrick Walton
74dcb6fccf mk: Update dependencies. 2013-10-24 16:44:05 -07:00
Jack Moffitt
493bdec07c Make hubbub depend on libparserutils. 2013-10-24 04:03:04 -06:00
Simon Sapin
2045f6a068 Remove (now unused) NetSurf’s libcss and libwapcaplet.
This removes four submodules (two C libraries and their Rust bindings.)
2013-10-23 14:42:29 +02:00
Jack Moffitt
2558c723c9 Disable contenttest on linux because it doesn't work anyway. 2013-10-22 10:07:38 -06:00
Jack Moffitt
641fa2d968 Run one contenttest at a time. 2013-10-22 06:50:45 -06:00
Jack Moffitt
8b47221ff8 Small bugfixes in sub.mk. 2013-10-21 17:11:14 -06:00
Simon Sapin
c0a5e8f6eb Add a new 'style' crate. (Empty for now.) 2013-10-14 21:44:24 +01:00
Keegan McAllister
e0fc4d252e Make rust-png depend on libpng
Fixes #1014.
2013-10-11 16:52:55 -07:00
Keegan McAllister
bb4b9d6195 Run tests from non-main crates
Fixes #1035
2013-10-10 18:18:39 -07:00
Jack Moffitt
7ee000f613 Make rust submodules depend on rust. 2013-09-23 10:40:34 -06:00
Jack Moffitt
59151ad3dc Add *.dSYM to clean targets. 2013-09-23 10:40:09 -06:00
Jack Moffitt
194864af97 Fix nss/nspr depdency chain. 2013-09-23 10:38:46 -06:00
Keegan McAllister
8f74a3122c sub.mk: Remove CFLAGS_mozjs
Seems to have no effect.
2013-09-04 17:39:33 -07:00
Josh Matthews
2947c0c5bd Add test for proxy dom bindings setter. Fix up prototypes content test to reflect new bindings. Hook up contenttest harness to make check target. 2013-08-30 15:16:47 -04:00
Youngmin Yoo
7058c16381 Update clean-servo in clean.mk 2013-08-28 15:53:28 +09:00
Yongjin Kim
3230f4c2e3 support android build 2013-08-22 15:26:08 +09:00
Keegan McAllister
9346cab684 Remove rust-glut 2013-08-15 13:55:40 -07:00
Jack Moffitt
2539bf744f Prettify make output during builds. 2013-07-22 20:44:24 -06:00
Jack Moffitt
728330fb88 Rewrite reftest harness and add basic example reftest. 2013-07-17 20:31:12 -06:00
Jack Moffitt
12eb1e55a6 Clean up check targets in Makefiles. 2013-07-16 09:55:19 -06:00
Keegan McAllister
a08cf913cd Fix silent failure of make clean-servo
Brace expansion is a bashism and doesn't work everywhere (for example, on
Debian where /bin/sh is dash).
2013-07-11 10:58:27 -07:00
Jack Moffitt
e0e5e1a2a7 Replace glut with glfw.
Also fixes initial window size to get based on the windowing code instead of
being hardcoded everywhere. This code works on HiDPI displays, but does not
appropriately scale the output up yet.
2013-07-04 12:54:30 -06:00
Jack Moffitt
39e759fb20 Fix clean targets. 2013-07-04 12:51:23 -06:00
Sankha Narayan Guria
3a306a463b Fixes check-content target. 2013-07-01 16:40:44 +05:30
Tim Kuehn
2253365735 libmsg crate for message interfaces to compositor and engine 2013-06-19 21:31:12 -07:00
Jack Moffitt
ddf7c94a5e Fix dependencies. 2013-06-14 13:33:11 -06:00