Re: [PATCH] android: Make use of Android system headers instead of local one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Wednesday 23 of October 2013 15:44:41 Andrei Emeltchenko wrote:
> From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx>
> 
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux