gki: Use shlex.split() to split command line argument strings am: d1d48f1edc am: 5ea2131098 am: 2dae9f75b8 am: 5608c3fde7

Original change: https://android-review.googlesource.com/c/platform/system/tools/mkbootimg/+/2035983

Change-Id: I9d5f2c43f334bb561064cbc9bca779794f3cd6bf
diff --git a/gki/generate_gki_certificate.py b/gki/generate_gki_certificate.py
index 0765c08..2797cca 100755
--- a/gki/generate_gki_certificate.py
+++ b/gki/generate_gki_certificate.py
@@ -18,6 +18,7 @@
 """Generate a Generic Boot Image certificate suitable for VTS verification."""
 
 from argparse import ArgumentParser
+import shlex
 import subprocess
 
 
@@ -73,7 +74,7 @@
 
     additional_avb_args = []
     for a in args.additional_avb_args:
-        additional_avb_args.extend(a.split())
+        additional_avb_args.extend(shlex.split(a))
     args.additional_avb_args = additional_avb_args
 
     return args