aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar mtklein <mtklein@chromium.org>2016-08-02 13:05:54 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-08-02 13:05:55 -0700
commit372913f9328b6350e400bd2d1f8afae51c095a2c (patch)
tree8bc7286b363bb9357a33d07afed162d1cdd80f99 /BUILD.gn
parent091cb8d72db342b99b573b3598880297b49f40e1 (diff)
GN: re-run echo_headers if git state changes.
This should mean it re-runs if a header is added or removed. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2206683002 Review-Url: https://codereview.chromium.org/2206683002
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn1
1 files changed, 1 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index d1daccb598..d941fe400d 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -289,6 +289,7 @@ action("skia.h") {
script = "gn/echo_headers.py"
args = [ rebase_path("$target_gen_dir/skia.h", root_build_dir) ] +
rebase_path(skia_public_includes, root_build_dir)
+ inputs = [ ".git/logs/HEAD" ] # ~~> Run any time GIT state changes.
outputs = [
"$target_gen_dir/skia.h",
]