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 202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 # arm_test_noprobe=on | 213 # arm_test_noprobe=on |
214 # With this flag set, by default v8 will only use features implied | 214 # With this flag set, by default v8 will only use features implied |
215 # by the compiler (no probe). This is done by modifying the default | 215 # by the compiler (no probe). This is done by modifying the default |
216 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. | 216 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. |
217 # Modifying these flags when launching v8 will enable the probing for | 217 # Modifying these flags when launching v8 will enable the probing for |
218 # the specified values. | 218 # the specified values. |
219 ifeq ($(arm_test_noprobe), on) | 219 ifeq ($(arm_test_noprobe), on) |
220 GYPFLAGS += -Darm_test_noprobe=on | 220 GYPFLAGS += -Darm_test_noprobe=on |
221 endif | 221 endif |
222 | 222 |
| 223 # Optionally enable wasm prototype. |
| 224 # Assume you've placed a link to v8-native-prototype in third_party/wasm. |
| 225 ifeq ($(wasm), on) |
| 226 GYPFLAGS += -Dv8_wasm=1 |
| 227 endif |
| 228 |
223 # ----------------- available targets: -------------------- | 229 # ----------------- available targets: -------------------- |
224 # - "grokdump": rebuilds heap constants lists used by grokdump | 230 # - "grokdump": rebuilds heap constants lists used by grokdump |
225 # - any arch listed in ARCHES (see below) | 231 # - any arch listed in ARCHES (see below) |
226 # - any mode listed in MODES | 232 # - any mode listed in MODES |
227 # - every combination <arch>.<mode>, e.g. "ia32.release" | 233 # - every combination <arch>.<mode>, e.g. "ia32.release" |
228 # - "native": current host's architecture, release mode | 234 # - "native": current host's architecture, release mode |
229 # - any of the above with .check appended, e.g. "ia32.release.check" | 235 # - any of the above with .check appended, e.g. "ia32.release.check" |
230 # - "android": cross-compile for Android/ARM | 236 # - "android": cross-compile for Android/ARM |
231 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 237 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
232 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 238 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
490 # We need to manually set the stack limit here, to work around bugs in | 496 # We need to manually set the stack limit here, to work around bugs in |
491 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 497 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
492 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 498 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
493 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 499 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
494 | 500 |
495 gtags.clean: | 501 gtags.clean: |
496 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 502 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
497 | 503 |
498 dependencies builddeps: | 504 dependencies builddeps: |
499 $(error Use 'gclient sync' instead) | 505 $(error Use 'gclient sync' instead) |
OLD | NEW |