diff --git a/.gitmodules b/.gitmodules index 6e01b1c87fc..e9d92f3f743 100644 --- a/.gitmodules +++ b/.gitmodules @@ -106,3 +106,7 @@ [submodule "src/support/http/rust-http"] path = src/support/http/rust-http url = https://github.com/mozilla-servo/rust-http +[submodule "src/support/encoding/rust-encoding"] + path = src/support/encoding/rust-encoding + url = https://github.com/mozilla-servo/rust-encoding.git + branch = rust-servo diff --git a/configure b/configure index 5de771e9268..e870f7b50f4 100755 --- a/configure +++ b/configure @@ -498,6 +498,7 @@ CFG_SUBMODULES="\ support/alert/rust-alert \ support/azure/rust-azure \ support/css/rust-cssparser \ + support/encoding/rust-encoding \ support/harfbuzz/rust-harfbuzz \ support/http/rust-http \ support/hubbub/libhubbub \ diff --git a/mk/sub.mk b/mk/sub.mk index d4ccf03883c..da506cb2b1a 100644 --- a/mk/sub.mk +++ b/mk/sub.mk @@ -50,6 +50,15 @@ DEPS_rust-azure += \ rust \ $(NULL) +DEPS_rust-cssparser += \ + rust-encoding \ + rust \ + $(NULL) + +DEPS_rust-encoding += \ + rust \ + $(NULL) + DEPS_glfw-rs += \ glfw \ rust \ diff --git a/src/support/encoding/rust-encoding b/src/support/encoding/rust-encoding new file mode 160000 index 00000000000..2c486a34ded --- /dev/null +++ b/src/support/encoding/rust-encoding @@ -0,0 +1 @@ +Subproject commit 2c486a34dedba1faace3de641e0ace103c7f3145