michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: CONFIGURE_SUBST_FILES += [ michael@0: 'config/autoconf.mk', michael@0: 'config/emptyvars.mk', michael@0: ] michael@0: michael@0: if CONFIG['ENABLE_CLANG_PLUGIN']: michael@0: add_tier_dir('base', 'build/clang-plugin', external=True) michael@0: michael@0: add_tier_dir('base', ['config', 'python']) michael@0: if not CONFIG['JS_STANDALONE']: michael@0: CONFIGURE_SUBST_FILES += [ michael@0: 'mozilla-config.h', michael@0: 'tools/update-packaging/Makefile', michael@0: ] michael@0: michael@0: add_tier_dir('base', ['build', 'probes']) michael@0: michael@0: if not CONFIG['LIBXUL_SDK']: michael@0: add_tier_dir('base', ['mfbt']) michael@0: michael@0: if not CONFIG['JS_STANDALONE']: michael@0: if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android': michael@0: add_tier_dir('base', ['other-licenses/android']) michael@0: michael@0: if CONFIG['MOZ_MEMORY']: michael@0: add_tier_dir('base', ['memory']) michael@0: michael@0: if not CONFIG['MOZ_NATIVE_ZLIB']: michael@0: add_tier_dir('base', ['modules/zlib']) michael@0: michael@0: add_tier_dir('base', ['mozglue', 'memory/mozalloc']) michael@0: michael@0: if not CONFIG['JS_STANDALONE']: michael@0: add_tier_dir('precompile', 'xpcom/xpidl') michael@0: michael@0: if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']: michael@0: if not CONFIG['MOZ_NATIVE_NSPR']: michael@0: add_tier_dir('nspr', 'config/nspr') michael@0: michael@0: add_tier_dir('external', 'config/external') michael@0: michael@0: if not CONFIG['MOZ_NATIVE_NSS']: michael@0: add_tier_dir('nss', 'security/build') michael@0: michael@0: if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']: michael@0: if CONFIG['BUILD_CTYPES'] and not CONFIG['MOZ_NATIVE_FFI']: michael@0: add_tier_dir('js', ['js/src/ctypes/libffi'], static=True) michael@0: add_tier_dir('js', ['intl/icu'], static=True) michael@0: CONFIGURE_SUBST_FILES += ['intl/icu/Makefile'] michael@0: add_tier_dir('js', ['js/src']) michael@0: michael@0: if not CONFIG['JS_STANDALONE']: michael@0: # Bring in the configuration for the configured application. michael@0: include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')