Skip to content

Commit

Permalink
pw_tls_client: Don't update time in every build
Browse files Browse the repository at this point in the history
Change-Id: I80520008ba5771f704a4986181b929e43828a9b4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/126749
Reviewed-by: Ali Zhang <[email protected]>
Commit-Queue: Yecheng Zhao <[email protected]>
  • Loading branch information
Yecheng Zhao authored and CQ Bot Account committed Jan 19, 2023
1 parent 16c90ac commit b49bee7
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pw_tls_client/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,7 @@ pw_facade("time") {
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) ]
}

Expand Down

0 comments on commit b49bee7

Please sign in to comment.