2013-10-24 14:22:41

by Andrei Emeltchenko

[permalink] [raw]
Subject: [PATCH] android: Make haltest and bluetoothd depend on HAL lib

From: Andrei Emeltchenko <[email protected]>

The patch makes haltest and bluetoothd depend on bluetooth.default target
which is already defined. glib dependency Android resolves itself.
Fixes issue that for the fresh build only bluetooth.default.so is built.
---
android/Android.mk | 1 +
1 file changed, 1 insertion(+)

diff --git a/android/Android.mk b/android/Android.mk
index aac5c67..7049a20 100644
--- a/android/Android.mk
+++ b/android/Android.mk
@@ -84,6 +84,7 @@ LOCAL_MODULE := bluetooth.default
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_REQUIRED_MODULES := haltest bluetoothd

include $(BUILD_SHARED_LIBRARY)

--
1.7.10.4



2013-10-25 08:11:53

by Luiz Augusto von Dentz

[permalink] [raw]
Subject: Re: [PATCH] android: Make haltest and bluetoothd depend on HAL lib

Hi Andrei,

On Thu, Oct 24, 2013 at 5:22 PM, Andrei Emeltchenko
<[email protected]> wrote:
> From: Andrei Emeltchenko <[email protected]>
>
> The patch makes haltest and bluetoothd depend on bluetooth.default target
> which is already defined. glib dependency Android resolves itself.
> Fixes issue that for the fresh build only bluetooth.default.so is built.
> ---
> android/Android.mk | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/android/Android.mk b/android/Android.mk
> index aac5c67..7049a20 100644
> --- a/android/Android.mk
> +++ b/android/Android.mk
> @@ -84,6 +84,7 @@ LOCAL_MODULE := bluetooth.default
> LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
> LOCAL_MODULE_TAGS := optional
> LOCAL_MODULE_CLASS := SHARED_LIBRARIES
> +LOCAL_REQUIRED_MODULES := haltest bluetoothd
>
> include $(BUILD_SHARED_LIBRARY)
>
> --
> 1.7.10.4

Applied, thanks.


--
Luiz Augusto von Dentz