]> khamidou — GitHub mirrors - electron.git/commitdiff
Add rules for _views and _aura file names.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 3 Jul 2014 08:41:01 +0000 (08:41 +0000)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 3 Jul 2014 08:41:01 +0000 (08:41 +0000)
filename_rules.gypi

index 5872786a97ac873c3d82e7a84a6b263909fcdbef..b2484cd98c07f0e05bb861eb2f5149f8b60b989f 100644 (file)
         ['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/'],
+      ],
     }],
   ]
 }