Commit cf06ae59 authored by grt's avatar grt Committed by Commit bot

Check last modification time on overinstall for all dev builds.

This makes the build/test cycle easier for Release builds.

BUG=none
R=brucedawson@chromium.org

Review URL: https://codereview.chromium.org/1144543008

Cr-Commit-Position: refs/heads/master@{#330558}
parent fce58242
...@@ -23,8 +23,8 @@ bool IsIdenticalFileHierarchy(const base::FilePath& src_path, ...@@ -23,8 +23,8 @@ bool IsIdenticalFileHierarchy(const base::FilePath& src_path,
if (!src_info.is_directory && !dest_info.is_directory) { if (!src_info.is_directory && !dest_info.is_directory) {
// Two files are "identical" if the file sizes are equivalent. // Two files are "identical" if the file sizes are equivalent.
is_identical = src_info.size == dest_info.size; is_identical = src_info.size == dest_info.size;
#ifndef NDEBUG #if !defined(OFFICIAL_BUILD)
// For Debug builds, also check last modification time (to make sure // For developer builds, also check last modification time (to make sure
// version dir DLLs are replaced on over-install even if the tested change // version dir DLLs are replaced on over-install even if the tested change
// doesn't happen to change a given DLL's size). // doesn't happen to change a given DLL's size).
if (is_identical) if (is_identical)
......
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