diff options
author | Colin Cross <ccross@android.com> | 2014-01-24 21:00:32 -0800 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-01-24 21:00:32 -0800 |
commit | 4ec43f0c2ce5792ee004d614aff6926162188c98 (patch) | |
tree | f5568d9c5615d388e417883be0c1be94293f02ea /src/devices | |
parent | 63008a7d4b5648cce41ccd4fec94ac9e19485daf (diff) | |
download | source.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.jd | 2 | ||||
-rw-r--r-- | src/devices/camera/camera.jd | 2 |
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.<device_name> -LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw +LOCAL_MODULE_RELATIVE_PATH := 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 |