2 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
3 # vim: set filetype=python:
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 CONFIGURE_SUBST_FILES += ['tools/update-packaging/Makefile']
10 if CONFIG['ENABLE_CLANG_PLUGIN']:
11 add_tier_dir('base', 'build/clang-plugin', external=True)
13 add_tier_dir('base', ['config', 'build', 'probes', 'mfbt', 'python'])
15 if not CONFIG['LIBXUL_SDK']:
16 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'):
17 add_tier_dir('base', ['other-licenses/android'])
19 if CONFIG['MOZ_MEMORY']:
20 add_tier_dir('base', ['memory'])
22 if not CONFIG['MOZ_NATIVE_ZLIB']:
23 add_tier_dir('base', ['modules/zlib'])
25 add_tier_dir('base', ['mozglue', 'memory/mozalloc'])
27 # Bring in the configuration for the configured application.
28 if CONFIG['COMPILE_ENVIRONMENT']:
29 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')