package.bld
来自「达芬奇平台上面的codec server 搭建和音频处理的搭建」· BLD 代码 · 共 36 行
BLD
36 行
/*
* ======== package.bld ========
*
*/
/* all releases get the docs */
Pkg.otherFiles = [
"docs",
"link.xdt",
"package.bld",
];
/*
* Add a "production" release of the name of the package, but with
* underscores replacing dots, and ending with ",production".
*/
if(arguments[0] == "prod")
{
productionRelease = Pkg.addRelease(Pkg.name.replace(/\./g, '_') + ",production");
productionRelease.attrs.label = "production";
productionRelease.otherFiles = ["lib/jpegdec_ti.l64P"];
Pkg.defaultRelease = productionRelease;
}
/*
* Add a "evaluation" release of the name of the package, but with
* underscores replacing dots, and ending with ",evaluation". This release will
* only have the watermarked codecs.
*/
if(arguments[0] == "eval")
{
evaluationRelease = Pkg.addRelease(Pkg.name.replace(/\./g, '_') + ",evaluation");
evaluationRelease.attrs.label = "evaluation";
evaluationRelease.otherFiles = ["lib/watermark"];
Pkg.defaultRelease = evaluationRelease;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?