diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 21:48:37 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-01-17 21:48:37 +0000 |
commit | e49e0c01662c1e8d163c6d9f984629ee214e7756 (patch) | |
tree | 8267d923e05382a29066524eb1291830c0108542 /build/filename_rules.gypi | |
parent | 4591ae4837dd9407d309d98414f2c2feefbfbebf (diff) | |
download | chromium_src-e49e0c01662c1e8d163c6d9f984629ee214e7756.zip chromium_src-e49e0c01662c1e8d163c6d9f984629ee214e7756.tar.gz chromium_src-e49e0c01662c1e8d163c6d9f984629ee214e7756.tar.bz2 |
Add filter for chromeos dirs in filename_rules.gypi (to exclude them when not on chromeos)
BUG=None
TEST=trybots
Review URL: https://chromiumcodereview.appspot.com/11973004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/filename_rules.gypi')
-rw-r--r-- | build/filename_rules.gypi | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/build/filename_rules.gypi b/build/filename_rules.gypi index 515adc1..1d54ddf 100644 --- a/build/filename_rules.gypi +++ b/build/filename_rules.gypi @@ -48,7 +48,10 @@ ], }], ['<(chromeos)!=1 or >(nacl_untrusted_build)==1', { - 'sources/': [ ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'] ] + 'sources/': [ + ['exclude', '_chromeos(_unittest)?\\.(h|cc)$'], + ['exclude', '(^|/)chromeos/'], + ], }], ['>(nacl_untrusted_build)==0', { 'sources/': [ |