I've built the Chromium browser on my Windows from its official source code by following this
.
I made some changes and executed my first build and ran into some errors.
[0/1] Regenerating ninja files
[434/51553] ACTION //chrome/browser/resource_coordinator:mojo_bindings__parser(//build/toolchain/win:win_clang_x64)
FAILED: gen/chrome/browser/resource_coordinator/lifecycle_unit_state.mojom-module
C:/src/depot_tools/bootstrap-2@3_8_10_chromium_17_bin/python3/bin/python3.exe ../../build/util/python2_action.py ../../mojo/public/tools/mojom/mojom_parser.py --input-root "C:/Users/Paras H S/chromium/src" --input-root "C:/Users/Paras H S/chromium/src/out/Default/gen" --output-root "C:/Users/Paras H S/chromium/src/out/Default/gen" --mojom-file-list=__chrome_browser_resource_coordinator_mojo_bindings__parser___build_toolchain_win_win_clang_x64__rule..rsp --check-imports "C:/Users/Paras H S/chromium/src/out/Default/gen/chrome/browser/resource_coordinator/mojo_bindings.build_metadata" --enable-feature is_win --add-module-metadata webui_module_path=/chrome/browser/resource_coordinator
Traceback (most recent call last):
File "../../mojo/public/tools/mojom/mojom_parser.py", line 457, in <module>
Run(sys.argv[1:])
File "../../mojo/public/tools/mojom/mojom_parser.py", line 449, in Run
module_metadata, allowed_imports)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 266, in _ParseMojoms
for abs_path in mojom_files)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 266, in <genexpr>
for abs_path in mojom_files)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 87, in _RebaseAbsolutePath
assert os.path.isfile(path)
AssertionError
[435/51553] ACTION //chrome/browser/promo_browser_command:mojo_bindings__parser(//build/toolchain/win:win_clang_x64)
FAILED: gen/chrome/browser/promo_browser_command/promo_browser_command.mojom-module
C:/src/depot_tools/bootstrap-2@3_8_10_chromium_17_bin/python3/bin/python3.exe ../../build/util/python2_action.py ../../mojo/public/tools/mojom/mojom_parser.py --input-root "C:/Users/Paras H S/chromium/src" --input-root "C:/Users/Paras H S/chromium/src/out/Default/gen" --output-root "C:/Users/Paras H S/chromium/src/out/Default/gen" --mojom-file-list=__chrome_browser_promo_browser_command_mojo_bindings__parser___build_toolchain_win_win_clang_x64__rule..rsp --check-imports "C:/Users/Paras H S/chromium/src/out/Default/gen/chrome/browser/promo_browser_command/mojo_bindings.build_metadata" --enable-feature is_win
Traceback (most recent call last):
File "../../mojo/public/tools/mojom/mojom_parser.py", line 457, in <module>
Run(sys.argv[1:])
File "../../mojo/public/tools/mojom/mojom_parser.py", line 449, in Run
module_metadata, allowed_imports)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 266, in _ParseMojoms
for abs_path in mojom_files)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 266, in <genexpr>
for abs_path in mojom_files)
File "../../mojo/public/tools/mojom/mojom_parser.py", line 87, in _RebaseAbsolutePath
assert os.path.isfile(path)
AssertionError
[443/51553] ACTION //chrome/browser/metrics:expired_histograms_array(//build/toolchain/win:win_clang_x64)
ninja: build stopped: subcommand failed.
I have tried cleaning and rebuilding, but still couldn't get rid of these errors.
How can I get rid of them?