| Index: BUILD.gn
|
| diff --git a/BUILD.gn b/BUILD.gn
|
| index 2caf0c0fc391a3f05ba65f7f8889acbb3dca1606..2fe4579f15e73e132de3f4f652642ec52f519229 100644
|
| --- a/BUILD.gn
|
| +++ b/BUILD.gn
|
| @@ -976,8 +976,14 @@ executable("mksnapshot") {
|
| ":v8_nosnapshot",
|
| ]
|
|
|
| + libs = []
|
| +
|
| if (v8_compress_startup_data == "bz2") {
|
| - libs = [ "bz2" ]
|
| + libs += [ "bz2" ]
|
| + }
|
| +
|
| + if (is_android && current_toolchain != host_toolchain) {
|
| + libs += [ "log" ]
|
| }
|
| }
|
|
|
| @@ -1004,10 +1010,6 @@ component("v8") {
|
| ]
|
| }
|
|
|
| - if (is_android && current_toolchain != host_toolchain) {
|
| - libs = [ "log" ]
|
| - }
|
| -
|
| configs -= [ "//build/config/compiler:chromium_code" ]
|
| configs += [ "//build/config/compiler:no_chromium_code" ]
|
| configs += [ ":internal_config", ":features", ":toolchain" ]
|
|
|