Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 1 | # Copyright 2012 the V8 project authors. All rights reserved. |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 2 | # Redistribution and use in source and binary forms, with or without |
| 3 | # modification, are permitted provided that the following conditions are |
| 4 | # met: |
| 5 | # |
| 6 | # * Redistributions of source code must retain the above copyright |
| 7 | # notice, this list of conditions and the following disclaimer. |
| 8 | # * Redistributions in binary form must reproduce the above |
| 9 | # copyright notice, this list of conditions and the following |
| 10 | # disclaimer in the documentation and/or other materials provided |
| 11 | # with the distribution. |
| 12 | # * Neither the name of Google Inc. nor the names of its |
| 13 | # contributors may be used to endorse or promote products derived |
| 14 | # from this software without specific prior written permission. |
| 15 | # |
| 16 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS |
| 17 | # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
| 18 | # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR |
| 19 | # A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT |
| 20 | # OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, |
| 21 | # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 22 | # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 23 | # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 24 | # THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 | # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 26 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 | |
| 28 | { |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 29 | 'variables': { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 30 | 'v8_code': 1, |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 31 | 'generated_file': '<(SHARED_INTERMEDIATE_DIR)/resources.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 32 | }, |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 33 | 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 34 | 'targets': [ |
| 35 | { |
| 36 | 'target_name': 'cctest', |
| 37 | 'type': 'executable', |
| 38 | 'dependencies': [ |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 39 | 'resources', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 40 | '../../tools/gyp/v8.gyp:v8_libplatform', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 41 | ], |
| 42 | 'include_dirs': [ |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 43 | '../..', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 44 | ], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 45 | 'sources': [ ### gcmole(all) ### |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 46 | '<(generated_file)', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 47 | 'compiler/c-signature.h', |
| 48 | 'compiler/codegen-tester.cc', |
| 49 | 'compiler/codegen-tester.h', |
| 50 | 'compiler/function-tester.h', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 51 | 'compiler/graph-builder-tester.h', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 52 | 'compiler/test-basic-block-profiler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 53 | 'compiler/test-branch-combine.cc', |
| 54 | 'compiler/test-changes-lowering.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 55 | 'compiler/test-code-stub-assembler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 56 | 'compiler/test-gap-resolver.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 57 | 'compiler/test-graph-visualizer.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 58 | 'compiler/test-instruction.cc', |
| 59 | 'compiler/test-js-context-specialization.cc', |
| 60 | 'compiler/test-js-constant-cache.cc', |
| 61 | 'compiler/test-js-typed-lowering.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 62 | 'compiler/test-jump-threading.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 63 | 'compiler/test-linkage.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 64 | 'compiler/test-loop-assignment-analysis.cc', |
| 65 | 'compiler/test-loop-analysis.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 66 | 'compiler/test-machine-operator-reducer.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 67 | 'compiler/test-multiple-return.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 68 | 'compiler/test-node.cc', |
| 69 | 'compiler/test-operator.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 70 | 'compiler/test-osr.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 71 | 'compiler/test-pipeline.cc', |
| 72 | 'compiler/test-representation-change.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 73 | 'compiler/test-run-bytecode-graph-builder.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 74 | 'compiler/test-run-deopt.cc', |
| 75 | 'compiler/test-run-inlining.cc', |
| 76 | 'compiler/test-run-intrinsics.cc', |
| 77 | 'compiler/test-run-jsbranches.cc', |
| 78 | 'compiler/test-run-jscalls.cc', |
| 79 | 'compiler/test-run-jsexceptions.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 80 | 'compiler/test-run-jsobjects.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 81 | 'compiler/test-run-jsops.cc', |
| 82 | 'compiler/test-run-machops.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 83 | 'compiler/test-run-native-calls.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 84 | 'compiler/test-run-properties.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 85 | 'compiler/test-run-stackcheck.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 86 | 'compiler/test-run-stubs.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 87 | 'compiler/test-run-variables.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 88 | 'compiler/test-simplified-lowering.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 89 | 'cctest.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 90 | 'expression-type-collector.cc', |
| 91 | 'expression-type-collector.h', |
| 92 | 'interpreter/test-bytecode-generator.cc', |
| 93 | 'interpreter/test-interpreter.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 94 | 'gay-fixed.cc', |
| 95 | 'gay-precision.cc', |
| 96 | 'gay-shortest.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 97 | 'heap/heap-tester.h', |
| 98 | 'heap/test-alloc.cc', |
| 99 | 'heap/test-compaction.cc', |
| 100 | 'heap/test-heap.cc', |
| 101 | 'heap/test-incremental-marking.cc', |
| 102 | 'heap/test-lab.cc', |
| 103 | 'heap/test-mark-compact.cc', |
| 104 | 'heap/test-spaces.cc', |
| 105 | 'heap/utils-inl.h', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 106 | 'print-extension.cc', |
| 107 | 'profiler-extension.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 108 | 'test-accessors.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 109 | 'test-api.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 110 | 'test-api.h', |
| 111 | 'test-api-accessors.cc', |
| 112 | 'test-api-interceptors.cc', |
| 113 | 'test-api-fast-accessor-builder.cc', |
| 114 | 'test-array-list.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 115 | 'test-ast.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 116 | 'test-ast-expression-visitor.cc', |
| 117 | 'test-asm-validator.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 118 | 'test-atomicops.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 119 | 'test-bignum.cc', |
| 120 | 'test-bignum-dtoa.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 121 | 'test-bit-vector.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 122 | 'test-circular-queue.cc', |
| 123 | 'test-compiler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 124 | 'test-constantpool.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 125 | 'test-conversions.cc', |
| 126 | 'test-cpu-profiler.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 127 | 'test-date.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 128 | 'test-debug.cc', |
| 129 | 'test-decls.cc', |
| 130 | 'test-deoptimization.cc', |
Ben Murdoch | 69a99ed | 2011-11-30 16:03:39 +0000 | [diff] [blame] | 131 | 'test-dictionary.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 132 | 'test-diy-fp.cc', |
| 133 | 'test-double.cc', |
| 134 | 'test-dtoa.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 135 | 'test-elements-kind.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 136 | 'test-fast-dtoa.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 137 | 'test-feedback-vector.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 138 | 'test-field-type-tracking.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 139 | 'test-fixed-dtoa.cc', |
| 140 | 'test-flags.cc', |
| 141 | 'test-func-name-inference.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 142 | 'test-gc-tracer.cc', |
| 143 | 'test-global-handles.cc', |
| 144 | 'test-global-object.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 145 | 'test-hashing.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 146 | 'test-hashmap.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 147 | 'test-heap-profiler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 148 | 'test-hydrogen-types.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 149 | 'test-identity-map.cc', |
| 150 | 'test-inobject-slack-tracking.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 151 | 'test-list.cc', |
| 152 | 'test-liveedit.cc', |
Ben Murdoch | 257744e | 2011-11-30 15:57:28 +0000 | [diff] [blame] | 153 | 'test-lockers.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 154 | 'test-log.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 155 | 'test-microtask-delivery.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 156 | 'test-mementos.cc', |
| 157 | 'test-object-observe.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 158 | 'test-parsing.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 159 | 'test-platform.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 160 | 'test-profile-generator.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 161 | 'test-random-number-generator.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 162 | 'test-receiver-check-hidden-prototype.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 163 | 'test-regexp.cc', |
| 164 | 'test-reloc-info.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 165 | 'test-representation.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 166 | 'test-sampler-api.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 167 | 'test-serialize.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 168 | 'test-simd.cc', |
| 169 | 'test-slots-buffer.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 170 | 'test-strings.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 171 | 'test-symbols.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 172 | 'test-strtod.cc', |
| 173 | 'test-thread-termination.cc', |
| 174 | 'test-threads.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 175 | 'test-trace-event.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 176 | 'test-transitions.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 177 | 'test-typedarrays.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 178 | 'test-types.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 179 | 'test-typing-reset.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 180 | 'test-unbound-queue.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 181 | 'test-unboxed-doubles.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 182 | 'test-unique.cc', |
| 183 | 'test-unscopables-hidden-prototype.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 184 | 'test-utils.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 185 | 'test-version.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 186 | 'test-weakmaps.cc', |
| 187 | 'test-weaksets.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 188 | 'trace-extension.cc', |
| 189 | 'wasm/test-run-wasm.cc', |
| 190 | 'wasm/test-run-wasm-js.cc', |
| 191 | 'wasm/test-run-wasm-module.cc', |
| 192 | 'wasm/test-signatures.h', |
| 193 | 'wasm/wasm-run-utils.h', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 194 | ], |
| 195 | 'conditions': [ |
| 196 | ['v8_target_arch=="ia32"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 197 | 'sources': [ ### gcmole(arch:ia32) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 198 | 'test-assembler-ia32.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 199 | 'test-code-stubs.cc', |
| 200 | 'test-code-stubs-ia32.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 201 | 'test-disasm-ia32.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 202 | 'test-macro-assembler-ia32.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 203 | 'test-log-stack-tracer.cc' |
| 204 | ], |
| 205 | }], |
| 206 | ['v8_target_arch=="x64"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 207 | 'sources': [ ### gcmole(arch:x64) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 208 | 'test-assembler-x64.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 209 | 'test-code-stubs.cc', |
| 210 | 'test-code-stubs-x64.cc', |
| 211 | 'test-disasm-x64.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 212 | 'test-macro-assembler-x64.cc', |
| 213 | 'test-log-stack-tracer.cc' |
| 214 | ], |
| 215 | }], |
| 216 | ['v8_target_arch=="arm"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 217 | 'sources': [ ### gcmole(arch:arm) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 218 | 'test-assembler-arm.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 219 | 'test-code-stubs.cc', |
| 220 | 'test-code-stubs-arm.cc', |
| 221 | 'test-disasm-arm.cc', |
| 222 | 'test-macro-assembler-arm.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 223 | ], |
| 224 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 225 | ['v8_target_arch=="arm64"', { |
| 226 | 'sources': [ ### gcmole(arch:arm64) ### |
| 227 | 'test-utils-arm64.cc', |
| 228 | 'test-assembler-arm64.cc', |
| 229 | 'test-code-stubs.cc', |
| 230 | 'test-code-stubs-arm64.cc', |
| 231 | 'test-disasm-arm64.cc', |
| 232 | 'test-fuzz-arm64.cc', |
| 233 | 'test-javascript-arm64.cc', |
| 234 | 'test-js-arm64-variables.cc' |
| 235 | ], |
| 236 | }], |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 237 | ['v8_target_arch=="ppc"', { |
| 238 | 'sources': [ ### gcmole(arch:ppc) ### |
| 239 | 'test-assembler-ppc.cc', |
| 240 | 'test-code-stubs.cc', |
| 241 | 'test-disasm-ppc.cc' |
| 242 | ], |
| 243 | }], |
| 244 | ['v8_target_arch=="ppc64"', { |
| 245 | 'sources': [ ### gcmole(arch:ppc64) ### |
| 246 | 'test-assembler-ppc.cc', |
| 247 | 'test-code-stubs.cc', |
| 248 | 'test-disasm-ppc.cc' |
| 249 | ], |
| 250 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 251 | ['v8_target_arch=="mipsel"', { |
| 252 | 'sources': [ ### gcmole(arch:mipsel) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 253 | 'test-assembler-mips.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 254 | 'test-code-stubs.cc', |
| 255 | 'test-code-stubs-mips.cc', |
Ben Murdoch | 257744e | 2011-11-30 15:57:28 +0000 | [diff] [blame] | 256 | 'test-disasm-mips.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 257 | 'test-macro-assembler-mips.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 258 | ], |
| 259 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 260 | ['v8_target_arch=="mips64el"', { |
| 261 | 'sources': [ |
| 262 | 'test-assembler-mips64.cc', |
| 263 | 'test-code-stubs.cc', |
| 264 | 'test-code-stubs-mips64.cc', |
| 265 | 'test-disasm-mips64.cc', |
| 266 | 'test-macro-assembler-mips64.cc' |
| 267 | ], |
| 268 | }], |
| 269 | ['v8_target_arch=="x87"', { |
| 270 | 'sources': [ ### gcmole(arch:x87) ### |
| 271 | 'test-assembler-x87.cc', |
| 272 | 'test-code-stubs.cc', |
| 273 | 'test-code-stubs-x87.cc', |
| 274 | 'test-disasm-x87.cc', |
| 275 | 'test-macro-assembler-x87.cc', |
| 276 | 'test-log-stack-tracer.cc' |
| 277 | ], |
| 278 | }], |
| 279 | [ 'OS=="linux" or OS=="qnx"', { |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 280 | 'sources': [ |
| 281 | 'test-platform-linux.cc', |
| 282 | ], |
| 283 | }], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 284 | [ 'OS=="win"', { |
| 285 | 'sources': [ |
| 286 | 'test-platform-win32.cc', |
| 287 | ], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 288 | 'msvs_settings': { |
| 289 | 'VCCLCompilerTool': { |
| 290 | # MSVS wants this for gay-{precision,shortest}.cc. |
| 291 | 'AdditionalOptions': ['/bigobj'], |
| 292 | }, |
| 293 | }, |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 294 | }], |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 295 | ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { |
| 296 | # disable fmadd/fmsub so that expected results match generated code in |
| 297 | # RunFloat64MulAndFloat64Add1 and friends. |
| 298 | 'cflags': ['-ffp-contract=off'], |
| 299 | }], |
| 300 | ['OS=="aix"', { |
| 301 | 'ldflags': [ '-Wl,-bbigtoc' ], |
| 302 | }], |
Ben Murdoch | 589d697 | 2011-11-30 16:04:58 +0000 | [diff] [blame] | 303 | ['component=="shared_library"', { |
| 304 | # cctest can't be built against a shared library, so we need to |
| 305 | # depend on the underlying static target in that case. |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 306 | 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'], |
Ben Murdoch | 589d697 | 2011-11-30 16:04:58 +0000 | [diff] [blame] | 307 | }, { |
| 308 | 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
| 309 | }], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 310 | ], |
| 311 | }, |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 312 | { |
| 313 | 'target_name': 'resources', |
| 314 | 'type': 'none', |
| 315 | 'variables': { |
| 316 | 'file_list': [ |
| 317 | '../../tools/splaytree.js', |
| 318 | '../../tools/codemap.js', |
| 319 | '../../tools/csvparser.js', |
| 320 | '../../tools/consarray.js', |
| 321 | '../../tools/profile.js', |
| 322 | '../../tools/profile_view.js', |
| 323 | '../../tools/logreader.js', |
| 324 | 'log-eq-of-logging-and-traversal.js', |
| 325 | ], |
| 326 | }, |
| 327 | 'actions': [ |
| 328 | { |
| 329 | 'action_name': 'js2c', |
| 330 | 'inputs': [ |
| 331 | '../../tools/js2c.py', |
| 332 | '<@(file_list)', |
| 333 | ], |
| 334 | 'outputs': [ |
| 335 | '<(generated_file)', |
| 336 | ], |
| 337 | 'action': [ |
| 338 | 'python', |
| 339 | '../../tools/js2c.py', |
| 340 | '<@(_outputs)', |
| 341 | 'TEST', # type |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 342 | '<@(file_list)', |
| 343 | ], |
| 344 | } |
| 345 | ], |
| 346 | }, |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 347 | ], |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame^] | 348 | 'conditions': [ |
| 349 | ['test_isolation_mode != "noop"', { |
| 350 | 'targets': [ |
| 351 | { |
| 352 | 'target_name': 'cctest_run', |
| 353 | 'type': 'none', |
| 354 | 'dependencies': [ |
| 355 | 'cctest', |
| 356 | ], |
| 357 | 'includes': [ |
| 358 | '../../build/isolate.gypi', |
| 359 | ], |
| 360 | 'sources': [ |
| 361 | 'cctest.isolate', |
| 362 | ], |
| 363 | }, |
| 364 | ], |
| 365 | }], |
| 366 | ], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 367 | } |