Make .s files generate cflags for ninja

With toolchains that use cc as an assembler cflags are expected to get
passed along to the assembler as well.  In the ninja build writer this
only happens if the source set contains .asm, .c, .cpp, ... but not .s
files.

While we could set this up to map through the tool type map, that limits
future flexibility too.

This doesn't seem to affect chromium until arm platforms are compiled.

BUG=507943
TEST=https://code.google.com/p/chromium/issues/detail?id=507943#c1
R=brettw@chromium.org

Review URL: https://codereview.chromium.org/1222713012

Cr-Original-Commit-Position: refs/heads/master@{#337891}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 3f87569bb10ffc8a925ed75147b783d089a2bc4f
1 file changed
tree: e7d0fb57b8f9486d08d2e32fc138fbc008b2788b
  1. tools/