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 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 # With this flag set, by default v8 will only use features implied | 204 # With this flag set, by default v8 will only use features implied |
205 # by the compiler (no probe). This is done by modifying the default | 205 # by the compiler (no probe). This is done by modifying the default |
206 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. | 206 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. |
207 # Modifying these flags when launching v8 will enable the probing for | 207 # Modifying these flags when launching v8 will enable the probing for |
208 # the specified values. | 208 # the specified values. |
209 ifeq ($(arm_test_noprobe), on) | 209 ifeq ($(arm_test_noprobe), on) |
210 GYPFLAGS += -Darm_test_noprobe=on | 210 GYPFLAGS += -Darm_test_noprobe=on |
211 endif | 211 endif |
212 | 212 |
213 # ----------------- available targets: -------------------- | 213 # ----------------- available targets: -------------------- |
| 214 # - "builddeps": pulls in external dependencies for building |
| 215 # - "dependencies": pulls in all external dependencies |
214 # - "grokdump": rebuilds heap constants lists used by grokdump | 216 # - "grokdump": rebuilds heap constants lists used by grokdump |
215 # - any arch listed in ARCHES (see below) | 217 # - any arch listed in ARCHES (see below) |
216 # - any mode listed in MODES | 218 # - any mode listed in MODES |
217 # - every combination <arch>.<mode>, e.g. "ia32.release" | 219 # - every combination <arch>.<mode>, e.g. "ia32.release" |
218 # - "native": current host's architecture, release mode | 220 # - "native": current host's architecture, release mode |
219 # - any of the above with .check appended, e.g. "ia32.release.check" | 221 # - any of the above with .check appended, e.g. "ia32.release.check" |
220 # - "android": cross-compile for Android/ARM | 222 # - "android": cross-compile for Android/ARM |
221 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 223 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
222 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 224 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
223 # - "check": build all targets and run all tests | 225 # - "check": build all targets and run all tests |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 @find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@ | 479 @find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@ |
478 | 480 |
479 # We need to manually set the stack limit here, to work around bugs in | 481 # We need to manually set the stack limit here, to work around bugs in |
480 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 482 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
481 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 483 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
482 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 484 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
483 | 485 |
484 gtags.clean: | 486 gtags.clean: |
485 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 487 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
486 | 488 |
487 dependencies builddeps: | 489 # Dependencies. "builddeps" are dependencies required solely for building, |
488 » $(error Use 'gclient sync' instead) | 490 # "dependencies" includes also dependencies required for development. |
| 491 # Remember to keep these in sync with the DEPS file. |
| 492 builddeps: |
| 493 » svn checkout --force https://gyp.googlecode.com/svn/trunk build/gyp \ |
| 494 » --revision 1831 |
| 495 » if svn info third_party/icu 2>&1 | grep -q icu46 ; then \ |
| 496 » svn switch --force \ |
| 497 » https://src.chromium.org/chrome/trunk/deps/third_party/icu52 \ |
| 498 » third_party/icu --revision 277999 ; \ |
| 499 » else \ |
| 500 » svn checkout --force \ |
| 501 » https://src.chromium.org/chrome/trunk/deps/third_party/icu52 \ |
| 502 » third_party/icu --revision 277999 ; \ |
| 503 » fi |
| 504 » svn checkout --force https://googletest.googlecode.com/svn/trunk \ |
| 505 » testing/gtest --revision 692 |
| 506 » svn checkout --force https://googlemock.googlecode.com/svn/trunk \ |
| 507 » testing/gmock --revision 485 |
| 508 |
| 509 dependencies: builddeps |
| 510 » # The spec is a copy of the hooks in v8's DEPS file. |
| 511 » gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutio
ns = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.goo
glesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u
'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_
storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium-
clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_
format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_
resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u
'-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pat
tern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platf
orm=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools
/linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''}
]" |
OLD | NEW |