js/src/jsapi-tests/moz.build

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jsapi-tests/moz.build	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,91 @@
     1.4 +# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
     1.5 +# vim: set filetype=python:
     1.6 +# This Source Code Form is subject to the terms of the Mozilla Public
     1.7 +# License, v. 2.0. If a copy of the MPL was not distributed with this
     1.8 +# file, You can obtain one at http://mozilla.org/MPL/2.0/.
     1.9 +
    1.10 +PROGRAM = 'jsapi-tests'
    1.11 +
    1.12 +UNIFIED_SOURCES += [
    1.13 +    'selfTest.cpp',
    1.14 +    'testAddPropertyPropcache.cpp',
    1.15 +    'testArgumentsObject.cpp',
    1.16 +    'testArrayBuffer.cpp',
    1.17 +    'testBindCallable.cpp',
    1.18 +    'testBug604087.cpp',
    1.19 +    'testCallNonGenericMethodOnProxy.cpp',
    1.20 +    'testChromeBuffer.cpp',
    1.21 +    'testClassGetter.cpp',
    1.22 +    'testCloneScript.cpp',
    1.23 +    'testConservativeGC.cpp',
    1.24 +    'testContexts.cpp',
    1.25 +    'testCustomIterator.cpp',
    1.26 +    'testDebugger.cpp',
    1.27 +    'testDeepFreeze.cpp',
    1.28 +    'testDefineGetterSetterNonEnumerable.cpp',
    1.29 +    'testDefineProperty.cpp',
    1.30 +    'testEnclosingFunction.cpp',
    1.31 +    'testErrorCopying.cpp',
    1.32 +    'testException.cpp',
    1.33 +    'testExternalStrings.cpp',
    1.34 +    'testFindSCCs.cpp',
    1.35 +    'testFreshGlobalEvalRedefinition.cpp',
    1.36 +    'testFuncCallback.cpp',
    1.37 +    'testFunctionProperties.cpp',
    1.38 +    'testGCExactRooting.cpp',
    1.39 +    'testGCFinalizeCallback.cpp',
    1.40 +    'testGCHeapPostBarriers.cpp',
    1.41 +    'testGCOutOfMemory.cpp',
    1.42 +    'testGCStoreBufferRemoval.cpp',
    1.43 +    'testHashTable.cpp',
    1.44 +    'testHashTableInit.cpp',
    1.45 +    'testIndexToString.cpp',
    1.46 +    'testIntern.cpp',
    1.47 +    'testIntString.cpp',
    1.48 +    'testIntTypesABI.cpp',
    1.49 +    'testIsInsideNursery.cpp',
    1.50 +    'testJSEvaluateScript.cpp',
    1.51 +    'testLookup.cpp',
    1.52 +    'testLooselyEqual.cpp',
    1.53 +    'testMappedArrayBuffer.cpp',
    1.54 +    'testNewObject.cpp',
    1.55 +    'testNullRoot.cpp',
    1.56 +    'testObjectEmulatingUndefined.cpp',
    1.57 +    'testOOM.cpp',
    1.58 +    'testOps.cpp',
    1.59 +    'testOriginPrincipals.cpp',
    1.60 +    'testParseJSON.cpp',
    1.61 +    'testPersistentRooted.cpp',
    1.62 +    'testProfileStrings.cpp',
    1.63 +    'testPropCache.cpp',
    1.64 +    'testRegExp.cpp',
    1.65 +    'testResolveRecursion.cpp',
    1.66 +    'tests.cpp',
    1.67 +    'testSameValue.cpp',
    1.68 +    'testScriptInfo.cpp',
    1.69 +    'testScriptObject.cpp',
    1.70 +    'testSetProperty.cpp',
    1.71 +    'testSetPropertyIgnoringNamedGetter.cpp',
    1.72 +    'testSourcePolicy.cpp',
    1.73 +    'testStringBuffer.cpp',
    1.74 +    'testStructuredClone.cpp',
    1.75 +    'testToIntWidth.cpp',
    1.76 +    'testTrap.cpp',
    1.77 +    'testTypedArrays.cpp',
    1.78 +    'testUncaughtError.cpp',
    1.79 +    'testUTF8.cpp',
    1.80 +    'testXDR.cpp',
    1.81 +]
    1.82 +
    1.83 +if CONFIG['ENABLE_ION']:
    1.84 +    UNIFIED_SOURCES += [
    1.85 +        'testJitRValueAlloc.cpp',
    1.86 +    ]
    1.87 +
    1.88 +DEFINES['EXPORT_JS_API'] = True
    1.89 +# Building against js_static requires that we declare mfbt sybols "exported"
    1.90 +# on its behalf.
    1.91 +DEFINES['IMPL_MFBT'] = True
    1.92 +
    1.93 +LOCAL_INCLUDES += ['..']
    1.94 +GENERATED_INCLUDES += ['..']

mercurial