Commit a03124d1 authored by scottmg's avatar scottmg Committed by Commit bot

move protect_file_posix to posix block

Otherwise, on Windows when 'All' is built the no-op build is broken --
no files are included in the .lib so none is generated, which means on
subsequent builds ninja always reruns that step.

This is currently breaking win_chromium_compile_dbg_ng trybots.

R=pasko@chromium.org, thakis@chromium.org
BUG=424562

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

Cr-Commit-Position: refs/heads/master@{#319119}
parent cacdcdcd
...@@ -382,12 +382,18 @@ ...@@ -382,12 +382,18 @@
# TODO(pasko): Remove this target when crbug.com/424562 is fixed. # TODO(pasko): Remove this target when crbug.com/424562 is fixed.
# GN: //base:protect_file_posix # GN: //base:protect_file_posix
'target_name': 'protect_file_posix', 'target_name': 'protect_file_posix',
'type': 'static_library', 'conditions': [
'dependencies': [ ['os_posix == 1', {
'base', 'type': 'static_library',
], 'dependencies': [
'sources': [ 'base',
'files/protect_file_posix.cc', ],
'sources': [
'files/protect_file_posix.cc',
],
}, {
'type': 'none',
}],
], ],
}, },
{ {
......
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