From c93eeaab15269253593e929abce8cdfea52242ef Mon Sep 17 00:00:00 2001 From: Takuto Ikuta Date: Tue, 7 Aug 2018 16:25:42 +0900 Subject: [PATCH] Make angle's commit.h depend on git head This is for reproducible build of angle related libraries. Bug: 828669 Change-Id: I807c8fb01b976f6e7a71477ee934b9e0b0cdc684 Reviewed-on: https://chromium-review.googlesource.com/1164814 Reviewed-by: Jamie Madill Reviewed-by: Frank Henigman Commit-Queue: Jamie Madill --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index a5ae6886861b7..4e63c97415f83 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -379,6 +379,9 @@ if (angle_use_commit_id) { commit_id_output_file, ] + # commit id should depend on angle's HEAD revision + inputs = [ ".git/HEAD" ] + args = [ "gen", rebase_path(".", root_build_dir),