Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[android] Do not use libuv
Browse files Browse the repository at this point in the history
Build using Looper instead, provided by the NDK.
  • Loading branch information
tmpsantos committed Apr 6, 2016
1 parent 10b503e commit 4b05705
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions gyp/mbgl.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,14 @@
],
}],

['loop_lib == "android"', {
'sources': [
'../platform/android/src/async_task.cpp',
'../platform/android/src/run_loop.cpp',
'../platform/android/src/timer.cpp',
],
}],

['loop_lib == "uv"', {
'sources': [
'../platform/default/async_task.cpp',
Expand Down
1 change: 0 additions & 1 deletion platform/android/scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ BOOST_VERSION=1.59.0
LIBPNG_VERSION=1.6.20
LIBJPEG_TURBO_VERSION=1.4.2
SQLITE_VERSION=3.9.1
LIBUV_VERSION=1.7.5
ZLIB_VERSION=system
NUNICODE_VERSION=1.6
LIBZIP_VERSION=0.11.2
Expand Down
2 changes: 1 addition & 1 deletion platform/android/scripts/defaults.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ HEADLESS ?= none
PLATFORM ?= android
ASSET ?= zip
HTTP ?= android
LOOP ?= uv
LOOP ?= android

GYP_FLAVOR_SUFFIX=-android

Expand Down

0 comments on commit 4b05705

Please sign in to comment.