| Index: BUILD.gn | 
| diff --git a/BUILD.gn b/BUILD.gn | 
| index 2311ad70fb6099b7090181e15f580682ac1b156a..1782d1f5d0ff0f04f213b29d266412b721b33506 100644 | 
| --- a/BUILD.gn | 
| +++ b/BUILD.gn | 
| @@ -65,6 +65,9 @@ declare_args() { | 
| # Switches off inlining in V8. | 
| v8_no_inline = false | 
|  | 
| +  # Override os page size when generating snapshot | 
| +  v8_os_page_size = "0" | 
| + | 
| # Similar to vfp but on MIPS. | 
| v8_can_use_fpu_instructions = true | 
|  | 
| @@ -671,6 +674,13 @@ action("run_mksnapshot") { | 
| ] | 
| } | 
|  | 
| +  if (v8_os_page_size != "0") { | 
| +    args += [ | 
| +      "--v8_os_page_size", | 
| +      v8_os_page_size, | 
| +    ] | 
| +  } | 
| + | 
| if (v8_use_external_startup_data) { | 
| outputs += [ "$root_out_dir/snapshot_blob.bin" ] | 
| args += [ | 
|  |