DO NOT MERGE: Revert "docs/source.android.com: convert LOCAL_MODULE_PATH to LOCAL_MODULE_RELATIVE_PATH"
This reverts commit 4ec43f0c2ce5792ee004d614aff6926162188c98.
Change-Id: I4f40d6704f0874e1e87b62324b33c9ec58d79e7e
diff --git a/src/devices/audio_implement.jd b/src/devices/audio_implement.jd
index 9267d9e..a4e6b7f 100644
--- a/src/devices/audio_implement.jd
+++ b/src/devices/audio_implement.jd
@@ -137,7 +137,7 @@
include $(CLEAR_VARS)
LOCAL_MODULE := audio.primary.tuna
-LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/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 577224b..4b4b22c 100644
--- a/src/devices/camera/camera.jd
+++ b/src/devices/camera/camera.jd
@@ -112,7 +112,7 @@
<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.<device_name>
-LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
</pre>
<p>Notice that your library must be named <code>camera.<device_name></code> (<code>.so</code> is appended automatically),
so that Android can correctly load the library. For an example, see the Makefile