Commit graph

110 commits

Author SHA1 Message Date
Glenn Watson
9af9ce4bc0 Add stringcache to build, now that phf is working on android 2014-07-14 10:17:42 +10:00
Glenn Watson
28031801de Enable rust-phf build and bump rust-phf submodule ptr. 2014-07-11 13:44:37 +10:00
Nicholas Nethercote
24d3979ce8 Add a task_info crate and a task_basic_info module within it.
The crate provides an interface to the Mac-specific `task_info()`
function in general, and the module provides an interface to the
TASK_BASIC_INFO flavor.  Currently only the `virtual_size` and
`resident_size` values of the `task_basic_info` struct are exposed, but
there's obvious room for expansion.

This is used to implement the -m measurements on Mac.
2014-07-08 10:58:07 +10:00
Glenn Watson
3f18a89084 Disable rust-phf until cross compile / make check issue is sorted. 2014-07-04 07:33:00 +10:00
Simon Sapin
66f31d3343 Fetch Rust snapshots over HTTPS. Fix #2752 2014-07-03 10:25:23 +01:00
Glenn Watson
9ab71c20ac Remove phf from android build for now, until cross compiler build is worked out. 2014-07-02 13:44:10 +10:00
Josh Matthews
cc7493ea2f Split compositing/pipeline/constellation code into separate crate. 2014-06-28 09:00:43 -04:00
Josh Matthews
23968efbd1 Split layout code into a separate crate. 2014-06-28 08:12:34 -04:00
Josh Matthews
a377d3b202 Merge pull request #2670 from fdipilla/ticket#2150
Added path space support (Fixes #2150)
2014-06-20 11:01:09 +01:00
fdipilla
c8841f135e Added path space support (Fixes #2150) 2014-06-18 11:14:36 -03:00
Manish Goregaokar
746ae7625b Use downloaded snapshots instead of in-tree rust. Also a working linux travis conf 2014-06-13 21:00:39 +05:30
Glenn Watson
787679a35d Add rust-phf to servo build. 2014-06-13 11:19:10 +10:00
Cameron Zwarich
a2afa4b935 Make configure recognize the '-h' option in addition to '--help'. 2014-05-07 00:37:27 -07:00
Josh Matthews
ffdc3f5b32 Turn on GC all the time. Fix rooting errors during parsing and storing timers. Fix borrow errors during tracing. 2014-05-03 14:18:30 -04:00
Mike Blumenkrantz
abe5d2e0ab add start of embedding crate: build system with CEF types 2014-05-01 16:58:33 -04:00
Jack Moffitt
676c5b6949 Change how backup/restore make task works.
Now we write $SRC/.config.mk.last to store the most recent configure
variables for the backup and restore task. Also, they no longer fail if
they can't find the variables, and will skip the backup/restore stages
and keep going.
2014-04-29 13:02:36 -06:00
Jack Moffitt
6d2b6452e8 Some minor configure and Makefile cleanup.
Move CFG_TARGET_TRIPLES to CFG_TARGET, since only one target is
supported anyway.

Create config.{mk,tmp,status} files in build directory instead of the
source directory.
2014-04-29 13:02:36 -06:00
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
00e5f010d4 Update the configuration files to properly build rust. Revert rust-stb-image submodule misupdate. 2014-04-10 13:00:12 -05:00
Matt Brubeck
79ca9b6eb0 Move common macros into a new crate (fixes #1882) 2014-03-21 14:54:56 -07:00
Lars Bergstrom
6365b76597 Rust upgrade for android 2014-03-18 09:31:22 -05:00
Keegan McAllister
56b2eccb6b Don't build Fontconfig docs
Fixes #1790
2014-03-03 10:37:40 -08:00
Keegan McAllister
5a6675a296 Work around missing expat.pc on some RedHat-based systems 2014-02-28 13:10:02 -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
Jack Moffitt
a7ef1cd35e Upgrade to latest Rust. 2014-01-12 19:45:45 -07:00
bors-servo
90f44738a4 auto merge of #1445 : webconv/servo/PR_android, r=kmcallister
1. We've aimed to android 4.3 Jellybean devices like Galaxy 10.1 and Galaxy Nexus, etc. I think it could still support android 4.1
2. Needs android ndk r9(not r9b) and latest android sdk
3. Needs some device list update on sdk for apk build.
4. Currently we can not build android port on mac because compiler build problem like https://github.com/mozilla/rust/pull/10921. Hopefully I expect that it could be resolved at next rust upgrade.
2014-01-03 07:40:48 -08:00
discomfitor
12cee06388 make configure not clobber modified submodules at all
this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
2014-01-02 19:17:32 -05:00
aydin.kim
a90d12eaee fix build error on android(libuv 3.0) 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
bors-servo
b4c0020492 auto merge of #1307 : pcwalton/servo/disable-manage-submodules, r=kmcallister
r? @kmcallister
2013-11-25 14:16:19 -08:00
Patrick Walton
be357f37fe mk: Don't error out on dirty submodules if --disable-manage-submodules is on 2013-11-25 14:12:09 -08:00
bors-servo
d2cfb65127 auto merge of #1260 : metajack/servo/kmcallister-rustpkg, r=metajack,me
Rebased from @kmcallister's branch to fix mac platform issues.
2013-11-19 15:25:48 -08:00
Keegan McAllister
c1eefcd5af configure: Refuse to do anything if a submodule has a dirty working tree
This isn't a full fix for #522 / #835 but it prevents the unrecoverable
loss of work without changing the behavior of configure generally.

If configure drops committed local work, it can be recovered from the reflog.
2013-11-14 15:08:33 +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
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
Simon Sapin
c0a5e8f6eb Add a new 'style' crate. (Empty for now.) 2013-10-14 21:44:24 +01:00
Keegan McAllister
346591e41a configure: Prevent in-tree builds
Fixes #251.
2013-10-11 16:52:55 -07:00
bors-servo
c246188605 auto merge of #826 : metajack/servo/android-darwin, r=jdm
This cleans up configure and Makefile.in so that things build correctly on Darwin.

This needs https://github.com/mozilla-servo/nss/pull/6 before it can be merged. Please hold any r+ until that lands and I push the submodule update.
2013-09-24 13:09:40 -07:00
Jack Moffitt
3f9ce9b55e Build rustc with debugging enabled. 2013-09-23 10:39:58 -06:00
Keegan McAllister
d8667a553b configure: Control Skia debugging with a separate --enable-debug-skia
Fixes #921.
2013-09-17 17:46:01 -07:00
Brian Anderson
232bdae8e6 Add rust-http to the build and begin using it to resolve http urls 2013-09-03 16:42:21 -07:00
Jack Moffitt
8fb3571bd9 Fix android build on Darwin.
This cleans up configure and Makefile.in so that things build correctly on Darwin.
2013-08-30 14:27:20 -06:00
aydin.kim
05d5edafe0 fix Mac build 2013-08-22 19:02:20 +09:00
Yongjin Kim
3230f4c2e3 support android build 2013-08-22 15:26:08 +09:00
Peng Liu
bcf67d9d7f Pull libpng in tree to avoid the configuration issue related to libpng.
Most work done by @pliu6
2013-08-20 14:43:08 -06:00
Keegan McAllister
ef50acfa89 Remove HTTP support (!)
We'll need a new HTTP client lib written against newrt.
2013-08-15 13:56:29 -07:00
Keegan McAllister
9346cab684 Remove rust-glut 2013-08-15 13:55:40 -07:00
Jack Moffitt
e9b1657df6 Add rust-png submodule. 2013-07-16 09:55:19 -06:00
Simon Sapin
d75489356e Add a submodule for rust-cssparser
Even though this parser is not used yet, having it built
and tested with the rest of Servo helps ensure it does not bitrot.
2013-07-10 20:40:01 +01:00