| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 "wasm/control-transfer-unittest.cc", | 126 "wasm/control-transfer-unittest.cc", |
| 127 "wasm/decoder-unittest.cc", | 127 "wasm/decoder-unittest.cc", |
| 128 "wasm/leb-helper-unittest.cc", | 128 "wasm/leb-helper-unittest.cc", |
| 129 "wasm/loop-assignment-analysis-unittest.cc", | 129 "wasm/loop-assignment-analysis-unittest.cc", |
| 130 "wasm/module-decoder-unittest.cc", | 130 "wasm/module-decoder-unittest.cc", |
| 131 "wasm/switch-logic-unittest.cc", | 131 "wasm/switch-logic-unittest.cc", |
| 132 "wasm/wasm-macro-gen-unittest.cc", | 132 "wasm/wasm-macro-gen-unittest.cc", |
| 133 "wasm/wasm-module-builder-unittest.cc", | 133 "wasm/wasm-module-builder-unittest.cc", |
| 134 "zone/segmentpool-unittest.cc", | 134 "zone/segmentpool-unittest.cc", |
| 135 "zone/zone-chunk-list-unittest.cc", | 135 "zone/zone-chunk-list-unittest.cc", |
| 136 "zone/zone-unittest.cc", |
| 136 ] | 137 ] |
| 137 | 138 |
| 138 if (v8_current_cpu == "arm") { | 139 if (v8_current_cpu == "arm") { |
| 139 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] | 140 sources += [ "compiler/arm/instruction-selector-arm-unittest.cc" ] |
| 140 } else if (v8_current_cpu == "arm64") { | 141 } else if (v8_current_cpu == "arm64") { |
| 141 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] | 142 sources += [ "compiler/arm64/instruction-selector-arm64-unittest.cc" ] |
| 142 } else if (v8_current_cpu == "x86") { | 143 } else if (v8_current_cpu == "x86") { |
| 143 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] | 144 sources += [ "compiler/ia32/instruction-selector-ia32-unittest.cc" ] |
| 144 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { | 145 } else if (v8_current_cpu == "mips" || v8_current_cpu == "mipsel") { |
| 145 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] | 146 sources += [ "compiler/mips/instruction-selector-mips-unittest.cc" ] |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 deps += [ "//third_party/icu" ] | 178 deps += [ "//third_party/icu" ] |
| 178 } | 179 } |
| 179 | 180 |
| 180 if (is_win) { | 181 if (is_win) { |
| 181 # This warning is benignly triggered by the U16 and U32 macros in | 182 # This warning is benignly triggered by the U16 and U32 macros in |
| 182 # bytecode-utils.h. | 183 # bytecode-utils.h. |
| 183 # C4309: 'static_cast': truncation of constant value | 184 # C4309: 'static_cast': truncation of constant value |
| 184 cflags = [ "/wd4309" ] | 185 cflags = [ "/wd4309" ] |
| 185 } | 186 } |
| 186 } | 187 } |
| OLD | NEW |