“rawproto”的目的是什么?文件? [英] what is the purpose of "rawproto" files?
问题描述
〜/ StudioProjects / $ APPLICATION / build / android-profile /
中,
有许多文件 profile - *。rawproto
,例如 profile-2017- 04-25-18-19-51-815.rawproto
。
我从未见过文件后缀。 rawproto
,这是否表示某种文件,如果是这样,这个文件通常用于什么?
随着一些在线挖掘,它似乎与IntelliJ / Studio中的Gradle有关,这是一个明智的结论,因为它位于build目录中。但是,这是我所能找到的关于这是什么或它应该做什么的所有信息。
在 ProcessProfileWriterFactory.java ,这是Android Gradle插件的一部分。一旦创建了一个真实的文件名,它将被传递给 ProcessProfileWriter.java ,它似乎将有关构建过程的分析数据写入文件。 rawproto文件格式可能是 Google协议缓冲区。
In Android Studio, in
~/StudioProjects/$APPLICATION/build/android-profile/
,
there are many files profile-*.rawproto
, e.g., profile-2017-04-25-18-19-51-815.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?
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.
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屋!