graphicscomposition/openwfcompositionengine/group/openwfc.mmh
author Faisal Memon <faisal.memon@nokia.com>
Thu, 06 May 2010 18:24:48 +0100
branchNewGraphicsArchitecture
changeset 52 0c41673def7a
child 53 c4e876502c00
permissions -rwxr-xr-x
Apply patch 6. Cleanup syborg specific variation by allowing the project file to build one specially for it. Fix include macros for test apps. Further tuning how the variant is build appears in later patches. Explicitly including platform_paths seems to make debugging easier for carbide. This might be removed if its bad practice or causes issues.

// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
// Common project include header for OpenWFC DLL implementations
// The need for this common header is so that three different versions of the
// implementation can be generated:
//   1.  WINSCW version (libWFC.dll)
//   2.  Nokia ARM Reference Boards version (libwfchwref.dll)
//   3.  Symbian Foundation Syborg Virtual Platform version (libwfchwsyborg.dll)
//
//  Note for hardware platforms, the dll is aliased to libWFC.dll
//
//

#include <WF/openwfcuids.hrh>

NOEXPORTLIBRARY
EPOCALLOWDLLDATA

#ifdef WINS
deffile SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(def/win32/libWFC.def)
#else
deffile SYMBIAN_OS_LAYER_PLATFORM_EXPORT_PATH(def/eabi/libWFC.def)
#endif

MACRO                  __KHR_EXPORTS
TARGETTYPE             dll
CAPABILITY             PowerMgmt ReadDeviceData WriteDeviceData ProtServ
UID                            0 KUidOpenWfcDllUidValue

OPTION ARMCC    -O3 -Otime --cpu 6
ALWAYS_BUILD_AS_ARM

OS_LAYER_SYSTEMINCLUDE
OS_LAYER_LIBC_SYSTEMINCLUDE
MACRO          HG_NO_ALLOCA_H
MACRO          EGL_DLL

USERINCLUDE            ../composition/include
USERINCLUDE            ../common/include
USERINCLUDE            ../adaptation/include

LIBRARY                        libEGL.lib
LIBRARY                        euser.lib
LIBRARY                        libc.lib
LIBRARY                        libpthread.lib
LIBRARY                        libm.lib
LIBRARY                        hal.lib
LIBRARY                        wfcinterop.lib
LIBRARY                        surfacemanager.lib

SOURCEPATH     ../composition/src
SOURCE                 wfcapi.c
SOURCE                 wfccontext.c
SOURCE                 wfcdevice.c
SOURCE                 wfcelement.c
SOURCE                 wfcimageprovider.c
SOURCE                 wfcscene.c
SOURCE                 wfcpipeline.c

SOURCEPATH     ../common/src
SOURCE                 owfarray.c
SOURCE                 owfattributes.c
SOURCE                 owfdebug.c
SOURCE                 owfimage.c
SOURCE                 owflinkedlist.c
SOURCE                 owfmemory.c
SOURCE                 owfobject.c
SOURCE                 owfpool.c
SOURCE                 owfutils.c

SOURCEPATH     ../adaptation/src/Platform/OS/symbian
SOURCE                 owfconsole.cpp
SOURCE                 owfmessagequeue.c
SOURCE                 owfmutex.c
SOURCE                 owfsemaphore.c
SOURCE                 owfthread.c
SOURCE                 owfextensions.cpp

SOURCEPATH ../adaptation/src/Platform/Graphics/symbian
SOURCE                 owfdisplaycontext.cpp
SOURCE                         owfscreen_displaychannel.cpp
SOURCE                         owfnativestreamstub.cpp
SOURCE                         owfnotifications.cpp



SMPSAFE