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 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 # Modifying these flags when launching v8 will enable the probing for | 220 # Modifying these flags when launching v8 will enable the probing for |
221 # the specified values. | 221 # the specified values. |
222 ifeq ($(arm_test_noprobe), on) | 222 ifeq ($(arm_test_noprobe), on) |
223 GYPFLAGS += -Darm_test_noprobe=on | 223 GYPFLAGS += -Darm_test_noprobe=on |
224 endif | 224 endif |
225 # Do not omit the frame pointer, needed for profiling with perf | 225 # Do not omit the frame pointer, needed for profiling with perf |
226 ifeq ($(no_omit_framepointer), on) | 226 ifeq ($(no_omit_framepointer), on) |
227 GYPFLAGS += -Drelease_extra_cflags=-fno-omit-frame-pointer | 227 GYPFLAGS += -Drelease_extra_cflags=-fno-omit-frame-pointer |
228 endif | 228 endif |
229 | 229 |
| 230 ifdef android_ndk_root |
| 231 GYPFLAGS += -Dandroid_ndk_root=$(android_ndk_root) |
| 232 export ANDROID_NDK_ROOT = $(android_ndk_root) |
| 233 endif |
| 234 |
230 # ----------------- available targets: -------------------- | 235 # ----------------- available targets: -------------------- |
231 # - "grokdump": rebuilds heap constants lists used by grokdump | 236 # - "grokdump": rebuilds heap constants lists used by grokdump |
232 # - any arch listed in ARCHES (see below) | 237 # - any arch listed in ARCHES (see below) |
233 # - any mode listed in MODES | 238 # - any mode listed in MODES |
234 # - every combination <arch>.<mode>, e.g. "ia32.release" | 239 # - every combination <arch>.<mode>, e.g. "ia32.release" |
235 # - "native": current host's architecture, release mode | 240 # - "native": current host's architecture, release mode |
236 # - any of the above with .check appended, e.g. "ia32.release.check" | 241 # - any of the above with .check appended, e.g. "ia32.release.check" |
237 # - "android": cross-compile for Android/ARM | 242 # - "android": cross-compile for Android/ARM |
238 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 243 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
239 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 244 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
498 # We need to manually set the stack limit here, to work around bugs in | 503 # We need to manually set the stack limit here, to work around bugs in |
499 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 504 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
500 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 505 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
501 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 506 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
502 | 507 |
503 gtags.clean: | 508 gtags.clean: |
504 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 509 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
505 | 510 |
506 dependencies builddeps: | 511 dependencies builddeps: |
507 $(error Use 'gclient sync' instead) | 512 $(error Use 'gclient sync' instead) |
OLD | NEW |