Hi all,
I am cross compiling the CEF for ARM target using Ubuntu 14.04 x64bit development machine.I followed the "https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart.md#markdown-header-linux-setup"
In 7th step, I have created the update.sh file with below content.
#!/bin/bash
export CEF_USE_GN=1
python ../automate/automate-git.py --arm-build --download-dir=/home/swathijakkam32/code/chromium_git --depot-tools-dir=/home/swathijakkam32/code/depot_tools --no-distrib --no-build
this step was successful.
After that I created the "~/code/chromium_git/chromium/src/cef/create.sh" script with the following contents.
#!/bin/bash
export CEF_USE_GN=1
./cef_create_projects.sh
when I run the "create.sh" script I am getting the following error.
-------------------------------------------------------------------------------------------------------------------------------
Generating CEF project files...
Creating /home/swathijakkam32/code/chromium_git/chromium/src/out/Release_GN_x86 directory.
________ running 'gn gen out/Release_GN_x86' in '/home/swathijakkam32/code/chromium_git/chromium/src'
ERROR Input to targets not generated by a dependency.
The file:
//out/Release_GN_x86/locales/en-US.pak
is listed as an input or source for the targets:
//chrome/installer/linux:stable_rpm
//chrome/installer/linux:beta_rpm
//chrome/installer/linux:unstable_rpm
//chrome/installer/linux:stable_deb
//chrome/installer/linux:beta_deb
//chrome/installer/linux:unstable_deb
but this file was not generated by any dependencies of the targets. The target
that generates the file is:
//cef:repack_locales_pack_en-US
If you have generated inputs, there needs to be a dependency path between the
two targets in addition to just listing the files. For indirect dependencies,
the intermediate ones must be public_deps. data_deps don't count since they're
only runtime dependencies. If you think a dependency chain exists, it might be
because the chain is private. Try "gn path" to analyze.
Traceback (most recent call last):
File "tools/gclient_hook.py", line 133, in <module>
RunAction(src_dir, cmd)
File "/home/swathijakkam32/code/chromium_git/chromium/src/cef/tools/gclient_util.py", line 39, in RunAction
gclient_utils.CheckCallAndFilterAndHeader(command, cwd=dir, always=True)
File "/home/swathijakkam32/code/depot_tools/gclient_utils.py", line 314, in CheckCallAndFilterAndHeader
return CheckCallAndFilter(args, **kwargs)
File "/home/swathijakkam32/code/depot_tools/gclient_utils.py", line 560, in CheckCallAndFilter
rv, args, kwargs.get('cwd', None), None, None)
subprocess2.CalledProcessError: Command 'gn gen out/Release_GN_x86' returned non-zero exit status 1 in /home/swathijakkam32/code/chromium_git/chromium/src
-------------------------------------------------------------------------------------------------------
Can someone help me how to solve the above error?
Regards,
Swathi.