From: Cheng Zhao Date: Thu, 3 Jul 2014 08:41:01 +0000 (+0000) Subject: Add rules for _views and _aura file names. X-Git-Tag: v0.14.0~1^2~60 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=970b82c314b3bfefc98ec6639e5b8bee78337454;p=electron.git Add rules for _views and _aura file names. --- diff --git a/filename_rules.gypi b/filename_rules.gypi index 5872786a..b2484cd9 100644 --- a/filename_rules.gypi +++ b/filename_rules.gypi @@ -62,8 +62,12 @@ ['exclude', '(^|/)x/'], ], }], - ['OS!="linux"', { - 'sources/': [ ['exclude', '_aura\\.(h|cc)$'] ] + ['OS=="mac"', { + 'sources/': [ ['exclude', '_aura(_browsertest|_unittest)?\\.(h|cc)$'], + ['exclude', '(^|/)aura/'], + ['exclude', '_views\\.(h|cc)$'], + ['exclude', '(^|/)views/'], + ], }], ] }