File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -1102,7 +1102,9 @@ if (is_mac) {
1102
1102
data += [ " $root_out_dir /resources/default_app.asar" ]
1103
1103
}
1104
1104
1105
- public_deps = [ " //tools/v8_context_snapshot:v8_context_snapshot" ]
1105
+ if (use_v8_context_snapshot ) {
1106
+ public_deps = [ " //tools/v8_context_snapshot:v8_context_snapshot" ]
1107
+ }
1106
1108
1107
1109
if (is_win ) {
1108
1110
sources += [
@@ -1307,10 +1309,13 @@ dist_zip("electron_chromedriver_zip") {
1307
1309
1308
1310
mksnapshot_deps = [
1309
1311
" :licenses" ,
1310
- " //tools/v8_context_snapshot:v8_context_snapshot_generator($v8_snapshot_toolchain )" ,
1311
1312
" //v8:mksnapshot($v8_snapshot_toolchain )" ,
1312
1313
]
1313
1314
1315
+ if (use_v8_context_snapshot ) {
1316
+ mksnapshot_deps += [ " //tools/v8_context_snapshot:v8_context_snapshot_generator($v8_snapshot_toolchain )" ]
1317
+ }
1318
+
1314
1319
group (" electron_mksnapshot" ) {
1315
1320
public_deps = mksnapshot_deps
1316
1321
}
You can’t perform that action at this time.
0 commit comments