mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Add rust-css, bindings for libcss
This commit is contained in:
parent
c8f686083a
commit
3e9254ef0f
5 changed files with 9 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -59,3 +59,6 @@
|
||||||
path = src/libcss
|
path = src/libcss
|
||||||
url = git://github.com/pcwalton/libcss.git
|
url = git://github.com/pcwalton/libcss.git
|
||||||
|
|
||||||
|
[submodule "src/rust-css"]
|
||||||
|
path = src/rust-css
|
||||||
|
url = git://github.com/brson/rust-css.git
|
||||||
|
|
2
configure
vendored
2
configure
vendored
|
@ -344,7 +344,7 @@ step_msg "running submodule autoconf scripts"
|
||||||
|
|
||||||
(cd ${CFG_SRC_DIR}src/mozjs/js/src && "${CFG_AUTOCONF213}") || exit $?
|
(cd ${CFG_SRC_DIR}src/mozjs/js/src && "${CFG_AUTOCONF213}") || exit $?
|
||||||
|
|
||||||
CFG_SUBMODULES="libwapcaplet rust-harfbuzz rust-opengles rust-azure rust-stb-image rust-geom rust-glut rust-layers rust-http-client libparserutils libhubbub libcss servo-sandbox rust-hubbub sharegl rust-mozjs mozjs"
|
CFG_SUBMODULES="libwapcaplet rust-harfbuzz rust-opengles rust-azure rust-stb-image rust-geom rust-glut rust-layers rust-http-client libparserutils libhubbub libcss rust-css servo-sandbox rust-hubbub sharegl rust-mozjs mozjs"
|
||||||
|
|
||||||
if [ $CFG_OSTYPE = "darwin" ]
|
if [ $CFG_OSTYPE = "darwin" ]
|
||||||
then
|
then
|
||||||
|
|
|
@ -21,6 +21,9 @@ DEPS_servo-sandbox += \
|
||||||
DEPS_rust-hubbub += \
|
DEPS_rust-hubbub += \
|
||||||
libhubbub
|
libhubbub
|
||||||
|
|
||||||
|
DEPS_rust-css += \
|
||||||
|
libcss
|
||||||
|
|
||||||
CFLAGS_mozjs += \
|
CFLAGS_mozjs += \
|
||||||
"-I../mozjs/dist/include"
|
"-I../mozjs/dist/include"
|
||||||
|
|
||||||
|
|
1
src/rust-css
Submodule
1
src/rust-css
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 0424ff2d46795d7d3c374b41cf258266fb486e08
|
|
@ -18,6 +18,7 @@ extern mod opengles;
|
||||||
extern mod http_client;
|
extern mod http_client;
|
||||||
extern mod hubbub;
|
extern mod hubbub;
|
||||||
extern mod sharegl;
|
extern mod sharegl;
|
||||||
|
extern mod cssparser (name = "css");
|
||||||
|
|
||||||
pub mod engine;
|
pub mod engine;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue