2014-08-27 11:54:20

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android: Set exact Android version

From: Andrei Emeltchenko <[email protected]>

For local build set exact current Android version.
---
android/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/android/Makefile.am b/android/Makefile.am
index 4b93c5b..24714c4 100644
--- a/android/Makefile.am
+++ b/android/Makefile.am
@@ -1,6 +1,6 @@
if ANDROID

-AM_CFLAGS += -DANDROID_VERSION=0xFFFFFF
+AM_CFLAGS += -DANDROID_VERSION=0x040404

android_plugindir = $(abs_top_srcdir)/android/.libs

--
1.9.1



2014-08-27 11:59:24

by Szymon Janc

[permalink] [raw]
Subject: Re: [PATCH] android: Set exact Android version

Hi Andrei,

On Wednesday 27 of August 2014 14:54:20 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> For local build set exact current Android version.
> ---
> android/Makefile.am | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/android/Makefile.am b/android/Makefile.am
> index 4b93c5b..24714c4 100644
> --- a/android/Makefile.am
> +++ b/android/Makefile.am
> @@ -1,6 +1,6 @@
> if ANDROID
>
> -AM_CFLAGS += -DANDROID_VERSION=0xFFFFFF
> +AM_CFLAGS += -DANDROID_VERSION=0x040404
>
> android_plugindir = $(abs_top_srcdir)/android/.libs

This is on purpose, since on host we always want to build latest API.

--
Best regards,
Szymon Janc