随笔分类 - chromium编译调试 electron
chromium electron 编译调试
摘要:windows上的ETW( Event Trace for Windows) 软件下载:https://github.com/google/UIforETW/releases 说明:https://tinyurl.com/etwcentral 包括下载软件和trace记录 Xperf Basics:
阅读全文
摘要:https://gn.googlesource.com/gn/+/refs/heads/main/docs/language.md GN Language and Operation Contents GN Language and Operation Introduction Use the bu
阅读全文
摘要:在64位windows上编译参数指定: target_cpu=\"x86\" 时会报错。去掉就好了。 报错: autoninja -C out\Default chrome "E:\dev\chromium96\depot_tools\ninja.exe" -C out\Default chrome
阅读全文
摘要:当查看chromium源码,发现在viz下有个demo可执行源码。位于目录: src\components\viz\demo 打开此目录下的 BUILD.gn ,找到 gn 的target: executable("viz_demo") 输入如下命令编译即可: e:\dev\chromium\src
阅读全文
摘要:docker镜像作为编译环境: 编译canvaskit的docker相关文件放在:skia/infra/canvaskit/docker [root@base11:/home/chromium/skia/infra/canvaskit/docker]# ls canvaskit-emsdk Make
阅读全文
摘要:如果已经安装了sdk,按下图修改:
阅读全文
摘要:参考: https://www.electronjs.org/docs/development/build-instructions-linux#%E4%BA%A4%E5%8F%89%E7%BC%96%E8%AF%91 https://chromium.googlesource.com/chromi
阅读全文
摘要:使用Google的gn工具构建C++项目,但是官方的demo构建脚本还是不够简单,这里写一个最简单的构建结构. 目录结构 目录结构 必要的几个文件 .gn 根目录下的BUIlD.gn BUILDCONFIG.gn .gn # gn help dotfile buildconfig = "//buil
阅读全文
摘要:http://www.chromium.org/developers/how-tos/
阅读全文
摘要:Visual Studio Code is a free, lightweight and powerful code editor for Windows, Mac and Linux, based on Electron/Chromium. It has built-in support for
阅读全文
摘要:https://chromium.googlesource.com/chromium/src.git/+/master/docs/building_old_revisions.md Building old revisions Occasionally you may want to check o
阅读全文
摘要:D:\dev\electron7\src>ninja -C out/Testing net_unittestsout\Testing\net_unittests.exe --gtest_filter=*HttpContentDispositionTest.Filename*运行:out/Debug/
阅读全文
摘要:chromium在最新的vs2019 16.7.1编译报错。 方法一:同时安装以前版本: msvs vs2019 安装较早期版本,同时安装vs2019的不同版本参考: https://docs.microsoft.com/zh-cn/visualstudio/install/install-visu
阅读全文
摘要:List of Chrome URLs chrome://about chrome://accessibility chrome://appcache-internals chrome://apps chrome://autofill-internals chrome://blob-internal
阅读全文
摘要:打印出页面元素排版: --enable-logging --log-level=0 --vmodule=cull_rect*=2 1,原始日志输出方式 日志输出需要头文件:base/logging.h 最原始的chromium日志输出是 LOG(INFO), LOG(ERROR)。这个要工作的话需要
阅读全文
摘要:Here is an incomplete stack of tricks to help you work with Chromium in Visual Studio. Faster Solution Loading / IntelliSense Loading a huge solution
阅读全文
摘要:Debugging Chromium on Windows First see get the code for checkout and build instructions. Getting started You can use Visual Studio's built-in debugge
阅读全文
摘要:electron 的depot_tools 工具下载构建源码 nodejs写的
阅读全文
摘要:Patches in Electron Electron is built on two major upstream projects: Chromium and Node.js. Each of these projects has several of their own dependenci
阅读全文
摘要:1.首先用命令free查看系统内 Swap 分区大小 free -m total used free shared buffers cached Mem: 2012 1960 51 0 748 950 -/+ buffers/cache: 260 1751 Swap: 255 0 255 可以看到
阅读全文