pw_tls_client: Don't update time in every build
Change-Id: I80520008ba5771f704a4986181b929e43828a9b4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126749
Reviewed-by: Ali Zhang <alizhang@google.com>
Commit-Queue: Yecheng Zhao <zyecheng@google.com>
diff --git a/pw_tls_client/BUILD.gn b/pw_tls_client/BUILD.gn
index 41a4745..c944fda 100644
--- a/pw_tls_client/BUILD.gn
+++ b/pw_tls_client/BUILD.gn
@@ -88,14 +88,7 @@
pw_python_action("generate_build_time_header") {
header_output = "$target_gen_dir/$target_name/build_time.h"
script = "generate_build_time_header.py"
- outputs = [
- header_output,
-
- # A output file that is never generated so that this action is always
- # re-run. This is to make sure that the build time in the header is always
- # up-to-date.
- "$target_gen_dir/non_exists",
- ]
+ outputs = [ header_output ]
args = [ rebase_path(header_output) ]
}