📄 symbian.pcf
字号:
"platform/symbian/chxavdefines.cpp",
"platform/symbian/chxaveditplaylistdialog.cpp",
"platform/symbian/chxavescapedstring.cpp",
"platform/symbian/chxavfileui.cpp",
"platform/symbian/chxavfileview.cpp",
"platform/symbian/chxavfileviewpageinfo.cpp",
"platform/symbian/chxavfileviewwindow.cpp",
"platform/symbian/chxavfolderdisplayinfo.cpp",
"platform/symbian/chxavfolderpopuplist.cpp",
"platform/symbian/chxavinfolist.cpp",
"platform/symbian/chxavinfolistpopup.cpp",
"platform/symbian/chxavmediafolderinfo.cpp",
"platform/symbian/chxavmessagedialog.cpp",
"platform/symbian/chxavnamedisplaytrait.cpp",
"platform/symbian/chxavnavipanecontrol.cpp",
"platform/symbian/chxavplaylistnavicontrol.cpp",
"platform/symbian/chxavpathselector.cpp",
"platform/symbian/chxavplayer.cpp",
"platform/symbian/chxavplayerapp.cpp",
"platform/symbian/chxavplayerdoc.cpp",
"platform/symbian/chxavplayerstate.cpp",
"platform/symbian/chxavplayerstatedispatch.cpp",
"platform/symbian/chxavplayerui.cpp",
"platform/symbian/chxavplaylist.cpp",
"platform/symbian/chxavplayview.cpp",
"platform/symbian/chxavplayviewwindow.cpp",
"platform/symbian/chxavrecentclipspopuplist.cpp",
"platform/symbian/chxavsitesupplier.cpp",
"platform/symbian/chxavstringutils.cpp",
"platform/symbian/chxavtextcontrol.cpp",
"platform/symbian/chxavurlinfo.cpp",
"platform/symbian/chxavurllist.cpp",
"platform/symbian/chxavviewbase.cpp",
"platform/symbian/chxavwaitnote.cpp",
"platform/symbian/chxsymclipinfo.cpp",
"platform/symbian/chxsymsysagentwatcher.cpp",
"platform/symbian/chxclientenginemanager.cpp",
"platform/symbian/file/chxavfilestore.cpp",
"platform/symbian/file/chxavfileutil.cpp",
"platform/symbian/file/hxsym_filetype.cpp",
"platform/symbian/misc/chxavcompositecommand.cpp",
"platform/symbian/misc/chxavfilesystemwatcher.cpp",
"platform/symbian/misc/chxavmisc.cpp",
"platform/symbian/misc/chxavramparser.cpp",
"platform/symbian/misc/chxavrandom.cpp",
"platform/symbian/misc/chxavtimevalue.cpp",
"platform/symbian/misc/chxavurlfix.cpp",
"platform/symbian/misc/chxavurlrep.cpp",
"platform/symbian/misc/hxsym_mmc_utils.cpp",
"platform/symbian/util/chxavbuffer.cpp",
"platform/symbian/util/chxavconvertutil.cpp",
"platform/symbian/util/chxavdirectoryreader.cpp",
"platform/symbian/util/chxavnextline.cpp",
"platform/symbian/util/chxavthread.cpp",
"platform/symbian/util/chxavutil.cpp",
"util/hxapihelp.cpp",
"util/hxsym_leaveutil.cpp",
"util/hxapihelp_player.cpp",
"util/chxresourcetoken.cpp"]
# debug-only files
if (project.IsDefined("HELIX_FEATURE_DPRINTF")):
dbgSourceList = ["platform/symbian/chxavcheckboxlistsettingitem.cpp",
"debug/hxdebug_hxapi.cpp",
"debug/hxsym_debug_print.cpp",
"debug/hxsym_debug.cpp"]
sourceList = sourceList + dbgSourceList
sourceList = AddPrefixForEach(sourceRoot, sourceList)
apply(project.AddSources, sourceList)
#
# ************* app uid and extension *************
#
SetSymbianProgramTargetType("app")
project.symbianUtil.SetUIDs(0, 0x100039CE, 0x10009D06)
#
# ************* additional output files that should be copied to output folder ***********
#
# app is already included
#copyList = ['realplayer.aif', 'realplayer.mbm', 'realplayer.rsc', 'realplayer_caption.rsc']
#project.copy_target_list = AddPrefixForEach(project.output_dir + '\\', copyList)
theList = app_files + cfg_files
# remove 'realplayer.app' because it will already be added
project.copy_target_list = filter(lambda name:string.find(name,'realplayer.app') == -1, theList)
#
# ************* libraries *************
#
project.AddModuleLibraries("common/system[syslib]",
"common/util[utillib]",
"common/fileio[fileiolib]",
"common/container[contlib]",
"common/runtime[runtlib]",
"common/dbgtool[debuglib]",
"client/common/util[utlclntlib]",
"client/common/system[sysclntlib]",
"client/common/container[contclntlib]",
"common/system[syslib]",
"common/runtime[runtlib]",
"client/common/util[utlclntlib]",
"client/core[clntcorelib]"
)
project.AddSystemLibraries('EUSER.LIB',
'APPARC.LIB',
'APSETTINGSHANDLERUI.LIB',
'CONE.LIB',
'EIKCORE.LIB',
'commdb.lib',
'EIKDLG.LIB',
'apengine.lib',
'EIKCDLG.LIB',
'EIKCOCTL.LIB',
'aknnotify.lib',
'charconv.lib',
'ws32.lib',
'AVKON.LIB',
'APGRFX.LIB',
'BAFL.LIB',
'EALWL.LIB',
'EFSRV.LIB',
'GDI.LIB',
'FBSCLI.LIB',
'ESTLIB.LIB',
'INSOCK.LIB',
'ESOCK.LIB',
'SENDUI.LIB',
'SYSAGT.LIB',
'APMIME.LIB',
'PINBMDL.LIB',
'egul.lib',
'hal.lib',
'bitgdi.lib',
'hlplch.lib',
'sysutil.lib',
'commonui.lib',
'etext.lib',
'field.lib',
'msgs.lib',
'eikctl.lib'
)
#
#
#
#
# *********** Makefile rules ************
#
#
#
#
project.post_target_buff = []
#
# ************* "install"/"uninstall" ********
#
def AddMakefileEnsureDirs(list, base, subdir):
''' helper: add windows nmake line to ensure that 'base' (relative) exists under 'subdir' '''
parts = string.split(subdir, os.sep)
dir = base
for part in parts:
dir = os.path.join(dir, part)
list.append('\t-@if NOT exist "%s" mkdir "%s"\n' % (dir,dir))
def AddMakefileEnsureDirLine(dir):
''' helper: add windows nmake line to ensure that 'dir' exists '''
project.post_target_buff.append('\t-@if NOT exist "%s" mkdir "%s"\n' % (dir,dir))
def AddMakefileCopyRule(emulDir, sourcePath, copyLines, allFiles):
''' helper '''
targetFile = '%s\\%s' % (emulDir, os.path.basename(sourcePath))
copyLines.append('%s : %s\n' % (targetFile, sourcePath))
copyLines.append('\tcopy "%s" "%s"\n' % ( sourcePath, emulDir))
allFiles.append(targetFile)
copyLines.append('\n')
if (string.find(sysinfo.id,'emulator') != -1):
#
# write out install/uninstall (and related) rules for emulator environment
#
# emulator install directories
emulInstallDir = os.path.join(GetSDKPath('SYMBIANSDK'), "Epoc32\\wins\\c\\system\\apps\\RealPlayer")
emulDataDir = os.path.join(emulInstallDir, "data")
emulLibDir = os.path.join(emulInstallDir, "lib")
emulRecogDir = os.path.join(GetSDKPath('SYMBIANSDK'), "Epoc32\\wins\\c\\system\\recogs")
#
# rules for ensuring emul directories exist
#
project.post_target_buff.append('make_emul_dirs:\n')
AddMakefileEnsureDirLine(emulInstallDir)
AddMakefileEnsureDirLine(emulDataDir)
AddMakefileEnsureDirLine(emulLibDir)
AddMakefileEnsureDirLine(emulRecogDir)
project.post_target_buff.append('\n')
#
# 'copy' rules for installing files to emulator
#
copyLines = []
allFiles = []
for file in app_files:
AddMakefileCopyRule(emulInstallDir, file, copyLines, allFiles)
for file in cfg_files:
AddMakefileCopyRule(emulDataDir, file, copyLines, allFiles)
for file in mdl_files:
AddMakefileCopyRule(emulRecogDir, file, copyLines, allFiles)
for file in lib_files:
AddMakefileCopyRule(emulLibDir, file, copyLines, allFiles)
project.post_target_buff.extend(copyLines)
#
# 'install": installs all player files to emulator directory
#
project.post_target_buff.append("install: all make_emul_dirs %s\n" % string.join(allFiles) )
project.post_target_buff.append("\n")
#
# "uninstall": erases player emulator directory
#
project.post_target_buff.append("uninstall:\n")
project.post_target_buff.append('\t-rm -rf "%s"\n' % emulInstallDir)
for file in mdl_files:
file = os.path.basename(file)
project.post_target_buff.append('\t-rm -f "%s\\%s"\n' % (emulRecogDir, file))
else:
#
# "install"/"uninstall": do nothing for non-emulator builds
#
project.post_target_buff.append("install: all\n\n")
project.post_target_buff.append("uninstall:\n\n")
#
# *************** "sis"/"sisinst" ****************
#
#
# "{sisname}.sis"
#
sisName = "%s\\%s.sis" % (project.output_dir, installName)
sisDepends = string.join(app_files + cfg_files + lib_files)
project.post_target_buff.append("%s: all %s.pkg %s\n" % (sisName, installName, sisDepends))
project.post_target_buff.append("\tmakesis -v %s.pkg %s" % (installName, sisName))
project.post_target_buff.append("\n")
#
# "sis"
#
project.post_target_buff.append("sis: %s\n" % sisName)
#
# "sisclean"
#
project.post_target_buff.append("sisclean:\n")
project.post_target_buff.append("\t-rm -f %s\n" % sisName)
#
# "sisinst" - copy sis to emulator install folder for emulator build
#
emulSisInstallDir = os.path.join(GetSDKPath('SYMBIANSDK'), "Epoc32\\wins\\c\\nokia\\installs\\")
project.post_target_buff.append("sisinst: sis\n")
if (string.find(sysinfo.id, 'emulator') != -1):
# copy to emulator install folder; enables you to use emulator installer app to install sis
project.post_target_buff.append("\tcopy %s %s\n" % (sisName, emulSisInstallDir))
project.post_target_buff.append("\n")
#
# "sisuninst"
#
project.post_target_buff.append("sisuninst:\n")
if (string.find(sysinfo.id, 'emulator') != -1):
# copy to emulator install folder; enables you to use emulator installer app to install sis
project.post_target_buff.append("\trm -f %s%s\n" % (emulSisInstallDir, os.path.basename(sisName)))
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -