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

Unified Diff: Makefile

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
Index: Makefile
diff --git a/Makefile b/Makefile
index a6d4d135da3da11a6ba1fdeeee7e6255c697ca40..80d4f03cbe5279715ad1099bce4044bdba83668a 100644
--- a/Makefile
+++ b/Makefile
@@ -163,6 +163,14 @@ endif
ifeq ($(goma), on)
GYPFLAGS += -Duse_goma=1
endif
+# target_os_page_size=0, when 0 or not specified use build os page size
+ifdef target_os_page_size
+ ifneq ($(target_os_page_size), 0)
+ ifneq ($(snapshot), off)
+ GYPFLAGS += -Dtarget_os_page_size=$(target_os_page_size)
+ endif
+ endif
+endif
# arm specific flags.
# arm_version=<number | "default">
ifneq ($(strip $(arm_version)),)

Powered by Google App Engine
This is Rietveld 408576698