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 add_tier_dir('base', ['config', 'build', 'probes', 'mfbt', 'python'])
10 if not CONFIG['LIBXUL_SDK']:
11 if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'):
12 add_tier_dir('base', ['other-licenses/android'])
14 if CONFIG['MOZ_MEMORY']:
15 add_tier_dir('base', ['memory'])
17 if not CONFIG['MOZ_NATIVE_ZLIB']:
18 add_tier_dir('base', ['modules/zlib'])
20 add_tier_dir('base', ['mozglue', 'memory/mozalloc'])
22 # Bring in the configuration for the configured application.
23 if CONFIG['COMPILE_ENVIRONMENT']:
24 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')