Skip to content
This repository was archived by the owner on Jun 8, 2020. It is now read-only.

Commit 5ea83de

Browse files
author
bors-servo
authored
Auto merge of #136 - MortimerGoro:android_armv7, r=jdm
Support armv7-linux-androideabi && aarch64-linux-android targets Fixes: - Linker error on Servo using `armv7-linux-androideabi` target - Compilation error on Servo using `aarch64-linux-android` target <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/skia/136) <!-- Reviewable:end -->
2 parents a4232aa + 437ce48 commit 5ea83de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,7 @@ endif() # Windows
636636

637637
message(STATUS "Building for target: $ENV{TARGET}")
638638

639-
if($ENV{TARGET} MATCHES ".*androideabi.*")
639+
if($ENV{TARGET} MATCHES ".*android.*")
640640
add_definitions(-DSK_BUILD_FOR_ANDROID -DEGL_EGLEXT_PROTOTYPES)
641641
include_directories(platform_tools/android/third_party/cpufeatures)
642642

@@ -723,7 +723,7 @@ if($ENV{TARGET} MATCHES "(i686|x86_64)-.*")
723723
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /arch:SSE2")
724724
endif()
725725
endif()
726-
elseif($ENV{TARGET} MATCHES "arm-.*")
726+
elseif($ENV{TARGET} MATCHES "(arm|armv7)-.*")
727727
set(SKIA_SRC ${SKIA_SRC} ${SKIA_OPTS_ARM_NEON_SRC})
728728
add_definitions(-mfpu=neon -D__ARM_HAVE_OPTIONAL_NEON_SUPPORT)
729729
# FIXME: Need more advanced detection of FP support

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "servo-skia"
4-
version = "0.30000004.1"
4+
version = "0.30000004.2"
55
authors = ["The Skia Project Developers and The Servo Project Developers"]
66
description = "2D graphic library for drawing Text, Geometries, and Images"
77
license = "BSD-3-Clause"

0 commit comments

Comments
 (0)