Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1437)

Unified Diff: build/common.gypi

Issue 5028001: Remove .h files from platforms where they are not relevant (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 02b99c78a5acc5a1c1afdcb3568c9563281df5f2..92b974ffc292946ff6a805edc45f40ce5f7afbc2 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -615,31 +615,31 @@
],
'conditions': [
['OS!="win"', {
- 'sources/': [ ['exclude', '_win(_unittest)?\\.cc$'],
+ 'sources/': [ ['exclude', '_win(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)win/'],
- ['exclude', '(^|/)win_[^/]*\\.cc$'] ],
+ ['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
}],
['OS!="mac"', {
- 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.cc$'],
+ 'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)(cocoa|mac)/'],
['exclude', '\\.mm?$' ] ],
}],
['OS!="linux" and OS!="freebsd" and OS!="openbsd"', {
'sources/': [
- ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.cc$'],
+ ['exclude', '_(chromeos|gtk|x|x11|xdg)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)gtk/'],
- ['exclude', '(^|/)(gtk|x11)_[^/]*\\.cc$'],
+ ['exclude', '(^|/)(gtk|x11)_[^/]*\\.(h|cc)$'],
],
}],
['OS!="linux"', {
'sources/': [
- ['exclude', '_linux(_unittest)?\\.cc$'],
+ ['exclude', '_linux(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)linux/'],
],
}],
# We use "POSIX" to refer to all non-Windows operating systems.
['OS=="win"', {
- 'sources/': [ ['exclude', '_posix\\.cc$'] ],
+ 'sources/': [ ['exclude', '_posix\\.(h|cc)$'] ],
# turn on warnings for signed/unsigned mismatch on chromium code.
'msvs_settings': {
'VCCLCompilerTool': {
@@ -648,10 +648,10 @@
},
}],
['chromeos!=1', {
- 'sources/': [ ['exclude', '_chromeos\\.cc$'] ]
+ 'sources/': [ ['exclude', '_chromeos\\.(h|cc)$'] ]
}],
['toolkit_views==0', {
- 'sources/': [ ['exclude', '_views\\.cc$'] ]
+ 'sources/': [ ['exclude', '_views\\.(h|cc)$'] ]
}],
],
}],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698