Backed out changesets 73f3ce609c23 and 990a21978a2d (bug 951431) because they were...
[gecko.git] / moz.build
blob544509a820c7effd6cea57a42833f4899a808914
1 # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
2 # vim: set filetype=python:
3 # This Source Code Form is subject to the terms of the Mozilla Public
4 # License, v. 2.0. If a copy of the MPL was not distributed with this
5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
7 CONFIGURE_SUBST_FILES += [
8     'mozilla-config.h',
9     'tools/update-packaging/Makefile',
12 if CONFIG['ENABLE_CLANG_PLUGIN']:
13   add_tier_dir('base', 'build/clang-plugin', external=True)
15 add_tier_dir('base', ['config', 'build', 'probes', 'python'])
17 if not CONFIG['LIBXUL_SDK']:
18     add_tier_dir('base', ['mfbt'])
20     if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('android', 'gonk'):
21         add_tier_dir('base', ['other-licenses/android'])
23     if CONFIG['MOZ_MEMORY']:
24         add_tier_dir('base', ['memory'])
26     if not CONFIG['MOZ_NATIVE_ZLIB']:
27         add_tier_dir('base', ['modules/zlib'])
29     add_tier_dir('base', ['mozglue', 'memory/mozalloc'])
31 add_tier_dir('precompile', 'xpcom/xpidl')
33 # Bring in the configuration for the configured application.
34 include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')