* [PATCH] android: Make use of Android system headers instead of local one
@ 2013-10-23 12:44 Andrei Emeltchenko
2013-10-23 12:54 ` Szymon Janc
2013-10-23 12:59 ` Johan Hedberg
0 siblings, 2 replies; 3+ messages in thread
From: Andrei Emeltchenko @ 2013-10-23 12:44 UTC (permalink / raw)
To: linux-bluetooth
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
Since the headers were copied to android/ folder Android build started
to use those instead of original Android system headers. The patch
puts Android system headers first.
---
android/Android.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/android/Android.mk b/android/Android.mk
index 3163763..0640842 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -71,6 +71,9 @@ LOCAL_SRC_FILES := \
hal-pan.c \
hal-av.c \
+LOCAL_C_INCLUDES += \
+ system/core/include \
+
LOCAL_SHARED_LIBRARIES := \
libcutils \
--
1.8.1.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] android: Make use of Android system headers instead of local one
2013-10-23 12:44 [PATCH] android: Make use of Android system headers instead of local one Andrei Emeltchenko
@ 2013-10-23 12:54 ` Szymon Janc
2013-10-23 12:59 ` Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Szymon Janc @ 2013-10-23 12:54 UTC (permalink / raw)
To: Andrei Emeltchenko; +Cc: linux-bluetooth
Hi,
On Wednesday 23 of October 2013 15:44:41 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
>
> Since the headers were copied to android/ folder Android build started
> to use those instead of original Android system headers. The patch
> puts Android system headers first.
> ---
> android/Android.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/android/Android.mk b/android/Android.mk
> index 3163763..0640842 100644
> --- a/android/Android.mk
> +++ b/android/Android.mk
> @@ -71,6 +71,9 @@ LOCAL_SRC_FILES := \
> hal-pan.c \
> hal-av.c \
>
> +LOCAL_C_INCLUDES += \
> + system/core/include \
> +
We could use include-path-for to not hardcode path to core
LOCAL_C_INCLUDES += $(call include-path-for, system-core)
> LOCAL_SHARED_LIBRARIES := \
> libcutils \
>
>
--
BR
Szymon Janc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] android: Make use of Android system headers instead of local one
2013-10-23 12:44 [PATCH] android: Make use of Android system headers instead of local one Andrei Emeltchenko
2013-10-23 12:54 ` Szymon Janc
@ 2013-10-23 12:59 ` Johan Hedberg
1 sibling, 0 replies; 3+ messages in thread
From: Johan Hedberg @ 2013-10-23 12:59 UTC (permalink / raw)
To: Andrei Emeltchenko; +Cc: linux-bluetooth
Hi Andrei,
On Wed, Oct 23, 2013, Andrei Emeltchenko wrote:
> Since the headers were copied to android/ folder Android build started
> to use those instead of original Android system headers. The patch
> puts Android system headers first.
> ---
> android/Android.mk | 3 +++
> 1 file changed, 3 insertions(+)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-23 12:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-23 12:44 [PATCH] android: Make use of Android system headers instead of local one Andrei Emeltchenko
2013-10-23 12:54 ` Szymon Janc
2013-10-23 12:59 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox