铬嵌入式框架CEF3交叉编译为手臂

时间:2015-06-16 06:46:24

标签: arm chromium-embedded

任何人都可以共享一个完整的步骤列表,以便为ARM交叉编译CEF3吗?

我正在使用host = ubuntu 14.04,我想为odroid board交叉编译。

这是我执行的步骤列表:

>git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
>export PATH=`pwd`/depot_tools:"$PATH"
>mkdir CEF3_odroid
>cd CEF3_odroid
>mkdir chromium
>cd chromium
>fetch --nohooks chromium --nosvn=True
>#I found the following revision reading CHROMIUM_BUILD_COMPATIBILITY.txt from https://bitbucket.org/chromiumembedded/cef/src
>gclient sync --revision 14bd12d63019fbdd6f9d6c16b986a5f64a21264b --jobs 16
>cd src
>git clone https://bitbucket.org/chromiumembedded/cef.git
>sudo apt-get install gcc-arm-linux-gnueabihf
>sudo apt-get install g++-4.8-multilib-arm-linux-gnueabihf
>./build/install-build-deps.sh --arm
>cd cef
>export GYP_GENERATORS='ninja'
>export GYP_CROSSCOMPILE=1
>export GYP_DEFINES='target_arch=arm arm_float_abi=hard component=shared_library linux_use_gold_flags=1'
>./cef_create_projects.sh

我收到以下错误:gyp:调用'python cups_config_helper.py --libs / media / varesio / disco2 / GEF / CEF3_odroid / chromium / src / chrome / installer / linux / debian_wheezy_arm-sysroot'返回退出状态1.回溯(最近一次调用最后一次):文件“tools / gclient_hook.py”,第106行,在RunAction(cef_dir,gyper)文件“/ media / varesio / disco2 / GEF / CEF3_odroid / chromium / src / cef / tools / gclient_util.py“,第39行,在RunAction命令中,cwd = dir,always = True)文件”/media/varesio/disco2/GEF/CEF3_Linux/depot_tools/gclient_utils.py“,第293行,在CheckCallAndFilterAndHeader中返回CheckCallAndFilter(args, ** kwargs)文件“/media/varesio/disco2/GEF/CEF3_Linux/depot_tools/gclient_utils.py”,第538行,在CheckCallAndFilter rv,args,kwargs.get('cwd',None),None,None)subprocess2。 CalledProcessError:命令'/ usr / bin / python ../build/gyp_chromium cef.gyp -I cef.gypi'在/ media / varesio / disco2 / GEF / CEF3_odroid / chromium / src / cef中返回非零退出状态1 / p>

谢谢Andrea

1 个答案:

答案 0 :(得分:0)

我遇到了同样的问题。已解决,将use_cups=0添加到GYP_DEFINES env。