I have been working on dev-tools bugs to gain open source experience.
Recently, I found a fairly simple bug and made a small code change and now I need to run web tests to make sure I didn't break anything. I am using the integrated checkout, as described here: https://chromium.googlesource.com/devtools/devtools-frontend/+/HEAD/docs/workflows.md
My code change is in the /devtools/devtools-frontend repo, as described in the above doc.
To run the web tests, according to https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_tests.md,
from the /chromium/src repo, I need to first run "autoninja -C out/Default blink_tests" to build the blink_tests target to get content_shell and all of the other needed binaries.
When I run "autoninja -C out/Default blink_tests" from /chromium/src, I consistently get errors involving undeclared identifiers. Several weeks ago, I tried to start over and fetch chromium from scratch, and when I went to build chromium I got these same errors. So I’ve uncounted this use of undeclared identifier when trying to just build chromium and when trying to build blink_test target. Eventually I checkout an old commit and then rebased and gclient synched. I was able to build chromium that way but when I ran ""autoninja -C out/Default blink_tests" I got the errors again.
I have attached a terminal output with an example of the errors.
I have tried rebasing and gclient synching everyday for several weeks, hoping that an update would fix the problem. I tried `gn clean -C out/Default` and then ran 'autoninja -C out/Default blink_tests' again and got the same error. After numerous attempts, I reverted my code changes and have been attempting this from the master branch, again with no code changes, just to get it working, but to no avail.
I have been struggling with this issue for several weeks now. I posted in the dev-tools group, but the folks who responded do not believe it to be a dev-tools problem specifically, and suggested I post here. I would really appreciate any help.
I am on an intel Mac, version 10.14.6.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/CAPTJ0XGbzaTL0SZhT%3DOXzFZPwBftxABF1My3pZdFufXG%3D8H5Yw%40mail.gmail.com.