“rawproto"的目的是什么?文件? [英] what is the purpose of "rawproto" files?

查看:31
本文介绍了“rawproto"的目的是什么?文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Android Studio 中,在

In Android Studio, in

~/StudioProjects/$APPLICATION/build/android-profile/,

有很多文件profile-*.rawproto,例如profile-2017-04-25-18-19-51-815.rawproto.

我从来没有见过文件后缀.rawproto,这是否暗示了某种文件,如果是,这个文件通常用于什么?

I have never seen the file suffix .rawproto, does this suggest a certain kind of file, and if so, what is this file generally used for?

网上查了一下,好像是和IntelliJ/Studio中的Gradle有关,这个结论很合理,因为它在build目录下.但这就是我能找到的关于这是什么或它应该做什么的所有信息.

With some digging online, it seems to be related to Gradle in IntelliJ/Studio, which is a sensible conclusion since it is in the build directory. But this is all the information I am able to find on what this is or what it should do.

推荐答案

ProcessProfileWriterFactory.java,Android Gradle 插件的一部分.一旦创建了真实的文件名,它就会被传递给 ProcessProfileWriter.java 似乎将有关构建过程的一些分析数据写入文件.rawproto 文件格式可能是 Google 的协议缓冲区.

That filename pattern is mentioned in ProcessProfileWriterFactory.java, part of the Android Gradle plugin. Once a real filename is created, it is passed to ProcessProfileWriter.java which seems to write some analytics data about the build process to a file. The rawproto file format is probably Google's Protocol Buffers.

这篇关于“rawproto"的目的是什么?文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆