Bug 1247796. Use keyboardFocusIndicatorColor for ActiveBorder system color keyword...
[gecko.git] / moz.build
blob778cc29770dc62f1224b18a641497ca096b61eee
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 with Files('**/Makefile.in'):
8     BUG_COMPONENT = ('Core', 'Build Config')
9     FINAL = True
11 FILES_PER_UNIFIED_FILE = 1
13 CONFIGURE_SUBST_FILES += [
14     'config/autoconf.mk',
15     'config/emptyvars.mk',
18 if CONFIG['ENABLE_CLANG_PLUGIN']:
19     DIRS += ['build/clang-plugin']
21 DIRS += [
22     'config',
23     'python',
24     'testing',
27 if not CONFIG['JS_STANDALONE']:
28     CONFIGURE_SUBST_FILES += [
29         'tools/update-packaging/Makefile',
30     ]
31     CONFIGURE_DEFINE_FILES += [
32         'mozilla-config.h',
33     ]
34     EXPORTS += [
35         '!buildid.h',
36         '!mozilla-config.h',
37         '!source-repo.h',
38     ]
40     GENERATED_FILES += [
41         'buildid.h',
42         'source-repo.h',
43     ]
45     GENERATED_FILES['buildid.h'].script = 'build/variables.py:buildid_header'
46     GENERATED_FILES['source-repo.h'].script = 'build/variables.py:source_repo_header'
48     DIRS += [
49         'build',
50         'probes',
51     ]
53 DIRS += [
54     'config/external/zlib',
55     'memory',
56     'mfbt',
57     'mozglue',
60 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android' and int(CONFIG['MOZ_ANDROID_MIN_SDK_VERSION']) < 11:
61     DIRS += ['other-licenses/android']
63 if not CONFIG['JS_STANDALONE']:
64     DIRS += ['xpcom/xpidl']
66 if CONFIG['COMPILE_ENVIRONMENT']:
67     DIRS += ['config/external/nspr']
69     if not CONFIG['JS_STANDALONE']:
70         DIRS += [
71             'config/external',
72             'config/external/nss',
73         ]
75     if CONFIG['BUILD_CTYPES']:
76         DIRS += ['config/external/ffi']
77     if CONFIG['USE_ICU']:
78         DIRS += ['config/external/icu']
79     DIRS += ['js/src']
81 if not CONFIG['JS_STANDALONE'] and CONFIG['MOZ_BUILD_APP']:
82     # Bring in the configuration for the configured application.
83     include('/' + CONFIG['MOZ_BUILD_APP'] + '/app.mozbuild')
85 include('build/templates.mozbuild')