Instrumented libraries: improve handling of custom patches.

- pass the patch as a command line argument to the build script, instead of
applying it through run_before_build,
- add each patch and run_before_build script to inputs for its corresponding
library,
- move patches and scripts to their own subdirectories,
- also, fix a small error in the build configuration for libappindicator1.

BUG=313751
R=glider@chromium.org
NOTRY=true
TEST=compile

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

Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 848e8e4616cd71d9fb4c220b31a20bc176f17c5d
20 files changed