Category : chromium

I’m developing new features for an old version of Google Chrome (71.0.3578.141). In the file src/content/browser/devtools/protocol/page_handler.cc, I need to add the following includes: src/content/browser/devtools/protocol/page_handler.cc: #include "chrome/browser/ui/browser_list.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" When I execute gn check out/Default, the output is: ERROR at //content/browser/devtools/protocol/page_handler.cc:8:11: Include not allowed. #include "chrome/browser/ui/browser_list.h" ^——————————- It is not in any dependency of ..

Read more

I am doing chromium build, and this error occurred. How do I solve this? (I’m doing autoninja -C outDefault chrome, Windows10) D:chromiumsrc>autoninja -C outDefault chrome "D:srcdepot_toolsninja.exe" -C outDefault chrome -j 6 ninja: Entering directory `outDefault’ [10729/51968] CXX obj/third_party/dawn/src/dawn_native/dawn_native_sources/PlatformFunctions.obj FAILED: obj/third_party/dawn/src/dawn_native/dawn_native_sources/PlatformFunctions.obj ….third_partyllvm-buildRelease+Assertsbinclang-cl.exe /c ../../third_party/dawn/src/dawn_native/d3d12/PlatformFunctions.cpp /Foobj/third_party/dawn/src/dawn_native/dawn_native_sources/PlatformFunctions.obj /nologo /showIncludes:user "-imsvcC:Program Files (x86)Microsoft Visual Studio19CommunityVCToolsMSVC.25.28610ATLMFCinclude" "-imsvcC:Program Files (x86)Microsoft Visual ..

Read more

Good day, I want to add a new function to the Web Crypto API (WCA) interface. What I did was adding a new function in the lib.dom.d.ts SubtleCrypto interface, tpm():string, as well as implementing this function in subtle_crypto.cc/h and webcrypto_impl.cc/h. The function simply returns a "test" string. std::string tpm(); std::string SubtleCrypto::tpm() { return "test"; } ..

Read more

[email protected]:~/Documents/chrome/src$ autoninja -C out/Default chrome ninja: Entering directory `out/Default’ [447/54247] CC newlib_pnacl_nonsfi/obj…nsfi/irt/nacl_sys_private/irt_random.o FAILED: newlib_pnacl_nonsfi/obj/native_client/src/nonsfi/irt/nacl_sys_private/irt_random.o ../../native_client/toolchain/linux_x86/pnacl_newlib/bin/pnacl-clang -MMD -MF newlib_pnacl_nonsfi/obj/native_client/src/nonsfi/irt/nacl_sys_private/irt_random.o.d -DNACL_TC_REV=ba5baea43aac5ec2328b5376345b8629152d77ef -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -DCR_CLANG_REVISION="llvmorg-13-init-15163-g98033fdc-1" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DDYNAMIC_ANNOTATIONS_PREFIX=NACL_ -D_POSIX_C_SOURCE=199506 -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -D__STDC_LIMIT_MACROS=1 -I../../native_client/src/public/linux_syscalls -I../.. -Inewlib_pnacl_nonsfi/gen -fgnu-inline-asm -fno-ident -fno-strict-aliasing -fcolor-diagnostics -fmerge-all-constants -U__STRICT_ANSI__ –pnacl-allow-translate -arch x86-32-nonsfi –pnacl-bias=x86-32-nonsfi –target=i686-unknown-nacl -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . ..

Read more