Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index ddbaf22956fded6b18254133a2bd37c8784a79ca..8b40d0ca983fc6054152da8e15958ae131533ee2 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -382,12 +382,18 @@ |
# TODO(pasko): Remove this target when crbug.com/424562 is fixed. |
# GN: //base:protect_file_posix |
'target_name': 'protect_file_posix', |
- 'type': 'static_library', |
- 'dependencies': [ |
- 'base', |
- ], |
- 'sources': [ |
- 'files/protect_file_posix.cc', |
+ 'conditions': [ |
+ ['os_posix == 1', { |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'base', |
+ ], |
+ 'sources': [ |
+ 'files/protect_file_posix.cc', |
+ ], |
+ }, { |
+ 'type': 'none', |
+ }], |
], |
}, |
{ |