gecko/dom/plugins/test/testplugin/testplugin.mozbuild

38 lines
1.0 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/.
CPP_SOURCES += [
relative_path + '/nptest.cpp',
relative_path + '/nptest_utils.cpp',
'nptest_name.cpp',
]
toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
if toolkit == 'cocoa':
CMMSRCS += [
relative_path + '/nptest_macosx.mm'
]
elif toolkit == 'gtk2':
CPP_SOURCES += [
relative_path + '/nptest_gtk2.cpp',
]
elif toolkit == 'android':
CPP_SOURCES += [
relative_path + '/nptest_droid.cpp',
]
elif toolkit == 'os2':
CPP_SOURCES += [
relative_path + '/nptest_os2.cpp',
]
elif toolkit == 'qt':
CPP_SOURCES += [
relative_path + '/nptest_qt.cpp',
]
elif toolkit == 'windows':
CPP_SOURCES += [
relative_path + '/nptest_windows.cpp',
]