When I need to execute “gclient sync” in the directory above the chromium source code, I get an error

241 views
Skip to first unread message

yx ma

unread,
Oct 11, 2023, 12:21:44 PM10/11/23
to Chromium-dev
At first my directory folder looked like this                
─myproject
│   ├───readme.md
│   ├───win_readme.md
│   ├───linux_readme.md
│   ├───.gclient
│   ├───tools
│   │   └───xxx.patch
│   ├───src
│   │   └───DEPS
I now change the directory structure to
|─myproject
│   ├───readme.md
│   ├───win_readme.md
│   ├───linux_readme.md
│   ├───tools
│   │   └───xxx.patch
│   ├───src
│   ├───DEPS
|─.gclient
I moved the deps and gclient files to the previous level respectively,At the same time, I modified the path in the deps file from src/xx to myproject/src/xx.
Now execute sync to generate location_tags.json and report an error.
It should have read the myproject\src\chrome\VERSION file, but after I changed the DEPS file and directory, it read myproject\chrome\VERSION without src.
how can i solve this problem

K. Moon

unread,
Oct 11, 2023, 12:46:10 PM10/11/23
to myxfx...@gmail.com, Chromium-dev
I don't believe you can do this; the contents of the DEPS file are tied directly to its position relative to the src/ directory. You would need to rewrite the entire DEPS file to make this work, and I'm not even sure why you would want this.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/7889ec60-3dcf-4d2b-b65a-15fe71d967f0n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages