Add iOS handling to filename_rules.gypi

Includes .mm on iOS as well as Mac, and adds handling of an _ios suffix for iOS-only files.

BUG=None
TEST=None


Review URL: https://chromiumcodereview.appspot.com/10690037

git-svn-id: http://src.chromium.org/svn/trunk/src/build@144909 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
stuartmorgan@chromium.org 2012-06-29 15:26:46 +00:00
Родитель e815ddae73
Коммит 56977ad56f
1 изменённых файлов: 9 добавлений и 3 удалений

Просмотреть файл

@ -14,9 +14,15 @@
['exclude', '(^|/)win_[^/]*\\.(h|cc)$'] ],
}],
['OS!="mac" or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc)$'],
['exclude', '(^|/)(cocoa|mac)/'],
['exclude', '\\.mm?$' ] ],
'sources/': [ ['exclude', '_(cocoa|mac)(_unittest)?\\.(h|cc|mm?)$'],
['exclude', '(^|/)(cocoa|mac)/'] ],
}],
['OS!="ios" or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '_ios(_unittest)?\\.(h|cc|mm?)$'],
['exclude', '(^|/)ios/'] ],
}],
['(OS!="mac" and OS!="ios") or >(nacl_untrusted_build)==1', {
'sources/': [ ['exclude', '\\.mm?$' ] ],
}],
# Do not exclude the linux files on *BSD since most of them can be
# shared at this point.