OSDN Git Service

lpdump: Add --json option
authorYifan Hong <elsk@google.com>
Fri, 15 Mar 2019 23:06:50 +0000 (16:06 -0700)
committerYifan Hong <elsk@google.com>
Wed, 20 Mar 2019 23:28:06 +0000 (16:28 -0700)
commit7ea1a93cbf30eaaadeec0616a0008902909ad4a2
tree9a5a299abb4364dfdea86afebd2ba90eb5fdf5c1
parentb84fb57317c99f56e77dd21d80d230a3d5aefe9b
lpdump: Add --json option

This option outputs in JSON format. In addition, it emits information
like usage data on mounted file systems, and block size of super block
devices.

Test: `lpdump --json` on host and device
Bug: 126233777

Change-Id: Iad68eb3932f317637e07cd692cdebe71e52db769
partition_tools/Android.bp
partition_tools/dynamic_partitions_device_info.proto [new file with mode: 0644]
partition_tools/lpdump.cc