Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(42)

Unified Diff: BUILD.gn

Issue 2488403003: Add v8_os_page_size flag for cross compilation (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Makefile » ('j') | src/deoptimizer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index 2311ad70fb6099b7090181e15f580682ac1b156a..9bcfb089efabbe1c227662a4a5532d6655e4a934 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
+ target_os_page_size = "0"
Michael Lippautz 2016/11/14 09:24:43 I'd make this v8_target_os_page_size. Not sure we
Michael Achenbach 2016/11/14 09:59:01 Yes, please add a v8_ prefix. I don't care about t
+
# Similar to vfp but on MIPS.
v8_can_use_fpu_instructions = true
@@ -671,6 +674,13 @@ action("run_mksnapshot") {
]
}
+ if (target_os_page_size != "0") {
+ args += [
+ "--target_os_page_size",
+ target_os_page_size,
+ ]
+ }
+
if (v8_use_external_startup_data) {
outputs += [ "$root_out_dir/snapshot_blob.bin" ]
args += [
« no previous file with comments | « no previous file | Makefile » ('j') | src/deoptimizer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698