@@ -641,12 +641,18 @@ action("run_mksnapshot") {
641641
642642source_set (" v8_maybe_snapshot" ) {
643643 if (v8_use_snapshot && v8_use_external_startup_data ) {
644- public_deps = [ " :v8_external_snapshot" ]
644+ public_deps = [
645+ " :v8_external_snapshot" ,
646+ ]
645647 } else if (v8_use_snapshot ) {
646- public_deps = [ " :v8_snapshot" ]
648+ public_deps = [
649+ " :v8_snapshot" ,
650+ ]
647651 } else {
648652 assert (! v8_use_external_startup_data )
649- public_deps = [ " :v8_nosnapshot" ]
653+ public_deps = [
654+ " :v8_nosnapshot" ,
655+ ]
650656 }
651657}
652658
@@ -1886,6 +1892,8 @@ v8_source_set("v8_libbase") {
18861892 " src/base/cpu.h" ,
18871893 " src/base/division-by-constant.cc" ,
18881894 " src/base/division-by-constant.h" ,
1895+ " src/base/file-utils.cc" ,
1896+ " src/base/file-utils.h" ,
18891897 " src/base/flags.h" ,
18901898 " src/base/format-macros.h" ,
18911899 " src/base/functional.cc" ,
@@ -2065,11 +2073,11 @@ if (current_toolchain == v8_snapshot_toolchain) {
20652073# Public targets
20662074#
20672075
2068- want_v8_shell = (
2076+ want_v8_shell =
20692077 (current_toolchain == host_toolchain && v8_toolset_for_shell == " host" ) ||
20702078 (current_toolchain == v8_snapshot_toolchain &&
20712079 v8_toolset_for_shell == " host" ) ||
2072- (current_toolchain != host_toolchain && v8_toolset_for_shell == " target" ))
2080+ (current_toolchain != host_toolchain && v8_toolset_for_shell == " target" )
20732081
20742082group (" gn_all" ) {
20752083 testonly = true
@@ -2079,22 +2087,18 @@ group("gn_all") {
20792087 " :v8_simple_json_fuzzer" ,
20802088 " :v8_simple_parser_fuzzer" ,
20812089 " :v8_simple_regexp_fuzzer" ,
2082- " :v8_simple_wasm_fuzzer" ,
20832090 " :v8_simple_wasm_asmjs_fuzzer" ,
2091+ " :v8_simple_wasm_fuzzer" ,
20842092 " test:gn_all" ,
20852093 " tools:gn_all" ,
20862094 ]
20872095
20882096 if (want_v8_shell ) {
2089- deps += [
2090- " :v8_shell" ,
2091- ]
2097+ deps += [ " :v8_shell" ]
20922098 }
20932099
20942100 if (v8_test_isolation_mode != " noop" ) {
2095- deps += [
2096- " :d8_run" ,
2097- ]
2101+ deps += [ " :d8_run" ]
20982102 }
20992103}
21002104
@@ -2234,7 +2238,8 @@ v8_source_set("json_fuzzer") {
22342238 configs = [ " :internal_config" ]
22352239}
22362240
2237- v8_fuzzer (" json_fuzzer" ) {}
2241+ v8_fuzzer (" json_fuzzer" ) {
2242+ }
22382243
22392244v8_source_set (" parser_fuzzer" ) {
22402245 sources = [
@@ -2248,7 +2253,8 @@ v8_source_set("parser_fuzzer") {
22482253 configs = [ " :internal_config" ]
22492254}
22502255
2251- v8_fuzzer (" parser_fuzzer" ) {}
2256+ v8_fuzzer (" parser_fuzzer" ) {
2257+ }
22522258
22532259v8_source_set (" regexp_fuzzer" ) {
22542260 sources = [
@@ -2262,7 +2268,8 @@ v8_source_set("regexp_fuzzer") {
22622268 configs = [ " :internal_config" ]
22632269}
22642270
2265- v8_fuzzer (" regexp_fuzzer" ) {}
2271+ v8_fuzzer (" regexp_fuzzer" ) {
2272+ }
22662273
22672274v8_source_set (" wasm_fuzzer" ) {
22682275 sources = [
@@ -2276,7 +2283,8 @@ v8_source_set("wasm_fuzzer") {
22762283 configs = [ " :internal_config" ]
22772284}
22782285
2279- v8_fuzzer (" wasm_fuzzer" ) {}
2286+ v8_fuzzer (" wasm_fuzzer" ) {
2287+ }
22802288
22812289v8_source_set (" wasm_asmjs_fuzzer" ) {
22822290 sources = [
@@ -2290,4 +2298,5 @@ v8_source_set("wasm_asmjs_fuzzer") {
22902298 configs = [ " :internal_config" ]
22912299}
22922300
2293- v8_fuzzer (" wasm_asmjs_fuzzer" ) {}
2301+ v8_fuzzer (" wasm_asmjs_fuzzer" ) {
2302+ }
0 commit comments