| OLD | NEW |
| 1 # Copyright 2016 The V8 project authors. All rights reserved. | 1 # Copyright 2016 The V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
| 6 | 6 |
| 7 v8_executable("unittests") { | 7 v8_executable("unittests") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 "wasm/asm-types-unittest.cc", | 122 "wasm/asm-types-unittest.cc", |
| 123 "wasm/ast-decoder-unittest.cc", | 123 "wasm/ast-decoder-unittest.cc", |
| 124 "wasm/control-transfer-unittest.cc", | 124 "wasm/control-transfer-unittest.cc", |
| 125 "wasm/decoder-unittest.cc", | 125 "wasm/decoder-unittest.cc", |
| 126 "wasm/leb-helper-unittest.cc", | 126 "wasm/leb-helper-unittest.cc", |
| 127 "wasm/loop-assignment-analysis-unittest.cc", | 127 "wasm/loop-assignment-analysis-unittest.cc", |
| 128 "wasm/module-decoder-unittest.cc", | 128 "wasm/module-decoder-unittest.cc", |
| 129 "wasm/switch-logic-unittest.cc", | 129 "wasm/switch-logic-unittest.cc", |
| 130 "wasm/wasm-macro-gen-unittest.cc", | 130 "wasm/wasm-macro-gen-unittest.cc", |
| 131 "wasm/wasm-module-builder-unittest.cc", | 131 "wasm/wasm-module-builder-unittest.cc", |
| 132 "zone/segmentpool-unittest.cc", |
| 132 ] | 133 ] |
| 133 | 134 |
| 134 if (v8_current_cpu == "arm") { | 135 if (v8_current_cpu == "arm") { |
| 135 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] | 136 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] |
| 136 } else if (v8_current_cpu == "arm64") { | 137 } else if (v8_current_cpu == "arm64") { |
| 137 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] | 138 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] |
| 138 } else if (v8_current_cpu == "x86") { | 139 } else if (v8_current_cpu == "x86") { |
| 139 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] | 140 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] |
| 140 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { | 141 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { |
| 141 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] | 142 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] |
| (...skipping 27 matching lines...) Expand all Loading... |
| 169 "//testing/gtest", | 170 "//testing/gtest", |
| 170 ] | 171 ] |
| 171 | 172 |
| 172 if (is_win) { | 173 if (is_win) { |
| 173 # This warning is benignly triggered by the U16 and U32 macros in | 174 # This warning is benignly triggered by the U16 and U32 macros in |
| 174 # bytecode-utils.h. | 175 # bytecode-utils.h. |
| 175 # C4309: 'static_cast': truncation of constant value | 176 # C4309: 'static_cast': truncation of constant value |
| 176 cflags = [ "/wd4309" ] | 177 cflags = [ "/wd4309" ] |
| 177 } | 178 } |
| 178 } | 179 } |
| OLD | NEW |