Index: base/BUILD.gn |
diff --git a/base/BUILD.gn b/base/BUILD.gn |
index c413d540686a9c508960c29ac94a605bc969e93b..50afb2cca9dd00e0536621596be5c76e7c63f9ee 100644 |
--- a/base/BUILD.gn |
+++ b/base/BUILD.gn |
@@ -1140,6 +1140,8 @@ source_set("protect_file_posix") { |
} |
if (is_win) { |
+ # Target to manually rebuild pe_image_test.dll which is checked into |
+ # base/test/data/pe_image. |
shared_library("pe_image_test") { |
sources = [ |
"win/pe_image_test.cc", |
@@ -1464,10 +1466,6 @@ test("base_unittests") { |
set_sources_assignment_filter(sources_assignment_filter) |
} |
- if (is_win) { |
- deps += [ ":pe_image_test" ] |
- } |
- |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
} |