diff options
-rw-r--r-- | Makefile.in | 6 | ||||
-rwxr-xr-x | configure | 1 | ||||
m--------- | src/compiler/rust | 0 | ||||
-rw-r--r-- | src/components/main/layout/context.rs | 6 | ||||
-rwxr-xr-x | src/components/main/servo.rs | 4 | ||||
m--------- | src/platform/android/servo-android-glue | 0 | ||||
m--------- | src/support/egl/rust-egl | 0 | ||||
m--------- | src/support/layers/rust-layers | 0 | ||||
m--------- | src/support/stb-image/rust-stb-image | 0 |
9 files changed, 11 insertions, 6 deletions
diff --git a/Makefile.in b/Makefile.in index d8619e8bd8b..21b5e1d15c1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -107,6 +107,12 @@ $(B)src/compiler/rust/rust-auto-clean-stamp: $(S)src/compiler/rust-auto-clean-tr rust: $(CFG_RUSTC) +# These arguments are automatically provided by the Rust compiler's build process to +# itself, so they must be specified later for our Rust modules. +ifeq ($(CFG_OSTYPE),linux-androideabi) + CFG_RUSTC_FLAGS += --target arm-linux-androideabi -C android-cross-path=$(CFG_ANDROID_CROSS_PATH) +endif + # Strip off submodule paths to determine "raw" submodule names. SUBMODULES=$(shell echo $(CFG_SUBMODULES) | perl -p -e 's![A-Za-z0-9_-]+/!!g') diff --git a/configure b/configure index ad101f6201f..a460952b47a 100755 --- a/configure +++ b/configure @@ -385,7 +385,6 @@ case ${TARGET_OSTYPE} in probe CFG_RANLIB arm-linux-androideabi-ranlib export PATH=${OLD_PATH} - CFG_RUSTC_FLAGS="--target=${CFG_TARGET_TRIPLES} -C android-cross-path=${CFG_ANDROID_CROSS_PATH}" ;; *) CFG_PATH=$PATH diff --git a/src/compiler/rust b/src/compiler/rust -Subproject d6811bc1bdeb66381af4b9bf3e4ff77b3cee27f +Subproject aa39d755e3f9823b51cc57761c0c8c75759aca2 diff --git a/src/components/main/layout/context.rs b/src/components/main/layout/context.rs index a43fff40119..512e71aca7a 100644 --- a/src/components/main/layout/context.rs +++ b/src/components/main/layout/context.rs @@ -37,7 +37,7 @@ use std::local_data; static mut FONT_CONTEXT: *mut FontContext = 0 as *mut FontContext; #[cfg(target_os="android")] -local_data_key!(font_context: * mut FontContext) +local_data_key!(font_context: *mut FontContext) #[cfg(not(target_os="android"))] #[thread_local] @@ -45,7 +45,7 @@ static mut APPLICABLE_DECLARATIONS_CACHE: *mut ApplicableDeclarationsCache = 0 as *mut ApplicableDeclarationsCache; #[cfg(target_os="android")] -local_data_key!(applicable_declarations_cache: * mut ApplicableDeclarationsCache) +local_data_key!(applicable_declarations_cache: *mut ApplicableDeclarationsCache) #[cfg(not(target_os="android"))] #[thread_local] @@ -53,7 +53,7 @@ static mut STYLE_SHARING_CANDIDATE_CACHE: *mut StyleSharingCandidateCache = 0 as *mut StyleSharingCandidateCache; #[cfg(target_os="android")] -local_data_key!(style_sharing_candidate_cache: * mut StyleSharingCandidateCache) +local_data_key!(style_sharing_candidate_cache: *mut StyleSharingCandidateCache) /// Data shared by all layout workers. #[deriving(Clone)] diff --git a/src/components/main/servo.rs b/src/components/main/servo.rs index c52ae877f6c..562cd71ce28 100755 --- a/src/components/main/servo.rs +++ b/src/components/main/servo.rs @@ -67,8 +67,8 @@ use servo_util::opts; #[cfg(not(test))] use servo_util::url::parse_url; -#[cfg(not(test), target_os="linux")] -#[cfg(not(test), target_os="macos")] + +#[cfg(not(test), not(target_os="android"))] use std::os; #[cfg(not(test), target_os="android")] use std::str; diff --git a/src/platform/android/servo-android-glue b/src/platform/android/servo-android-glue -Subproject 89757a91ba1b012cb003ceb60a121226f5646c0 +Subproject 0941b7702380d57ffe95823cfb057d752fd150a diff --git a/src/support/egl/rust-egl b/src/support/egl/rust-egl -Subproject c2b23d8aa8dc857536b1b68cf6646a1e1151716 +Subproject ffb1be4fecbfadacd02e5a714025bc58e6833f2 diff --git a/src/support/layers/rust-layers b/src/support/layers/rust-layers -Subproject 42f6584fff271939f9eb7af031710ff4b65df46 +Subproject 10d40153462cf7248fcf35db5c18cf026cd25ae diff --git a/src/support/stb-image/rust-stb-image b/src/support/stb-image/rust-stb-image -Subproject a2671a7aec350a85f5de5b4838cbc500ecb0372 +Subproject 064e33d8217424a33636c8019b1f1f74a44ee2b |