Last active
September 6, 2018 08:42
-
-
Save haoyunfeix/89c89428e3fd277f53f47c146524d9e6 to your computer and use it in GitHub Desktop.
Build Chromium Q&A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gn --args="proprietary_codecs=true ffmpeg_branding=\"Chrome\" is_debug=false symbol_level=0 is_component_build=false remove_webcore_debug_symbols=true enable_nacl=false" gen test | |
autoninja -C test chrome | |
First of all, read https://chromium.googlesource.com/chromium/src/+/lkcr/docs/windows_build_instructions.md | |
Q: git returns http error 407 from proxy after CONNECT | |
A: git config --global http.sslVerify false (https://stackoverflow.com/questions/24907140/git-returns-http-error-407-from-proxy-after-connect) | |
Q: Require UserName for chromium.googlestorage.com after execute 'gclient sync' | |
A: add a DEPOT_TOOLS_WIN_TOOLCHAIN system variable and set it to 0, means use your locally installed version of Visual Studio (by default, depot_tools will try to use a google-internal version). | |
Q: Failed to fetch file gs://chromium-gn/a3f749800a386dba102a319b0e9770a3ca57650e for src/buildtools/win/gn.exe, skipping. [Err: Failure: (407, 'Proxy Authentication Required'). | |
A: add boto config. | |
NO_AUTH_BOTO_CONFIG=C:\workspace\http_proxy.boto | |
http_proxy.boto => | |
[Boto] | |
proxy = xxx.xxx.com | |
proxy_port = 914 | |
Q: ninja: error: loading 'build.ninja': The system cannot find the file specified. | |
A: Control Panel → Programs → Programs and Features → Select the “Windows Software Development Kit” → Change → Change → Check “Debugging Tools For Windows” → Change | |
Q: ninja: error: '../third_party/libaom/source/libaom/av1/common/obu_util.c', needed by 'obj/third_party/libaom/libaom/obu_util.obj', missing and no known rule to make it | |
A: gclient sync |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment