While using switch_cros_cr_localbuild_master.py, it would have the following error
[stderr] Traceback (most recent call last):
[stderr] File "./switch_cros_cr_localbuild_master.py", line 97, in <module>
[stderr] main()
[stderr] File "./switch_cros_cr_localbuild_master.py", line 82, in main
[stderr] assert bisect_cr_localbuild_master.verify_gclient_dep(opts.chrome_root)
[stderr] File "/usr/local/google/home/johnylin/chromiumos/src/platform/bisect-kit/bisect_cr_localbuild_master.py", line 95, in verify_gclient_dep
[stderr] return solution['deps_file'] == '.DEPS.git'
[stderr] KeyError: 'deps_file'
The content of my .glcient file:
solutions = [
{
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"name": "src",
"custom_deps": {},
},
{
"name": "src-internal",
"url": "https://chrome-internal.googlesource.com/chrome/src-internal.git",
"deps_file": ".DEPS.git"
},
]
target_os = ["chromeos"]
"src" doesn't have "deps_file" attribute, I think it has default value so actually the attribute is not there in the default .gclient file.
Comment 1 by bugdroid1@chromium.org
, Aug 15