Commit e77e3528 by Jamie Madill Committed by Commit Bot

Gold Tests: Include SHA1 files in trace inputs.

This will force "GN analyze" to pick up changes in the gold tests when all that GN sees is a new SHA1 file. In effect a SHA1 change means all the sources in a trace have changed. Bug: chromium:1143507 Change-Id: Idf44045ebd5d2bda9380b339e95d336b6804ce8a Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2508530 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: 's avatarYuly Novikov <ynovikov@chromium.org> Reviewed-by: 's avatarCody Northrop <cnorthrop@google.com>
parent e895ced6
......@@ -23,6 +23,7 @@ angle_shared_library("angle_restricted_traces") {
data = []
defines = [ "ANGLE_TRACE_IMPLEMENTATION" ]
inputs = []
include_dirs = [ "." ]
......@@ -43,6 +44,9 @@ angle_shared_library("angle_restricted_traces") {
"${_test_ctx}.h",
]
# The sha1 file is key to make "analyze" aware of a changed trace file.
inputs += [ "${_test}.tar.gz.sha1" ]
data += [ "${_test_dir}/${_test}_capture_context${_ctx}.angledata.gz" ]
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment