Fix 166721: shared library rule does not handle dependencies correctly.
Fix 166721: shared library rule does not handle dependencies correctly.

ekr/nss-old,ekr/nss-old,ekr/nss-old,nmav/nss,ekr/nss-old,nmav/nss,nmav/nss,nmav/nss,nmav/nss,ekr/nss-old,nmav/nss,ekr/nss-old,nmav/nss,ekr/nss-old