michael@0: # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- michael@0: # vim: set filetype=python: michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: DEFINES.update({ michael@0: 'IMPL_LIBXUL': True, michael@0: 'MOZILLA_INTERNAL_API': True, michael@0: }) michael@0: michael@0: # Do NOT export this library. We don't actually want our test code michael@0: # being added to libxul or anything. michael@0: michael@0: LIBRARY_NAME = 'dombindings_test_s' michael@0: michael@0: EXTRA_COMPONENTS += [ michael@0: 'TestInterfaceJS.js', michael@0: 'TestInterfaceJS.manifest', michael@0: ] michael@0: michael@0: MOCHITEST_MANIFESTS += ['mochitest.ini'] michael@0: michael@0: MOCHITEST_CHROME_MANIFESTS += ['chrome.ini'] michael@0: michael@0: TEST_WEBIDL_FILES += [ michael@0: 'TestDictionary.webidl', michael@0: 'TestJSImplInheritanceGen.webidl', michael@0: 'TestTypedef.webidl', michael@0: ] michael@0: michael@0: PREPROCESSED_TEST_WEBIDL_FILES += [ michael@0: 'TestCodeGen.webidl', michael@0: 'TestExampleGen.webidl', michael@0: 'TestJSImplGen.webidl', michael@0: ] michael@0: michael@0: WEBIDL_EXAMPLE_INTERFACES += [ michael@0: 'TestExampleInterface', michael@0: 'TestExampleProxyInterface', michael@0: ] michael@0: michael@0: GENERATED_INCLUDES += ['..'] michael@0: LOCAL_INCLUDES += [ michael@0: '/dom/bindings', michael@0: '/js/xpconnect/src', michael@0: '/js/xpconnect/wrappers', michael@0: ]