Discuz! Board

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz

build 中文支持

查看数: 1767 | 评论数: 3 | 收藏 0
关灯 | 提示:支持键盘翻页<-左 右->
    组图打开中,请稍候......
发布时间: 2020-8-10 16:15

正文摘要:

本帖最后由 Qter 于 2020-8-11 11:16 编辑 ----centos6------------ # My first mozilla config mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-@CONFIG_GUESS@ mk_add_options MOZ_MAKE_FLAGS="-j6" mk_add_opt ...

回复

Qter 发表于 2020-8-17 09:34:09
编译多语言版本问题
https://firefox-source-docs.mozilla.org/build/buildsystem/locales.html#instructions-for-single-locale-repacks-for-developers

$ ./mach build chrome-zh-CN
0:24.69 c:\mozilla-build\bin\mozmake.EXE -j8 -s chrome-zh-CN
0:24.86 mozmake.EXE[1]: warning: -j1 forced in submake: resetting jobserver mode.
0:24.96 mozmake.EXE[1]: *** No rule to make target 'chrome-zh-CN'.  Stop.
0:24.96 mozmake.EXE: *** [F:/comm/mail/build.mk;39: chrome-zh-CN] Error 2
0:24.99 256 compiler warnings present.
Hey! Builds initiated with `mach build $A_SPECIFIC_TARGET` may not always work, even if the code being built is correct. Consider doing a bare `mach build` instead.


compare https://searchfox.org/mozilla-ce ... ue&regexp=false with https://searchfox.org/comm-centr ... ue&regexp=false

You could try copying and adapting https://searchfox.org/mozilla-ce ... s/Makefile.in#71-85 across to the mail equivalent file, though you might also have to look at some of the blame and history, and see if the patches that added those lines needed to change other files as well.

You might also need to compare the two files and make sure that the other parts are similar as well.

Qter 发表于 2020-8-14 11:38:55
Qter 发表于 2020-8-10 18:41:52

QQ|Archiver|手机版|小黑屋|firemail ( 粤ICP备15085507号-1 )

GMT+8, 2024-11-26 10:40 , Processed in 0.072589 second(s), 23 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表