Bug 1373486 - Skip gyp directories when building without a compile environment. r=mshal

security/ is already skipped through top-level moz.build. For
convenience, we skip the DIRS that end up adding GYP_DIRS, avoiding
reindenting their entire moz.build.

--HG--
extra : rebase_source : 346aba5f4ec29112cb2ce035844e57f13a214482
This commit is contained in:
Mike Hommey 2017-06-16 11:30:43 +09:00
Родитель 9653029d65
Коммит 4d7e9e7abd
1 изменённых файлов: 6 добавлений и 2 удалений

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

@ -46,11 +46,15 @@ DIRS += [
'/hal',
'/js/xpconnect',
'/intl/chardet',
'/media/libyuv',
'/modules/libjar',
'/storage',
]
if CONFIG['COMPILE_ENVIRONMENT']:
DIRS += [
'/media/libyuv',
]
if CONFIG['MOZ_PERMISSIONS']:
DIRS += [
'/extensions/cookie',
@ -61,7 +65,7 @@ DIRS += [
'/rdf',
]
if CONFIG['MOZ_WEBRTC']:
if CONFIG['MOZ_WEBRTC'] and CONFIG['COMPILE_ENVIRONMENT']:
DIRS += [
'/media/webrtc',
'/media/mtransport',