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