Allow overriding the builtin functions with a template

This change allows overriding builtin functions with a template
which can be used to alter the behavior of default targets, e.g.
always using a different toolchain when building a shared library.

Change-Id: I4478382385510af48d26ad933e48334354ec1e62
Reviewed-on: https://chromium-review.googlesource.com/546924
Reviewed-by: Brett Wilson <brettw@chromium.org>
Commit-Queue: Petr Hosek <phosek@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#482849}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 4ea964bbff81f6be1274cee01ac41fe904189547
3 files changed
tree: b100babb6902aa634d40416151c5ec82a63fdfa7
  1. tools/