| 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 | |
| 229 # ----------------- available targets: -------------------- | 223 # ----------------- available targets: -------------------- |
| 230 # - "grokdump": rebuilds heap constants lists used by grokdump | 224 # - "grokdump": rebuilds heap constants lists used by grokdump |
| 231 # - any arch listed in ARCHES (see below) | 225 # - any arch listed in ARCHES (see below) |
| 232 # - any mode listed in MODES | 226 # - any mode listed in MODES |
| 233 # - every combination <arch>.<mode>, e.g. "ia32.release" | 227 # - every combination <arch>.<mode>, e.g. "ia32.release" |
| 234 # - "native": current host's architecture, release mode | 228 # - "native": current host's architecture, release mode |
| 235 # - any of the above with .check appended, e.g. "ia32.release.check" | 229 # - any of the above with .check appended, e.g. "ia32.release.check" |
| 236 # - "android": cross-compile for Android/ARM | 230 # - "android": cross-compile for Android/ARM |
| 237 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 231 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
| 238 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 232 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
| (...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 # We need to manually set the stack limit here, to work around bugs in | 490 # We need to manually set the stack limit here, to work around bugs in |
| 497 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 491 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
| 498 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 492 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
| 499 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 493 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
| 500 | 494 |
| 501 gtags.clean: | 495 gtags.clean: |
| 502 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 496 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
| 503 | 497 |
| 504 dependencies builddeps: | 498 dependencies builddeps: |
| 505 $(error Use 'gclient sync' instead) | 499 $(error Use 'gclient sync' instead) |
| OLD | NEW |