Index: build/filename_rules.gypi |
diff --git a/build/filename_rules.gypi b/build/filename_rules.gypi |
index 0ecc6ef1e8eb6815d185109ba8f93e36d45a51b9..7b4ac16233bcb87e19786ae9f811118ced6d286a 100644 |
--- a/build/filename_rules.gypi |
+++ b/build/filename_rules.gypi |
@@ -102,5 +102,10 @@ |
['exclude', '(^|/)ozone/'], |
] |
}], |
+ ['<(use_wayland)==0 or >(nacl_untrusted_build)==1', { |
+ 'sources/': [ ['exclude', '_wayland(_browsertest|_unittest)?\\.(h|cc)$'], |
+ ['exclude', '(^|/)wayland/'], |
+ ] |
+ }], |
] |
} |