Hi All,
when trying to build my forked chrome on Android I run into this problem:
(HEAD detached at d2e8ab2324f0)) $ ninja -C out/Release
ninja: Entering directory `out/Release'
[1/1] Regenerating ninja files
FAILED: build.ninja
/home/jtsillas/Work/worktree2/src/buildtools/linux64/gn --root=/home/viasat/Work/worktree2/src -q gen .
ERROR at //chrome/BUILD.gn:1603:1: assert_no_deps failed.
group("browser_dependencies") {
^------------------------------
//chrome:browser_dependencies has an assert_no_deps entry:
//third_party/WebKit/public:blink
which fails for the dependency path:
//chrome:browser_dependencies ->
//chrome/browser:browser ->
//chrome/browser/ui:ui ->
//third_party/<mystuff>/browser/<mycomponent>:<mydep> ->
//content:content ->
//content/gpu:gpu_sources ->
//content/child:child ->
//media/blink:blink ->
//cc/blink:blink ->
//third_party/WebKit/public:blink
ninja: error: rebuilding 'build.ninja': subcommand failed
The dep which is causing this is in <mycomponent>/BUILD.gn which wants to refer to some functions out of content to download a file.
This dep works fine on the other platforms but is not working on Android. Is there a suggested way to achieve what I want?
thanks!!!
-Jim.