1 # vim: set filetype=python:
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 CONFIGURE_SUBST_FILES += ['tools/update-packaging/Makefile']
8 if CONFIG['ENABLE_CLANG_PLUGIN']:
9 add_tier_dir('base', 'build/clang-plugin', static=True)
11 add_tier_dir('base', ['config', 'build', 'probes', 'mfbt', 'python'])
13 if not CONFIG['LIBXUL_SDK']:
14 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'):
15 add_tier_dir('base', ['other-licenses/android'])
17 if CONFIG['MOZ_MEMORY']:
18 add_tier_dir('base', ['memory'])
20 if not CONFIG['MOZ_NATIVE_ZLIB']:
21 add_tier_dir('base', ['modules/zlib'])
23 add_tier_dir('base', ['mozglue', 'memory/mozalloc'])
25 # Bring in the configuration for the configured application.
26 if CONFIG['COMPILE_ENVIRONMENT']:
27 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')