Merge "share dm and command flags" into master-skia

https://skia.googlesource.com/skia/+/17f0b6d

Change-Id: I6c60e865ac563ea54a2d4b79ff47d704fcfea6e6