diff options
author | Glenn Kasten <gkasten@google.com> | 2014-02-18 20:25:39 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-02-18 20:25:39 +0000 |
commit | f3b785ae6ea135115b54ac58cedc12b444483902 (patch) | |
tree | 41a14b1f3d27bdba864fbe796af4d17ba79831dd /media/libmedia | |
parent | 0220fd3ec49d01437af019dc390b7b501bdd770d (diff) | |
parent | 3e8027a04c20a4b7028f1615538b36219386c9e5 (diff) | |
download | frameworks_av-f3b785ae6ea135115b54ac58cedc12b444483902.zip frameworks_av-f3b785ae6ea135115b54ac58cedc12b444483902.tar.gz frameworks_av-f3b785ae6ea135115b54ac58cedc12b444483902.tar.bz2 |
Merge "Move StateQueueInstantiations to libinstantssq"
Diffstat (limited to 'media/libmedia')
-rw-r--r-- | media/libmedia/Android.mk | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/media/libmedia/Android.mk b/media/libmedia/Android.mk index fc4b2a5..26d94b0 100644 --- a/media/libmedia/Android.mk +++ b/media/libmedia/Android.mk @@ -60,16 +60,13 @@ LOCAL_SRC_FILES:= \ LOCAL_SRC_FILES += ../libnbaio/roundup.c -# for <cutils/atomic-inline.h> -LOCAL_CFLAGS += -DANDROID_SMP=$(if $(findstring true,$(TARGET_CPU_SMP)),1,0) -LOCAL_SRC_FILES += SingleStateQueue.cpp -LOCAL_CFLAGS += -DSINGLE_STATE_QUEUE_INSTANTIATIONS='"SingleStateQueueInstantiations.cpp"' -# Consider a separate a library for SingleStateQueueInstantiations. - LOCAL_SHARED_LIBRARIES := \ libui liblog libcutils libutils libbinder libsonivox libicuuc libicui18n libexpat \ libcamera_client libstagefright_foundation \ libgui libdl libaudioutils +LOCAL_SHARED_LIBRARIES += libnbaio + +LOCAL_STATIC_LIBRARIES += libinstantssq LOCAL_WHOLE_STATIC_LIBRARY := libmedia_helper @@ -84,3 +81,16 @@ LOCAL_C_INCLUDES := \ $(call include-path-for, audio-utils) include $(BUILD_SHARED_LIBRARY) + +include $(CLEAR_VARS) + +# for <cutils/atomic-inline.h> +LOCAL_CFLAGS += -DANDROID_SMP=$(if $(findstring true,$(TARGET_CPU_SMP)),1,0) +LOCAL_SRC_FILES += SingleStateQueue.cpp +LOCAL_CFLAGS += -DSINGLE_STATE_QUEUE_INSTANTIATIONS='"SingleStateQueueInstantiations.cpp"' +# Consider a separate a library for SingleStateQueueInstantiations. + +LOCAL_MODULE := libinstantssq +LOCAL_MODULE_TAGS := optional + +include $(BUILD_STATIC_LIBRARY) |