Commit 791fa2d1 authored by maruel@chromium.org's avatar maruel@chromium.org

Make all the files mapped in when running unit_tests read only on Linux and OSX.

This means no file can be opened for write during the test run.

Windows can't be done at the moment due to bug 342913.

R=vadimsh@chromium.org
BUG=116251
BUG=342913

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251054 0039d316-1c4b-4281-b951-d872f2087c98
parent d432917b
...@@ -73,6 +73,12 @@ ...@@ -73,6 +73,12 @@
], ],
}, },
}], }],
['OS=="linux" or OS=="mac"', {
'variables': {
# Can't be enabled on Windows due to http://crbug.com/342913
'read_only': 1,
},
}],
['OS=="mac"', { ['OS=="mac"', {
'variables': { 'variables': {
'isolate_dependency_tracked': [ 'isolate_dependency_tracked': [
......
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