mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
d53d3b5e5e
WebIDL build system integration has been rewritten from the ground up. Changes: * GlobalGen.py, BindingGen.py, and ExampleGen.py have been removed in favor of mozwebidl.py. * Static .webidl files are now processed directly in their original location and aren't copied to the object directory. * Generated events <stem>.cpp files are now compiled into the unified sources. Previously, only the <stem>Binding.cpp files were compiled into unified sources. * Exported .h files are now generated directly into their final location. Previously, they were generated into the local directory then installed in their final location. * The list of globalgen-generated files now lives in Python and isn't duplicated in 3 places. * The make dependencies are much simpler as a result of using a single command to perform all code generation. The auto-generated .pp file from code generation sets up all dependencies necessary to reinvoke code generation and Python takes care of dependency management. --HG-- extra : rebase_source : e4918878274b22a412329c7cb18cc7138daf5dc6
118 lines
2.1 KiB
Python
118 lines
2.1 KiB
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# 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/.
|
|
|
|
interfaces = [
|
|
'base',
|
|
'canvas',
|
|
'core',
|
|
'html',
|
|
'events',
|
|
'devicestorage',
|
|
'settings',
|
|
'stylesheets',
|
|
'sidebar',
|
|
'css',
|
|
'traversal',
|
|
'range',
|
|
'xbl',
|
|
'xpath',
|
|
'xul',
|
|
'storage',
|
|
'json',
|
|
'offline',
|
|
'geolocation',
|
|
'notification',
|
|
'permission',
|
|
'svg',
|
|
'smil',
|
|
'apps',
|
|
'gamepad',
|
|
]
|
|
|
|
PARALLEL_DIRS += ['interfaces/' + i for i in interfaces]
|
|
|
|
PARALLEL_DIRS += [
|
|
'apps',
|
|
'base',
|
|
'activities',
|
|
'bindings',
|
|
'battery',
|
|
'bluetooth',
|
|
'browser-element',
|
|
'contacts',
|
|
'phonenumberutils',
|
|
'alarm',
|
|
'datastore',
|
|
'devicestorage',
|
|
'encoding',
|
|
'file',
|
|
'fmradio',
|
|
'asmjscache',
|
|
'media',
|
|
'messages',
|
|
'power',
|
|
'push',
|
|
'quota',
|
|
'settings',
|
|
'mobilemessage',
|
|
'src',
|
|
'time',
|
|
'locales',
|
|
'network',
|
|
'permission',
|
|
'plugins/base',
|
|
'plugins/ipc',
|
|
'indexedDB',
|
|
'system',
|
|
'ipc',
|
|
'identity',
|
|
'workers',
|
|
'camera',
|
|
'audiochannel',
|
|
'promise',
|
|
'telephony',
|
|
'inputmethod',
|
|
'webidl',
|
|
]
|
|
|
|
if CONFIG['OS_ARCH'] == 'WINNT':
|
|
PARALLEL_DIRS += ['plugins/ipc/hangui']
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
|
|
PARALLEL_DIRS += [
|
|
'speakermanager',
|
|
'wifi',
|
|
]
|
|
|
|
if CONFIG['MOZ_B2G_RIL']:
|
|
PARALLEL_DIRS += [
|
|
'icc',
|
|
'cellbroadcast',
|
|
'voicemail',
|
|
'wappush',
|
|
]
|
|
|
|
if CONFIG['MOZ_PAY']:
|
|
PARALLEL_DIRS += ['payment']
|
|
|
|
if CONFIG['MOZ_GAMEPAD']:
|
|
PARALLEL_DIRS += ['gamepad']
|
|
|
|
if CONFIG['MOZ_NFC']:
|
|
PARALLEL_DIRS += ['nfc']
|
|
|
|
if CONFIG['MOZ_B2G']:
|
|
PARALLEL_DIRS += ['downloads']
|
|
|
|
TEST_DIRS += [
|
|
'tests',
|
|
'imptests',
|
|
]
|
|
|
|
if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'cocoa', 'windows', 'android', 'qt', 'os2'):
|
|
TEST_DIRS += ['plugins/test']
|
|
|