cross compile cef for arm

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

cross compile cef for arm

Postby Bibhukalyana » Fri Mar 02, 2018 10:41 am

Hi Everyone,

I want to cross compile for arm.

I followed few steps but not able to do for arm.

Code: Select all
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 use_cups=0'

fetch --nohooks chromium --nosvn=True
gclient sync --revision bc084a8b5afa3744a74927344e304c02ae54189f --job 16
cd src
./build/install-build-deps.sh --arm
cd cef
./cef_create_projects.sh


But output is for x64 not for arm. I tried to run ninja but all libs are for x64.

can anyone tell me the correct procedure or any location from where I ll get libs for arm ?

Thanks.
Bibhukalyana
Newbie
 
Posts: 1
Joined: Fri Mar 02, 2018 10:31 am

Re: cross compile cef for arm

Postby Czarek » Thu Mar 08, 2018 8:20 am

Issue #1990 https://bitbucket.org/chromiumembedded/ ... ld-support
says to run `automate-git.py --arm-build`. Have you tried that?
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Re: cross compile cef for arm

Postby Czarek » Thu Mar 08, 2018 8:21 am

Are you sure you can use "GYP_DEFINES" with all the options you've provided? Issue #1990 shows to export some of these via GN_DEFINES.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 89 guests