未验证 提交 1250c377 编写于 作者: L liyuqian 提交者: GitHub

Add comments to differentiate two cache paths (#9721)

上级 3b944102
......@@ -49,7 +49,11 @@ DEF_SWITCH(IsolateSnapshotInstructions,
"isolate-snapshot-instr",
"The isolate instructions snapshot that will be memory mapped as "
"read and executable. SnapshotAssetPath must be present.")
DEF_SWITCH(CacheDirPath, "cache-dir-path", "Path to the cache directory.")
DEF_SWITCH(CacheDirPath,
"cache-dir-path",
"Path to the cache directory. "
"This is different from the persistent_cache_path in embedder.h, "
"which is used for Skia shader cache.")
DEF_SWITCH(ICUDataFilePath, "icu-data-file-path", "Path to the ICU data file.")
DEF_SWITCH(ICUSymbolPrefix,
"icu-symbol-prefix",
......
......@@ -653,6 +653,9 @@ typedef struct {
// Path to a directory used to store data that is cached across runs of a
// Flutter application (such as compiled shader programs used by Skia).
// This is optional. The string must be NULL terminated.
//
// This is different from the cache-path-dir argument defined in switches.h,
// which is used in |flutter::Settings| as |temp_directory_path|.
const char* persistent_cache_path;
// If true, we'll only read the existing cache, but not write new ones.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册