blob: 5c711486ad24304159bfe369ad8eb35c85afb41f [file] [log] [blame]
# Copyright 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'target_conditions': [
['"<(target_os)"!="mac"', {
'sources/': [
['exclude', '_(cocoa|mac)(_test)?\\.(h|cc|mm?)$'],
['exclude', '(^|/)(cocoa|mac|mach)/'],
],
}],
['"<(target_os)"!="linux"', {
'sources/': [
['exclude', '_linux(_test)?\\.(h|cc)$'],
['exclude', '(^|/)linux/'],
],
}],
['"<(target_os)"!="android"', {
'sources/': [
['exclude', '_android(_test)?\\.(h|cc)$'],
['exclude', '(^|/)android/'],
],
}],
['"<(target_os)"=="win"', {
'sources/': [
['exclude', '_posix(_test)?\\.(h|cc)$'],
['exclude', '(^|/)posix/'],
],
}, {
'sources/': [
['exclude', '_win(_test)?\\.(h|cc)$'],
['exclude', '(^|/)win/'],
],
}],
],
}