webdriver: Implement Fullscreen command support (#100)
[gecko.git] / config / moz.build
blob4467d5fdae1a0e367c29cacd143170cb7dab785f
1 # -*- Mode: python; 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('**'):
8     BUG_COMPONENT = ('Core', 'Build Config')
10 DIST_INSTALL = False
11 # For sanity's sake, we compile nsinstall without the wrapped system
12 # headers, so that we can use it to set up the wrapped system headers.
13 NO_VISIBILITY_FLAGS = True
15 CONFIGURE_SUBST_FILES += [
16     'doxygen.cfg',
17     'makefiles/test/Makefile',
18     'tests/src-simple/Makefile',
21 if CONFIG['HOST_OS_ARCH'] != 'WINNT':
22     HOST_SOURCES += [
23         'nsinstall.c',
24         'pathsub.c',
25     ]
26     # stdc++compat depends on config/export, so avoid a circular
27     # dependency added by HostProgram depending on stdc++compat,
28     # while the program here is in C.
29     HostProgram('nsinstall_real', c_only=True)
31 if CONFIG['MOZ_SYSTEM_ICU']:
32     DEFINES['MOZ_SYSTEM_ICU'] = True
34 PYTHON_UNITTEST_MANIFESTS += [
35     'tests/python.ini',
38 if CONFIG['GNU_CC'] and CONFIG['MOZ_OPTIMIZE']:
39     CFLAGS += ['-O3']
41 HOST_DEFINES = {
42     'UNICODE': True,
43     '_UNICODE': True,