2013-04-01 11:36:59 -07:00
|
|
|
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
2013-02-25 12:47:18 -08:00
|
|
|
# vim: set filetype=python:
|
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2013-10-23 14:43:32 -07:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
2014-01-14 07:38:40 +09:00
|
|
|
'config/autoconf.mk',
|
|
|
|
'config/emptyvars.mk',
|
2013-10-23 14:43:32 -07:00
|
|
|
]
|
2013-02-25 13:20:01 -08:00
|
|
|
|
2014-02-11 10:37:47 +09:00
|
|
|
if CONFIG['ENABLE_CLANG_PLUGIN']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['build/clang-plugin']
|
|
|
|
|
|
|
|
DIRS += [
|
|
|
|
'config',
|
|
|
|
'python',
|
|
|
|
]
|
2014-02-11 10:37:47 +09:00
|
|
|
|
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-01-14 07:38:40 +09:00
|
|
|
CONFIGURE_SUBST_FILES += [
|
|
|
|
'mozilla-config.h',
|
|
|
|
'tools/update-packaging/Makefile',
|
|
|
|
]
|
2013-03-23 21:12:25 -05:00
|
|
|
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += [
|
|
|
|
'build',
|
|
|
|
'probes',
|
|
|
|
]
|
2013-12-18 08:07:11 +09:00
|
|
|
|
2014-02-11 10:37:47 +09:00
|
|
|
if not CONFIG['LIBXUL_SDK']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += [
|
|
|
|
'mfbt',
|
|
|
|
'config/external/zlib',
|
|
|
|
]
|
2014-07-17 08:42:17 +09:00
|
|
|
|
2014-02-11 10:37:47 +09:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-02-25 09:46:48 +08:00
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['other-licenses/android']
|
2013-02-25 12:47:18 -08:00
|
|
|
|
2014-01-14 07:38:40 +09:00
|
|
|
if CONFIG['MOZ_MEMORY']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['memory']
|
2013-11-07 10:37:44 +09:00
|
|
|
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += [
|
|
|
|
'mozglue',
|
|
|
|
'memory/mozalloc',
|
|
|
|
]
|
2014-07-17 08:42:17 +09:00
|
|
|
|
2014-02-11 10:37:47 +09:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['xpcom/xpidl']
|
2014-01-14 07:38:40 +09:00
|
|
|
|
2014-02-25 14:15:16 -08:00
|
|
|
if CONFIG['COMPILE_ENVIRONMENT'] and not CONFIG['LIBXUL_SDK']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['config/external/nspr']
|
2014-02-11 10:37:47 +09:00
|
|
|
|
2014-02-25 14:15:16 -08:00
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += [
|
|
|
|
'config/external',
|
|
|
|
'config/external/nss',
|
|
|
|
]
|
2014-02-11 10:37:47 +09:00
|
|
|
|
2014-08-07 14:21:03 +09:00
|
|
|
if CONFIG['BUILD_CTYPES']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['config/external/ffi']
|
2014-10-10 02:55:00 -04:00
|
|
|
if CONFIG['USE_ICU']:
|
2014-10-02 09:14:07 +09:00
|
|
|
DIRS += ['config/external/icu']
|
|
|
|
DIRS += ['js/src']
|
2014-02-11 10:37:47 +09:00
|
|
|
|
|
|
|
if not CONFIG['JS_STANDALONE']:
|
2014-01-14 07:38:40 +09:00
|
|
|
# Bring in the configuration for the configured application.
|
|
|
|
include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
|
2014-08-24 09:11:05 +09:00
|
|
|
|
|
|
|
include('build/templates.mozbuild')
|