Meson dependencies pattern should pick list items.

The patten "dependency\('([^']*)'.*?\)\n" fails to match dependencies declared in a list, for example,

some_deps = [
  dependency('lib1'),
  dependency('lib2'),
]

Changed it to "dependency\('([^']*)'.*?\),?\n".

Signed-off-by: Nan Zhou <nanzhoumails@gmail.com>
Change-Id: If5f9c8c24a5db881625d499181ac474758fc2544
1 file changed