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