Fix v8's GN v86 build.
This got out-of-sync with some GYP changes. Also makes it compile on Windows. R=jochen@chromium.org Review URL: https://codereview.chromium.org/548713002 Patch from Brett Wilson <brettw@chromium.org>. git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23770 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
e9b3c336e6
commit
4ad3760dff
6
BUILD.gn
6
BUILD.gn
@ -907,7 +907,7 @@ source_set("v8_base") {
|
||||
"src/compiler/ia32/instruction-selector-ia32.cc",
|
||||
"src/compiler/ia32/linkage-ia32.cc",
|
||||
"src/ic/ia32/ic-ia32.cc",
|
||||
"src/ic/ia32/handler-ia32.cc",
|
||||
"src/ic/ia32/ic-compiler-ia32.cc",
|
||||
"src/ic/ia32/stub-cache-ia32.cc",
|
||||
]
|
||||
} else if (v8_target_arch == "x64") {
|
||||
@ -1126,6 +1126,10 @@ source_set("v8_base") {
|
||||
defines = []
|
||||
deps = [ ":v8_libbase" ]
|
||||
|
||||
if (is_win) {
|
||||
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
|
||||
cflags = [ "/wd4267" ]
|
||||
}
|
||||
if (is_linux) {
|
||||
if (v8_compress_startup_data == "bz2") {
|
||||
libs += [ "bz2" ]
|
||||
|
Loading…
Reference in New Issue
Block a user