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 | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 74 | 'compiler/test-run-calls-to-external-references.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 75 | 'compiler/test-run-deopt.cc', |
| 76 | 'compiler/test-run-inlining.cc', |
| 77 | 'compiler/test-run-intrinsics.cc', |
| 78 | 'compiler/test-run-jsbranches.cc', |
| 79 | 'compiler/test-run-jscalls.cc', |
| 80 | 'compiler/test-run-jsexceptions.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 81 | 'compiler/test-run-jsobjects.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 82 | 'compiler/test-run-jsops.cc', |
| 83 | 'compiler/test-run-machops.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 84 | 'compiler/test-run-native-calls.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', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 92 | 'interpreter/interpreter-tester.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 93 | 'interpreter/test-bytecode-generator.cc', |
| 94 | 'interpreter/test-interpreter.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 95 | 'interpreter/test-interpreter-intrinsics.cc', |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 96 | 'interpreter/bytecode-expectations-printer.cc', |
| 97 | 'interpreter/bytecode-expectations-printer.h', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 98 | 'gay-fixed.cc', |
| 99 | 'gay-precision.cc', |
| 100 | 'gay-shortest.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 101 | 'heap/heap-tester.h', |
| 102 | 'heap/test-alloc.cc', |
| 103 | 'heap/test-compaction.cc', |
| 104 | 'heap/test-heap.cc', |
| 105 | 'heap/test-incremental-marking.cc', |
| 106 | 'heap/test-lab.cc', |
| 107 | 'heap/test-mark-compact.cc', |
| 108 | 'heap/test-spaces.cc', |
| 109 | 'heap/utils-inl.h', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 110 | 'print-extension.cc', |
| 111 | 'profiler-extension.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 112 | 'test-accessors.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 113 | 'test-api.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 114 | 'test-api.h', |
| 115 | 'test-api-accessors.cc', |
| 116 | 'test-api-interceptors.cc', |
| 117 | 'test-api-fast-accessor-builder.cc', |
| 118 | 'test-array-list.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 119 | 'test-ast.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 120 | 'test-ast-expression-visitor.cc', |
| 121 | 'test-asm-validator.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 122 | 'test-atomicops.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 123 | 'test-bignum.cc', |
| 124 | 'test-bignum-dtoa.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 125 | 'test-bit-vector.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 126 | 'test-circular-queue.cc', |
| 127 | 'test-compiler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 128 | 'test-constantpool.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 129 | 'test-conversions.cc', |
| 130 | 'test-cpu-profiler.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 131 | 'test-date.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 132 | 'test-debug.cc', |
| 133 | 'test-decls.cc', |
| 134 | 'test-deoptimization.cc', |
Ben Murdoch | 69a99ed | 2011-11-30 16:03:39 +0000 | [diff] [blame] | 135 | 'test-dictionary.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 136 | 'test-diy-fp.cc', |
| 137 | 'test-double.cc', |
| 138 | 'test-dtoa.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 139 | 'test-elements-kind.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 140 | 'test-fast-dtoa.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 141 | 'test-feedback-vector.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 142 | 'test-field-type-tracking.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 143 | 'test-fixed-dtoa.cc', |
| 144 | 'test-flags.cc', |
| 145 | 'test-func-name-inference.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 146 | 'test-global-handles.cc', |
| 147 | 'test-global-object.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 148 | 'test-hashing.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 149 | 'test-hashmap.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 150 | 'test-heap-profiler.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 151 | 'test-hydrogen-types.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 152 | 'test-identity-map.cc', |
| 153 | 'test-inobject-slack-tracking.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 154 | 'test-list.cc', |
| 155 | 'test-liveedit.cc', |
Ben Murdoch | 257744e | 2011-11-30 15:57:28 +0000 | [diff] [blame] | 156 | 'test-lockers.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 157 | 'test-log.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 158 | 'test-microtask-delivery.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 159 | 'test-mementos.cc', |
| 160 | 'test-object-observe.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 161 | 'test-parsing.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 162 | 'test-platform.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 163 | 'test-profile-generator.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 164 | 'test-random-number-generator.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 165 | 'test-receiver-check-hidden-prototype.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 166 | 'test-regexp.cc', |
| 167 | 'test-reloc-info.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 168 | 'test-representation.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 169 | 'test-sampler-api.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 170 | 'test-serialize.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 171 | 'test-simd.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 172 | 'test-strings.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 173 | 'test-symbols.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 174 | 'test-strtod.cc', |
| 175 | 'test-thread-termination.cc', |
| 176 | 'test-threads.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 177 | 'test-trace-event.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 178 | 'test-transitions.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 179 | 'test-typedarrays.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 180 | 'test-types.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 181 | 'test-typing-reset.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 182 | 'test-unbound-queue.cc', |
Emily Bernier | d0a1eb7 | 2015-03-24 16:35:39 -0400 | [diff] [blame] | 183 | 'test-unboxed-doubles.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 184 | 'test-unique.cc', |
| 185 | 'test-unscopables-hidden-prototype.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 186 | 'test-utils.cc', |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 187 | 'test-version.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 188 | 'test-weakmaps.cc', |
| 189 | 'test-weaksets.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 190 | 'trace-extension.cc', |
| 191 | 'wasm/test-run-wasm.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 192 | 'wasm/test-run-wasm-64.cc', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 193 | 'wasm/test-run-wasm-js.cc', |
| 194 | 'wasm/test-run-wasm-module.cc', |
| 195 | 'wasm/test-signatures.h', |
| 196 | 'wasm/wasm-run-utils.h', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 197 | ], |
| 198 | 'conditions': [ |
| 199 | ['v8_target_arch=="ia32"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 200 | 'sources': [ ### gcmole(arch:ia32) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 201 | 'test-assembler-ia32.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 202 | 'test-code-stubs.cc', |
| 203 | 'test-code-stubs-ia32.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 204 | 'test-disasm-ia32.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 205 | 'test-macro-assembler-ia32.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 206 | 'test-log-stack-tracer.cc', |
| 207 | 'test-run-wasm-relocation-ia32.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 208 | ], |
| 209 | }], |
| 210 | ['v8_target_arch=="x64"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 211 | 'sources': [ ### gcmole(arch:x64) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 212 | 'test-assembler-x64.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 213 | 'test-code-stubs.cc', |
| 214 | 'test-code-stubs-x64.cc', |
| 215 | 'test-disasm-x64.cc', |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 216 | 'test-macro-assembler-x64.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 217 | 'test-log-stack-tracer.cc', |
| 218 | 'test-run-wasm-relocation-x64.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 219 | ], |
| 220 | }], |
| 221 | ['v8_target_arch=="arm"', { |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 222 | 'sources': [ ### gcmole(arch:arm) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 223 | 'test-assembler-arm.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 224 | 'test-code-stubs.cc', |
| 225 | 'test-code-stubs-arm.cc', |
| 226 | 'test-disasm-arm.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 227 | 'test-macro-assembler-arm.cc', |
| 228 | 'test-run-wasm-relocation-arm.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 229 | ], |
| 230 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 231 | ['v8_target_arch=="arm64"', { |
| 232 | 'sources': [ ### gcmole(arch:arm64) ### |
| 233 | 'test-utils-arm64.cc', |
| 234 | 'test-assembler-arm64.cc', |
| 235 | 'test-code-stubs.cc', |
| 236 | 'test-code-stubs-arm64.cc', |
| 237 | 'test-disasm-arm64.cc', |
| 238 | 'test-fuzz-arm64.cc', |
| 239 | 'test-javascript-arm64.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 240 | 'test-js-arm64-variables.cc', |
| 241 | 'test-run-wasm-relocation-arm64.cc' |
| 242 | ], |
| 243 | }], |
| 244 | ['v8_target_arch=="s390"', { |
| 245 | 'sources': [ ### gcmole(arch:s390) ### |
| 246 | 'test-assembler-s390.cc', |
| 247 | 'test-code-stubs.cc', |
| 248 | 'test-disasm-s390.cc' |
| 249 | ], |
| 250 | }], |
| 251 | ['v8_target_arch=="s390x"', { |
| 252 | 'sources': [ ### gcmole(arch:s390x) ### |
| 253 | 'test-assembler-s390.cc', |
| 254 | 'test-code-stubs.cc', |
| 255 | 'test-disasm-s390.cc' |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 256 | ], |
| 257 | }], |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 258 | ['v8_target_arch=="ppc"', { |
| 259 | 'sources': [ ### gcmole(arch:ppc) ### |
| 260 | 'test-assembler-ppc.cc', |
| 261 | 'test-code-stubs.cc', |
| 262 | 'test-disasm-ppc.cc' |
| 263 | ], |
| 264 | }], |
| 265 | ['v8_target_arch=="ppc64"', { |
| 266 | 'sources': [ ### gcmole(arch:ppc64) ### |
| 267 | 'test-assembler-ppc.cc', |
| 268 | 'test-code-stubs.cc', |
| 269 | 'test-disasm-ppc.cc' |
| 270 | ], |
| 271 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 272 | ['v8_target_arch=="mipsel"', { |
| 273 | 'sources': [ ### gcmole(arch:mipsel) ### |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 274 | 'test-assembler-mips.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 275 | 'test-code-stubs.cc', |
| 276 | 'test-code-stubs-mips.cc', |
Ben Murdoch | 257744e | 2011-11-30 15:57:28 +0000 | [diff] [blame] | 277 | 'test-disasm-mips.cc', |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 278 | 'test-macro-assembler-mips.cc' |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 279 | ], |
| 280 | }], |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 281 | ['v8_target_arch=="mips64el"', { |
| 282 | 'sources': [ |
| 283 | 'test-assembler-mips64.cc', |
| 284 | 'test-code-stubs.cc', |
| 285 | 'test-code-stubs-mips64.cc', |
| 286 | 'test-disasm-mips64.cc', |
| 287 | 'test-macro-assembler-mips64.cc' |
| 288 | ], |
| 289 | }], |
| 290 | ['v8_target_arch=="x87"', { |
| 291 | 'sources': [ ### gcmole(arch:x87) ### |
| 292 | 'test-assembler-x87.cc', |
| 293 | 'test-code-stubs.cc', |
| 294 | 'test-code-stubs-x87.cc', |
| 295 | 'test-disasm-x87.cc', |
| 296 | 'test-macro-assembler-x87.cc', |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 297 | 'test-log-stack-tracer.cc', |
| 298 | 'test-run-wasm-relocation-x87.cc' |
Ben Murdoch | b8a8cc1 | 2014-11-26 15:28:44 +0000 | [diff] [blame] | 299 | ], |
| 300 | }], |
| 301 | [ 'OS=="linux" or OS=="qnx"', { |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 302 | 'sources': [ |
| 303 | 'test-platform-linux.cc', |
| 304 | ], |
| 305 | }], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 306 | [ 'OS=="win"', { |
| 307 | 'sources': [ |
| 308 | 'test-platform-win32.cc', |
| 309 | ], |
Ben Murdoch | 3ef787d | 2012-04-12 10:51:47 +0100 | [diff] [blame] | 310 | 'msvs_settings': { |
| 311 | 'VCCLCompilerTool': { |
| 312 | # MSVS wants this for gay-{precision,shortest}.cc. |
| 313 | 'AdditionalOptions': ['/bigobj'], |
| 314 | }, |
| 315 | }, |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 316 | }], |
Ben Murdoch | da12d29 | 2016-06-02 14:46:10 +0100 | [diff] [blame] | 317 | ['v8_target_arch=="ppc" or v8_target_arch=="ppc64" \ |
| 318 | or v8_target_arch=="arm" or v8_target_arch=="arm64" \ |
| 319 | or v8_target_arch=="s390" or v8_target_arch=="s390x"', { |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 320 | # disable fmadd/fmsub so that expected results match generated code in |
| 321 | # RunFloat64MulAndFloat64Add1 and friends. |
| 322 | 'cflags': ['-ffp-contract=off'], |
| 323 | }], |
| 324 | ['OS=="aix"', { |
| 325 | 'ldflags': [ '-Wl,-bbigtoc' ], |
| 326 | }], |
Ben Murdoch | 589d697 | 2011-11-30 16:04:58 +0000 | [diff] [blame] | 327 | ['component=="shared_library"', { |
| 328 | # cctest can't be built against a shared library, so we need to |
| 329 | # depend on the underlying static target in that case. |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 330 | 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'], |
Ben Murdoch | 589d697 | 2011-11-30 16:04:58 +0000 | [diff] [blame] | 331 | }, { |
| 332 | 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
| 333 | }], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 334 | ], |
| 335 | }, |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 336 | { |
| 337 | 'target_name': 'resources', |
| 338 | 'type': 'none', |
| 339 | 'variables': { |
| 340 | 'file_list': [ |
| 341 | '../../tools/splaytree.js', |
| 342 | '../../tools/codemap.js', |
| 343 | '../../tools/csvparser.js', |
| 344 | '../../tools/consarray.js', |
| 345 | '../../tools/profile.js', |
| 346 | '../../tools/profile_view.js', |
| 347 | '../../tools/logreader.js', |
| 348 | 'log-eq-of-logging-and-traversal.js', |
| 349 | ], |
| 350 | }, |
| 351 | 'actions': [ |
| 352 | { |
| 353 | 'action_name': 'js2c', |
| 354 | 'inputs': [ |
| 355 | '../../tools/js2c.py', |
| 356 | '<@(file_list)', |
| 357 | ], |
| 358 | 'outputs': [ |
| 359 | '<(generated_file)', |
| 360 | ], |
| 361 | 'action': [ |
| 362 | 'python', |
| 363 | '../../tools/js2c.py', |
| 364 | '<@(_outputs)', |
| 365 | 'TEST', # type |
Ben Murdoch | 3fb3ca8 | 2011-12-02 17:19:32 +0000 | [diff] [blame] | 366 | '<@(file_list)', |
| 367 | ], |
| 368 | } |
| 369 | ], |
| 370 | }, |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 371 | { |
| 372 | 'target_name': 'generate-bytecode-expectations', |
| 373 | 'type': 'executable', |
| 374 | 'dependencies': [ |
| 375 | '../../tools/gyp/v8.gyp:v8_libplatform', |
| 376 | ], |
| 377 | 'conditions': [ |
| 378 | ['component=="shared_library"', { |
| 379 | # Same as cctest, we need to depend on the underlying static target. |
| 380 | 'dependencies': ['../../tools/gyp/v8.gyp:v8_maybe_snapshot'], |
| 381 | }, { |
| 382 | 'dependencies': ['../../tools/gyp/v8.gyp:v8'], |
| 383 | }], |
| 384 | ], |
| 385 | 'include_dirs+': [ |
| 386 | '../..', |
| 387 | ], |
| 388 | 'sources': [ |
| 389 | 'interpreter/bytecode-expectations-printer.cc', |
| 390 | 'interpreter/bytecode-expectations-printer.h', |
| 391 | 'interpreter/generate-bytecode-expectations.cc', |
| 392 | ], |
| 393 | }, |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 394 | ], |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 395 | 'conditions': [ |
| 396 | ['test_isolation_mode != "noop"', { |
| 397 | 'targets': [ |
| 398 | { |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 399 | 'target_name': 'cctest_exe_run', |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 400 | 'type': 'none', |
| 401 | 'dependencies': [ |
| 402 | 'cctest', |
| 403 | ], |
| 404 | 'includes': [ |
| 405 | '../../build/isolate.gypi', |
| 406 | ], |
| 407 | 'sources': [ |
Ben Murdoch | 097c5b2 | 2016-05-18 11:27:45 +0100 | [diff] [blame] | 408 | 'cctest_exe.isolate', |
| 409 | ], |
| 410 | }, |
| 411 | { |
| 412 | 'target_name': 'cctest_run', |
| 413 | 'type': 'none', |
| 414 | 'dependencies': [ |
| 415 | 'cctest_exe_run', |
| 416 | ], |
| 417 | 'includes': [ |
| 418 | '../../build/isolate.gypi', |
| 419 | ], |
| 420 | 'sources': [ |
Ben Murdoch | 4a90d5f | 2016-03-22 12:00:34 +0000 | [diff] [blame] | 421 | 'cctest.isolate', |
| 422 | ], |
| 423 | }, |
| 424 | ], |
| 425 | }], |
| 426 | ], |
Ben Murdoch | b0fe162 | 2011-05-05 13:52:32 +0100 | [diff] [blame] | 427 | } |