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: PROGRAM = 'jsapi-tests' michael@0: michael@0: UNIFIED_SOURCES += [ michael@0: 'selfTest.cpp', michael@0: 'testAddPropertyPropcache.cpp', michael@0: 'testArgumentsObject.cpp', michael@0: 'testArrayBuffer.cpp', michael@0: 'testBindCallable.cpp', michael@0: 'testBug604087.cpp', michael@0: 'testCallNonGenericMethodOnProxy.cpp', michael@0: 'testChromeBuffer.cpp', michael@0: 'testClassGetter.cpp', michael@0: 'testCloneScript.cpp', michael@0: 'testConservativeGC.cpp', michael@0: 'testContexts.cpp', michael@0: 'testCustomIterator.cpp', michael@0: 'testDebugger.cpp', michael@0: 'testDeepFreeze.cpp', michael@0: 'testDefineGetterSetterNonEnumerable.cpp', michael@0: 'testDefineProperty.cpp', michael@0: 'testEnclosingFunction.cpp', michael@0: 'testErrorCopying.cpp', michael@0: 'testException.cpp', michael@0: 'testExternalStrings.cpp', michael@0: 'testFindSCCs.cpp', michael@0: 'testFreshGlobalEvalRedefinition.cpp', michael@0: 'testFuncCallback.cpp', michael@0: 'testFunctionProperties.cpp', michael@0: 'testGCExactRooting.cpp', michael@0: 'testGCFinalizeCallback.cpp', michael@0: 'testGCHeapPostBarriers.cpp', michael@0: 'testGCOutOfMemory.cpp', michael@0: 'testGCStoreBufferRemoval.cpp', michael@0: 'testHashTable.cpp', michael@0: 'testHashTableInit.cpp', michael@0: 'testIndexToString.cpp', michael@0: 'testIntern.cpp', michael@0: 'testIntString.cpp', michael@0: 'testIntTypesABI.cpp', michael@0: 'testIsInsideNursery.cpp', michael@0: 'testJSEvaluateScript.cpp', michael@0: 'testLookup.cpp', michael@0: 'testLooselyEqual.cpp', michael@0: 'testMappedArrayBuffer.cpp', michael@0: 'testNewObject.cpp', michael@0: 'testNullRoot.cpp', michael@0: 'testObjectEmulatingUndefined.cpp', michael@0: 'testOOM.cpp', michael@0: 'testOps.cpp', michael@0: 'testOriginPrincipals.cpp', michael@0: 'testParseJSON.cpp', michael@0: 'testPersistentRooted.cpp', michael@0: 'testProfileStrings.cpp', michael@0: 'testPropCache.cpp', michael@0: 'testRegExp.cpp', michael@0: 'testResolveRecursion.cpp', michael@0: 'tests.cpp', michael@0: 'testSameValue.cpp', michael@0: 'testScriptInfo.cpp', michael@0: 'testScriptObject.cpp', michael@0: 'testSetProperty.cpp', michael@0: 'testSetPropertyIgnoringNamedGetter.cpp', michael@0: 'testSourcePolicy.cpp', michael@0: 'testStringBuffer.cpp', michael@0: 'testStructuredClone.cpp', michael@0: 'testToIntWidth.cpp', michael@0: 'testTrap.cpp', michael@0: 'testTypedArrays.cpp', michael@0: 'testUncaughtError.cpp', michael@0: 'testUTF8.cpp', michael@0: 'testXDR.cpp', michael@0: ] michael@0: michael@0: if CONFIG['ENABLE_ION']: michael@0: UNIFIED_SOURCES += [ michael@0: 'testJitRValueAlloc.cpp', michael@0: ] michael@0: michael@0: DEFINES['EXPORT_JS_API'] = True michael@0: # Building against js_static requires that we declare mfbt sybols "exported" michael@0: # on its behalf. michael@0: DEFINES['IMPL_MFBT'] = True michael@0: michael@0: LOCAL_INCLUDES += ['..'] michael@0: GENERATED_INCLUDES += ['..']