Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*- |
michael@0 | 2 | # vim: set filetype=python: |
michael@0 | 3 | # This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 4 | # License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 5 | # file, You can obtain one at http://mozilla.org/MPL/2.0/. |
michael@0 | 6 | |
michael@0 | 7 | PROGRAM = 'jsapi-tests' |
michael@0 | 8 | |
michael@0 | 9 | UNIFIED_SOURCES += [ |
michael@0 | 10 | 'selfTest.cpp', |
michael@0 | 11 | 'testAddPropertyPropcache.cpp', |
michael@0 | 12 | 'testArgumentsObject.cpp', |
michael@0 | 13 | 'testArrayBuffer.cpp', |
michael@0 | 14 | 'testBindCallable.cpp', |
michael@0 | 15 | 'testBug604087.cpp', |
michael@0 | 16 | 'testCallNonGenericMethodOnProxy.cpp', |
michael@0 | 17 | 'testChromeBuffer.cpp', |
michael@0 | 18 | 'testClassGetter.cpp', |
michael@0 | 19 | 'testCloneScript.cpp', |
michael@0 | 20 | 'testConservativeGC.cpp', |
michael@0 | 21 | 'testContexts.cpp', |
michael@0 | 22 | 'testCustomIterator.cpp', |
michael@0 | 23 | 'testDebugger.cpp', |
michael@0 | 24 | 'testDeepFreeze.cpp', |
michael@0 | 25 | 'testDefineGetterSetterNonEnumerable.cpp', |
michael@0 | 26 | 'testDefineProperty.cpp', |
michael@0 | 27 | 'testEnclosingFunction.cpp', |
michael@0 | 28 | 'testErrorCopying.cpp', |
michael@0 | 29 | 'testException.cpp', |
michael@0 | 30 | 'testExternalStrings.cpp', |
michael@0 | 31 | 'testFindSCCs.cpp', |
michael@0 | 32 | 'testFreshGlobalEvalRedefinition.cpp', |
michael@0 | 33 | 'testFuncCallback.cpp', |
michael@0 | 34 | 'testFunctionProperties.cpp', |
michael@0 | 35 | 'testGCExactRooting.cpp', |
michael@0 | 36 | 'testGCFinalizeCallback.cpp', |
michael@0 | 37 | 'testGCHeapPostBarriers.cpp', |
michael@0 | 38 | 'testGCOutOfMemory.cpp', |
michael@0 | 39 | 'testGCStoreBufferRemoval.cpp', |
michael@0 | 40 | 'testHashTable.cpp', |
michael@0 | 41 | 'testHashTableInit.cpp', |
michael@0 | 42 | 'testIndexToString.cpp', |
michael@0 | 43 | 'testIntern.cpp', |
michael@0 | 44 | 'testIntString.cpp', |
michael@0 | 45 | 'testIntTypesABI.cpp', |
michael@0 | 46 | 'testIsInsideNursery.cpp', |
michael@0 | 47 | 'testJSEvaluateScript.cpp', |
michael@0 | 48 | 'testLookup.cpp', |
michael@0 | 49 | 'testLooselyEqual.cpp', |
michael@0 | 50 | 'testMappedArrayBuffer.cpp', |
michael@0 | 51 | 'testNewObject.cpp', |
michael@0 | 52 | 'testNullRoot.cpp', |
michael@0 | 53 | 'testObjectEmulatingUndefined.cpp', |
michael@0 | 54 | 'testOOM.cpp', |
michael@0 | 55 | 'testOps.cpp', |
michael@0 | 56 | 'testOriginPrincipals.cpp', |
michael@0 | 57 | 'testParseJSON.cpp', |
michael@0 | 58 | 'testPersistentRooted.cpp', |
michael@0 | 59 | 'testProfileStrings.cpp', |
michael@0 | 60 | 'testPropCache.cpp', |
michael@0 | 61 | 'testRegExp.cpp', |
michael@0 | 62 | 'testResolveRecursion.cpp', |
michael@0 | 63 | 'tests.cpp', |
michael@0 | 64 | 'testSameValue.cpp', |
michael@0 | 65 | 'testScriptInfo.cpp', |
michael@0 | 66 | 'testScriptObject.cpp', |
michael@0 | 67 | 'testSetProperty.cpp', |
michael@0 | 68 | 'testSetPropertyIgnoringNamedGetter.cpp', |
michael@0 | 69 | 'testSourcePolicy.cpp', |
michael@0 | 70 | 'testStringBuffer.cpp', |
michael@0 | 71 | 'testStructuredClone.cpp', |
michael@0 | 72 | 'testToIntWidth.cpp', |
michael@0 | 73 | 'testTrap.cpp', |
michael@0 | 74 | 'testTypedArrays.cpp', |
michael@0 | 75 | 'testUncaughtError.cpp', |
michael@0 | 76 | 'testUTF8.cpp', |
michael@0 | 77 | 'testXDR.cpp', |
michael@0 | 78 | ] |
michael@0 | 79 | |
michael@0 | 80 | if CONFIG['ENABLE_ION']: |
michael@0 | 81 | UNIFIED_SOURCES += [ |
michael@0 | 82 | 'testJitRValueAlloc.cpp', |
michael@0 | 83 | ] |
michael@0 | 84 | |
michael@0 | 85 | DEFINES['EXPORT_JS_API'] = True |
michael@0 | 86 | # Building against js_static requires that we declare mfbt sybols "exported" |
michael@0 | 87 | # on its behalf. |
michael@0 | 88 | DEFINES['IMPL_MFBT'] = True |
michael@0 | 89 | |
michael@0 | 90 | LOCAL_INCLUDES += ['..'] |
michael@0 | 91 | GENERATED_INCLUDES += ['..'] |