OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 endif | 156 endif |
157 ifdef embedscript | 157 ifdef embedscript |
158 GYPFLAGS += -Dembed_script=$(embedscript) | 158 GYPFLAGS += -Dembed_script=$(embedscript) |
159 endif | 159 endif |
160 ifdef warmupscript | 160 ifdef warmupscript |
161 GYPFLAGS += -Dwarmup_script=$(warmupscript) | 161 GYPFLAGS += -Dwarmup_script=$(warmupscript) |
162 endif | 162 endif |
163 ifeq ($(goma), on) | 163 ifeq ($(goma), on) |
164 GYPFLAGS += -Duse_goma=1 | 164 GYPFLAGS += -Duse_goma=1 |
165 endif | 165 endif |
| 166 # v8_os_page_size=0, when 0 or not specified use build OS page size |
| 167 ifdef v8_os_page_size |
| 168 ifneq ($(v8_os_page_size), 0) |
| 169 ifneq ($(snapshot), off) |
| 170 GYPFLAGS += -Dv8_os_page_size=$(v8_os_page_size) |
| 171 endif |
| 172 endif |
| 173 endif |
166 # arm specific flags. | 174 # arm specific flags. |
167 # arm_version=<number | "default"> | 175 # arm_version=<number | "default"> |
168 ifneq ($(strip $(arm_version)),) | 176 ifneq ($(strip $(arm_version)),) |
169 GYPFLAGS += -Darm_version=$(arm_version) | 177 GYPFLAGS += -Darm_version=$(arm_version) |
170 else | 178 else |
171 # Deprecated (use arm_version instead): armv7=false/true | 179 # Deprecated (use arm_version instead): armv7=false/true |
172 ifeq ($(armv7), false) | 180 ifeq ($(armv7), false) |
173 GYPFLAGS += -Darm_version=6 | 181 GYPFLAGS += -Darm_version=6 |
174 else | 182 else |
175 ifeq ($(armv7), true) | 183 ifeq ($(armv7), true) |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 tags: gtags.files $(wildcard $(shell cat gtags.files 2> /dev/null)) | 486 tags: gtags.files $(wildcard $(shell cat gtags.files 2> /dev/null)) |
479 @(ctags --version | grep 'Exuberant Ctags' >/dev/null) || \ | 487 @(ctags --version | grep 'Exuberant Ctags' >/dev/null) || \ |
480 (echo "Please install Exuberant Ctags (check 'ctags --version')"
>&2; false) | 488 (echo "Please install Exuberant Ctags (check 'ctags --version')"
>&2; false) |
481 ctags --fields=+l -L $< | 489 ctags --fields=+l -L $< |
482 | 490 |
483 tags.clean: | 491 tags.clean: |
484 rm -r tags | 492 rm -r tags |
485 | 493 |
486 dependencies builddeps: | 494 dependencies builddeps: |
487 $(error Use 'gclient sync' instead) | 495 $(error Use 'gclient sync' instead) |
OLD | NEW |