am a77456b8: Merge "Dedup the targets and dependencies of required modules."

* commit 'a77456b8e8a5e66705e48e1ec4eebc1889553c6a':
  Dedup the targets and dependencies of required modules.