commit | 8fac3f3cba30d5c7352e4b0dbbee5d6c82b40ca8 | [log] [tgz] |
---|---|---|
author | Yifan Hong <elsk@google.com> | Thu Jul 06 14:06:54 2017 -0700 |
committer | Yifan Hong <elsk@google.com> | Fri Jul 07 10:23:06 2017 -0700 |
tree | 9bc74346881ccc9bbf2f7f2811a73fe379985269 | |
parent | d8cee08fbf406ffc8b273b49d2c6ff1588ecd864 [diff] |
Add parseKernelConfigTypedValue For text like: CONFIG_FOO=123 CONFIG_BAR=y CONFIG_BAZ=hwbinder It guessed the type set the value accordingly. CONFIG_FOO: integer, value=123 CONFIG_BAR: tristate, value=yes CONFIG_BAZ: string, value="hwbinder" This is useful when parsing android-base.cfg. Test: assemble_vintf works Bug: 38324908 Change-Id: I30040177728202149120dc456f704193a573e6a4