diff --git a/src/servo/servo.rc b/src/servo/servo.rc index 85aa97a397e..cb0f4421bb7 100755 --- a/src/servo/servo.rc +++ b/src/servo/servo.rc @@ -17,6 +17,8 @@ use layers; use opengles; use http_client; +mod engine; + mod dom { mod base; mod event; @@ -29,19 +31,9 @@ mod dom { } } -mod gfx { - mod geometry; - mod surface; - mod render_task; - mod compositor; - mod png_compositor; -} - -mod image { - mod base; - mod encode { - mod tga; - } +#[allow(non_implicitly_copyable_typarams)] +mod content { + mod content_task; } mod layout { @@ -62,6 +54,21 @@ mod layout { mod traverse; } +mod gfx { + mod geometry; + mod surface; + mod render_task; + mod compositor; + mod png_compositor; +} + +mod image { + mod base; + mod encode { + mod tga; + } +} + mod parser { mod lexer_util; mod parser_util; @@ -97,21 +104,6 @@ mod text { mod util; } -mod util { - mod tree; - mod color; - mod time; - mod url; -} - -#[allow(non_implicitly_copyable_typarams)] -mod content { - mod content_task; -} - -mod opts; -mod engine; - mod resource { mod resource_task; mod file_loader; @@ -119,4 +111,13 @@ mod resource { mod image_cache_task; } +mod util { + mod tree; + mod color; + mod time; + mod url; +} + +mod opts; + import servo_text = text;