Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: BUILD.gn

Issue 1912103002: [wasm] Store function names in the wasm object (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@wasm-offset-table-2
Patch Set: rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium 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("//build/config/android/config.gni") 5 import("//build/config/android/config.gni")
6 import("//build/config/arm.gni") 6 import("//build/config/arm.gni")
7 import("//build/config/mips.gni") 7 import("//build/config/mips.gni")
8 import("//build/config/sanitizers/sanitizers.gni") 8 import("//build/config/sanitizers/sanitizers.gni")
9 9
10 if (is_android) { 10 if (is_android) {
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 defines += [ "V8_TARGET_ARCH_ARM64" ] 206 defines += [ "V8_TARGET_ARCH_ARM64" ]
207 } 207 }
208 if (v8_target_arch == "mipsel") { 208 if (v8_target_arch == "mipsel") {
209 defines += [ "V8_TARGET_ARCH_MIPS" ] 209 defines += [ "V8_TARGET_ARCH_MIPS" ]
210 } 210 }
211 if (v8_target_arch == "mips64el") { 211 if (v8_target_arch == "mips64el") {
212 defines += [ "V8_TARGET_ARCH_MIPS64" ] 212 defines += [ "V8_TARGET_ARCH_MIPS64" ]
213 } 213 }
214 if (v8_target_arch == "s390") { 214 if (v8_target_arch == "s390") {
215 defines += [ "V8_TARGET_ARCH_S390" ] 215 defines += [ "V8_TARGET_ARCH_S390" ]
216 } 216 }
217 if (v8_target_arch == "s390x") { 217 if (v8_target_arch == "s390x") {
218 defines += [ 218 defines += [
219 "V8_TARGET_ARCH_S390", 219 "V8_TARGET_ARCH_S390",
220 "V8_TARGET_ARCH_S390X", 220 "V8_TARGET_ARCH_S390X",
221 ] 221 ]
222 } 222 }
223 if (v8_target_arch == "x86") { 223 if (v8_target_arch == "x86") {
224 defines += [ "V8_TARGET_ARCH_IA32" ] 224 defines += [ "V8_TARGET_ARCH_IA32" ]
225 } 225 }
226 if (v8_target_arch == "x64") { 226 if (v8_target_arch == "x64") {
227 defines += [ "V8_TARGET_ARCH_X64" ] 227 defines += [ "V8_TARGET_ARCH_X64" ]
228 } 228 }
229 229
230 if (is_win) { 230 if (is_win) {
231 defines += [ "WIN32" ] 231 defines += [ "WIN32" ]
232 # TODO(jochen): Support v8_enable_prof. 232 # TODO(jochen): Support v8_enable_prof.
233 } 233 }
234 234
235 # TODO(jochen): Add support for compiling with simulators. 235 # TODO(jochen): Add support for compiling with simulators.
236 236
237 if (is_debug) { 237 if (is_debug) {
238 # TODO(jochen): Add support for different debug optimization levels. 238 # TODO(jochen): Add support for different debug optimization levels.
239 defines += [ 239 defines += [
(...skipping 1178 matching lines...) Expand 10 before | Expand all | Expand 10 after
1418 "src/wasm/decoder.h", 1418 "src/wasm/decoder.h",
1419 "src/wasm/encoder.cc", 1419 "src/wasm/encoder.cc",
1420 "src/wasm/encoder.h", 1420 "src/wasm/encoder.h",
1421 "src/wasm/leb-helper.h", 1421 "src/wasm/leb-helper.h",
1422 "src/wasm/module-decoder.cc", 1422 "src/wasm/module-decoder.cc",
1423 "src/wasm/module-decoder.h", 1423 "src/wasm/module-decoder.h",
1424 "src/wasm/switch-logic.cc", 1424 "src/wasm/switch-logic.cc",
1425 "src/wasm/switch-logic.h", 1425 "src/wasm/switch-logic.h",
1426 "src/wasm/wasm-external-refs.cc", 1426 "src/wasm/wasm-external-refs.cc",
1427 "src/wasm/wasm-external-refs.h", 1427 "src/wasm/wasm-external-refs.h",
1428 "src/wasm/wasm-function-name-table.cc",
1429 "src/wasm/wasm-function-name-table.h",
1428 "src/wasm/wasm-js.cc", 1430 "src/wasm/wasm-js.cc",
1429 "src/wasm/wasm-js.h", 1431 "src/wasm/wasm-js.h",
1430 "src/wasm/wasm-macro-gen.h", 1432 "src/wasm/wasm-macro-gen.h",
1431 "src/wasm/wasm-module.cc", 1433 "src/wasm/wasm-module.cc",
1432 "src/wasm/wasm-module.h", 1434 "src/wasm/wasm-module.h",
1433 "src/wasm/wasm-opcodes.cc", 1435 "src/wasm/wasm-opcodes.cc",
1434 "src/wasm/wasm-opcodes.h", 1436 "src/wasm/wasm-opcodes.h",
1435 "src/wasm/wasm-result.cc", 1437 "src/wasm/wasm-result.cc",
1436 "src/wasm/wasm-result.h", 1438 "src/wasm/wasm-result.h",
1437 "src/zone-allocator.h", 1439 "src/zone-allocator.h",
(...skipping 721 matching lines...) Expand 10 before | Expand all | Expand 10 after
2159 2161
2160 configs -= [ "//build/config/compiler:chromium_code" ] 2162 configs -= [ "//build/config/compiler:chromium_code" ]
2161 configs += [ "//build/config/compiler:no_chromium_code" ] 2163 configs += [ "//build/config/compiler:no_chromium_code" ]
2162 configs += [ 2164 configs += [
2163 ":internal_config", 2165 ":internal_config",
2164 ":libplatform_config", 2166 ":libplatform_config",
2165 ":features", 2167 ":features",
2166 ":toolchain", 2168 ":toolchain",
2167 ] 2169 ]
2168 } 2170 }
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698