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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 # With this flag set, by default v8 will only use features implied | 195 # With this flag set, by default v8 will only use features implied |
196 # by the compiler (no probe). This is done by modifying the default | 196 # by the compiler (no probe). This is done by modifying the default |
197 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. | 197 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon. |
198 # Modifying these flags when launching v8 will enable the probing for | 198 # Modifying these flags when launching v8 will enable the probing for |
199 # the specified values. | 199 # the specified values. |
200 ifeq ($(arm_test_noprobe), on) | 200 ifeq ($(arm_test_noprobe), on) |
201 GYPFLAGS += -Darm_test_noprobe=on | 201 GYPFLAGS += -Darm_test_noprobe=on |
202 endif | 202 endif |
203 | 203 |
204 # ----------------- available targets: -------------------- | 204 # ----------------- available targets: -------------------- |
205 # - "dependencies": pulls in external dependencies (currently: GYP) | 205 # - "builddeps": pulls in external dependencies for building |
| 206 # - "dependencies": pulls in all external dependencies |
206 # - "grokdump": rebuilds heap constants lists used by grokdump | 207 # - "grokdump": rebuilds heap constants lists used by grokdump |
207 # - any arch listed in ARCHES (see below) | 208 # - any arch listed in ARCHES (see below) |
208 # - any mode listed in MODES | 209 # - any mode listed in MODES |
209 # - every combination <arch>.<mode>, e.g. "ia32.release" | 210 # - every combination <arch>.<mode>, e.g. "ia32.release" |
210 # - "native": current host's architecture, release mode | 211 # - "native": current host's architecture, release mode |
211 # - any of the above with .check appended, e.g. "ia32.release.check" | 212 # - any of the above with .check appended, e.g. "ia32.release.check" |
212 # - "android": cross-compile for Android/ARM | 213 # - "android": cross-compile for Android/ARM |
213 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 214 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
214 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 215 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
215 # - "check": build all targets and run all tests | 216 # - "check": build all targets and run all tests |
(...skipping 27 matching lines...) Expand all Loading... |
243 NACL_BUILDS = $(foreach mode,$(MODES), \ | 244 NACL_BUILDS = $(foreach mode,$(MODES), \ |
244 $(addsuffix .$(mode),$(NACL_ARCHES))) | 245 $(addsuffix .$(mode),$(NACL_ARCHES))) |
245 # Generates corresponding test targets, e.g. "ia32.release.check". | 246 # Generates corresponding test targets, e.g. "ia32.release.check". |
246 CHECKS = $(addsuffix .check,$(BUILDS)) | 247 CHECKS = $(addsuffix .check,$(BUILDS)) |
247 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS)) | 248 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS)) |
248 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) | 249 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) |
249 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) | 250 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) |
250 # File where previously used GYPFLAGS are stored. | 251 # File where previously used GYPFLAGS are stored. |
251 ENVFILE = $(OUTDIR)/environment | 252 ENVFILE = $(OUTDIR)/environment |
252 | 253 |
253 .PHONY: all check clean dependencies $(ENVFILE).new native \ | 254 .PHONY: all check clean builddeps dependencies $(ENVFILE).new native \ |
254 qc quickcheck $(QUICKCHECKS) \ | 255 qc quickcheck $(QUICKCHECKS) \ |
255 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ | 256 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ |
256 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ | 257 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ |
257 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ | 258 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ |
258 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ | 259 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ |
259 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ | 260 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ |
260 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ | 261 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ |
261 must-set-NACL_SDK_ROOT | 262 must-set-NACL_SDK_ROOT |
262 | 263 |
263 # Target definitions. "all" is the default. | 264 # Target definitions. "all" is the default. |
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
454 @find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@ | 455 @find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@ |
455 | 456 |
456 # We need to manually set the stack limit here, to work around bugs in | 457 # We need to manually set the stack limit here, to work around bugs in |
457 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 458 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
458 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 459 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
459 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 460 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
460 | 461 |
461 gtags.clean: | 462 gtags.clean: |
462 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 463 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
463 | 464 |
464 # Dependencies. | 465 # Dependencies. "builddeps" are dependencies required solely for building, |
| 466 # "dependencies" includes also dependencies required for development. |
465 # Remember to keep these in sync with the DEPS file. | 467 # Remember to keep these in sync with the DEPS file. |
466 dependencies: | 468 builddeps: |
467 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 469 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
468 --revision 1831 | 470 --revision 1831 |
469 svn checkout --force \ | 471 svn checkout --force \ |
470 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 472 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
471 third_party/icu --revision 258359 | 473 third_party/icu --revision 258359 |
| 474 |
| 475 dependencies: builddeps |
472 # The spec is a copy of the hooks in v8's DEPS file. | 476 # The spec is a copy of the hooks in v8's DEPS file. |
473 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''}
]" | 477 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 |