From: Santhosh Behara Date: Fri, 22 Jun 2012 05:19:16 +0000 (+0530) Subject: [WFD]: Added WFD specific make files and Sharedlibraries. X-Git-Url: https://git.ti.com/gitweb?p=android-sdk%2Fdevice-ti-proprietary-open.git;a=commitdiff_plain;h=5c5f5a584ea927d8856f1d6ce914546702007c90;hp=e0c49be2a8bff9a7fdd9038209e539424ef321d3 [WFD]: Added WFD specific make files and Sharedlibraries. Description: Added Wifi Display related make files and the corresponding shared libraries(libwfdservice.so and libwfd_mpeg2tsrtp.so). Change-Id: I3bebd6ed8c936dc1e8657d7a2526cee38172e64d Signed-off-by: Santhosh Behara --- diff --git a/wfd/Android.mk b/wfd/Android.mk new file mode 100644 index 0000000..db48d05 --- /dev/null +++ b/wfd/Android.mk @@ -0,0 +1,46 @@ +BUILD_WFD_FROM_SOURCE := device/ti/common-open/wfd/wfd-products.mk +#If the above path for source code is present, then the code +#is used for build, otherwise the libraries are copied and used. +ifeq ($(wildcard $(BUILD_WFD_FROM_SOURCE)),) + +LOCAL_PATH := $(call my-dir) + + + +define _add-wfd-lib + include $$(CLEAR_VARS) + $(if $(word 2,$1),$(error Invalid WFD module name $1)) + LOCAL_MODULE := $(basename $(notdir $1)) + LOCAL_SRC_FILES := $1 + LOCAL_MODULE_TAGS := optional + LOCAL_MODULE_SUFFIX := $(suffix $1) + LOCAL_MODULE_CLASS := SHARED_LIBRARIES + LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /$(dir $1)) + LOCAL_STRIP_MODULE := false + OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES) + include $$(BUILD_PREBUILT) +endef + +prebuilt_wfd_libs := \ + lib/libwfdservice.so \ + lib/libwfd_mpeg2tsrtp.so \ + +prebuilt_wfd_modules := \ + $(foreach _file,$(prebuilt_wfd_libs),$(notdir $(basename $(_file)))) + + + +include $(CLEAR_VARS) +LOCAL_MODULE := ti_wfd_libs +LOCAL_MODULE_TAGS := optional +LOCAL_REQUIRED_MODULES := $(prebuilt_wfd_modules) +include $(BUILD_PHONY_PACKAGE) + +$(foreach _file,$(prebuilt_wfd_libs),\ + $(eval $(call _add-wfd-lib,$(_file)))) + +prebuilt_wfd_modules := +prebuilt_wfd_libs := +_add-wfd-lib := + +endif diff --git a/wfd/LICENSE b/wfd/LICENSE new file mode 100644 index 0000000..0481cd4 --- /dev/null +++ b/wfd/LICENSE @@ -0,0 +1,35 @@ +TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE SOFTWARE LICENSE + +Copyright (c) 2012, Texas Instruments Incorporated. + +All rights reserved. + +Redistribution. + +Redistribution and use in binary form, without modification, are +permitted provided that the following conditions are met: + +* Redistributions must preserve existing copyright notices and reproduce +this license (including the above copyright notice and the disclaimer below) +in the documentation and/or other materials provided with the distribution. + +* Neither the name of Texas Instruments Incorporated nor the names of +its suppliers may be used to endorse or promote products derived +from this software without specific prior written permission. + +* No reverse engineering, decompilation, or disassembly of this +software is permitted. + +DISCLAIMER. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/wfd/NOTICE b/wfd/NOTICE new file mode 100644 index 0000000..0481cd4 --- /dev/null +++ b/wfd/NOTICE @@ -0,0 +1,35 @@ +TECHNOLOGY AND SOFTWARE PUBLICLY AVAILABLE SOFTWARE LICENSE + +Copyright (c) 2012, Texas Instruments Incorporated. + +All rights reserved. + +Redistribution. + +Redistribution and use in binary form, without modification, are +permitted provided that the following conditions are met: + +* Redistributions must preserve existing copyright notices and reproduce +this license (including the above copyright notice and the disclaimer below) +in the documentation and/or other materials provided with the distribution. + +* Neither the name of Texas Instruments Incorporated nor the names of +its suppliers may be used to endorse or promote products derived +from this software without specific prior written permission. + +* No reverse engineering, decompilation, or disassembly of this +software is permitted. + +DISCLAIMER. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/wfd/lib/libwfd_mpeg2tsrtp.so b/wfd/lib/libwfd_mpeg2tsrtp.so new file mode 100755 index 0000000..e422dc5 Binary files /dev/null and b/wfd/lib/libwfd_mpeg2tsrtp.so differ diff --git a/wfd/lib/libwfdservice.so b/wfd/lib/libwfdservice.so new file mode 100755 index 0000000..93fc76c Binary files /dev/null and b/wfd/lib/libwfdservice.so differ