commit | 317d3e176f6a6cbdf5504f7b59584d4fb4821570 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Wed May 27 17:52:52 2020 -0700 |
committer | Josh Gao <jmgao@google.com> | Thu May 28 13:00:01 2020 -0700 |
tree | 86284b1a79026536e6d6f53277542e6d9a83683a | |
parent | 510d2437b4ea33cc0c6286b12112fe9f722a382a [diff] [blame] |
adb: implement zstd compression for file sync. Bug: http://b/150827486 Test: test_device.py Change-Id: I9fac4c760d9dbdce0b3b883db975cfa9b27a9e80
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp index eaa32e5..43772ba 100644 --- a/adb/client/commandline.cpp +++ b/adb/client/commandline.cpp
@@ -1336,6 +1336,8 @@ return CompressionType::Brotli; } else if (str == "lz4") { return CompressionType::LZ4; + } else if (str == "zstd") { + return CompressionType::Zstd; } error_exit("unexpected compression type %s", str.c_str());