[Errno 2] No such file or directory: 'gen/third_party/devtools-frontend/src/front_end/Tests.js.compressed'

12 views
Skip to first unread message

uzair jaleel

unread,
Oct 22, 2021, 10:25:49 AM10/22/21
to devtools-dev
We are trying to build chromium for platform similar to linux and get below error during compilation

FAILED: gen/content/browser/devtools/devtools_resources_grit.d.stamp gen/content/browser/devtools/grit/devtools_resources.h gen/content/browser/devtools/devtools_resources.pak gen/content/browser/devtools/grit/devtools_resources_map.cc gen/content/browser/devtools/grit/devtools_resources_map.h gen/content/browser/devtools/devtools_resources.pak.info [ 87s] python3 ../tools/grit/grit.py -i gen/third_party/devtools-frontend/src/front_end/devtools_resources.grd build -o gen/content/browser/devtools --depdir . --depfile gen/content/browser/devtools/devtools_resources_grit.d --write-only-new=1 --depend-on-stamp -E root_gen_dir=gen -E root_src_dir=../ -D SHARED_INTERMEDIATE_DIR=gen -D _chromium -E CHROMIUM_BUILD=chromium -D use_nss_certs -D use_ozone -E protocol_file=gen/third_party/blink/public/devtools_protocol/protocol.json --brotli brotli -f gen/tools/gritsettings/default_resource_ids --assert-file-list obj/content/browser/devtools/devtools_resources_expected_outputs.txt [ 87s] Error processing node [ 87s] : [Errno 2] No such file or directory: 'gen/third_party/devtools-frontend/src/front_end/Tests.js.compressed'


Any input regarding how to fix above error would be really helpful.


Thanks

Tim van der Lippe

unread,
Oct 25, 2021, 12:39:27 PM10/25/21
to uzair jaleel, devtools-dev
Hell Uzair,

The `Tests.js.compressed` file is generated by `:compress` of our DevTools build:

```
> gn desc out/Release third_party/devtools-frontend/src:compress | grep Tests.js.compressed
<   //out/Release/gen/third_party/devtools-frontend/src/front_end/Tests.js.compressed
```

Can you try rebuilding that action (`autoninja -C out/Release third_party/devtools-frontend/src:compress`) and see if that resolves the error?

Cheers,
Tim

--
You received this message because you are subscribed to the Google Groups "devtools-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to devtools-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/devtools-dev/cb75f5a8-a6eb-4afd-af5f-53cca139c6c2n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages