Fix rebuilding of snapshot.cc

Use the build rule for generated source. Depending on the binary and not the
module name.

Bug: 2504831
Change-Id: I977df96a6e4a98fb87defa80fc98702a5eacec9f
1 file changed