编译
AOSP 旧的版本winscope就是一个静态的html页面(winscope.html),新版本同步完后是一个web项目(development/tools/winscope)
安装依赖
$ npm install
$ npm run build:prod
...
> winscope@0.0.0 build:protos
> node protos/build.js
node:internal/process/promises:392
new UnhandledPromiseRejection(reason);
^
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "Failed to execute command
command: npx pbjs --force-long --target json-module --wrap es6 --out /media/ken/mhd/lineage21/development/tools/winscope/protos/../deps_build/protos/ime/latest/json.js --root ime_latest --path /media/ken/mhd/lineage21/development/tools/winscope/protos/../../../../../main/external/perfetto --path /media/ken/mhd/lineage21/development/tools/winscope/protos/.. --path /media/ken/mhd/lineage21/development/tools/winscope/protos/../../../../../main /media/ken

最低0.47元/天 解锁文章
3417

被折叠的 条评论
为什么被折叠?



