aboutsummaryrefslogtreecommitdiff
path: root/src/devices
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-01-24 21:00:32 -0800
committerColin Cross <ccross@android.com>2014-01-24 21:00:32 -0800
commit4ec43f0c2ce5792ee004d614aff6926162188c98 (patch)
treef5568d9c5615d388e417883be0c1be94293f02ea /src/devices
parent63008a7d4b5648cce41ccd4fec94ac9e19485daf (diff)
downloadsource.android.com-4ec43f0c2ce5792ee004d614aff6926162188c98.tar.gz
docs/source.android.com: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH
LOCAL_MODULE_PATH doesn't work for multiarch builds, replace it with LOCAL_MODULE_RELATIVE_PATH. Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e
Diffstat (limited to 'src/devices')
-rw-r--r--src/devices/audio_implement.jd2
-rw-r--r--src/devices/camera/camera.jd2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/audio_implement.jd b/src/devices/audio_implement.jd
index a4e6b7f0..9267d9e3 100644
--- a/src/devices/audio_implement.jd
+++ b/src/devices/audio_implement.jd
@@ -137,7 +137,7 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := audio.primary.tuna
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := audio_hw.c ril_interface.c
LOCAL_C_INCLUDES += \
external/tinyalsa/include \
diff --git a/src/devices/camera/camera.jd b/src/devices/camera/camera.jd
index 4b4b22cd..577224b8 100644
--- a/src/devices/camera/camera.jd
+++ b/src/devices/camera/camera.jd
@@ -112,7 +112,7 @@ These parameters are set with the function pointed to by
<li>Create an <code>Android.mk</code> file to build the shared library. Ensure that the Makefile contains the following lines:
<pre>
LOCAL_MODULE := camera.&lt;device_name&gt;
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
+LOCAL_MODULE_RELATIVE_PATH := hw
</pre>
<p>Notice that your library must be named <code>camera.&lt;device_name&gt;</code> (<code>.so</code> is appended automatically),
so that Android can correctly load the library. For an example, see the Makefile