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/.
16 'nsLayoutStatics.cpp',
24 FAIL_ON_WARNINGS = True
26 MSVC_ENABLE_PGO = True
28 include('/ipc/chromium/chromium-config.mozbuild')
52 '/dom/speakermanager',
68 '/js/xpconnect/loader',
75 if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
77 '/dom/system/windows',
79 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'cocoa':
83 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
86 '/dom/system/android',
88 elif CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
93 '-I%s/%s' % (CONFIG['ANDROID_SOURCE'], d) for d in [
94 'dalvik/libnativehelper/include/nativehelper',
95 'frameworks/base/include',
96 'frameworks/base/include/binder',
97 'frameworks/base/include/utils',
98 'frameworks/base/include/media',
99 'frameworks/base/include/media/stagefright/openmax',
100 'frameworks/base/media/libstagefright/include',
104 if CONFIG['MOZ_B2G_FM']:
109 if CONFIG['MOZ_B2G_BT']:
114 if CONFIG['MOZ_WEBSPEECH']:
116 '/dom/media/webspeech/synth',
119 if CONFIG['MOZ_GSTREAMER']:
120 CXXFLAGS += CONFIG['GSTREAMER_CFLAGS']
122 if CONFIG['MOZ_SECUREELEMENT']:
124 '/dom/secureelement',
127 FINAL_LIBRARY = 'xul'