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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 216 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
217 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 217 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
218 # - "check": build all targets and run all tests | 218 # - "check": build all targets and run all tests |
219 # - "<arch>.clean" for any <arch> in ARCHES | 219 # - "<arch>.clean" for any <arch> in ARCHES |
220 # - "clean": clean all ARCHES | 220 # - "clean": clean all ARCHES |
221 | 221 |
222 # ----------------- internal stuff ------------------------ | 222 # ----------------- internal stuff ------------------------ |
223 | 223 |
224 # Architectures and modes to be compiled. Consider these to be internal | 224 # Architectures and modes to be compiled. Consider these to be internal |
225 # variables, don't override them (use the targets instead). | 225 # variables, don't override them (use the targets instead). |
226 ARCHES = ia32 x64 arm a64 mipsel | 226 ARCHES = ia32 x64 arm arm64 mipsel |
227 DEFAULT_ARCHES = ia32 x64 arm | 227 DEFAULT_ARCHES = ia32 x64 arm |
228 MODES = release debug optdebug | 228 MODES = release debug optdebug |
229 DEFAULT_MODES = release debug | 229 DEFAULT_MODES = release debug |
230 ANDROID_ARCHES = android_ia32 android_arm android_a64 android_mipsel | 230 ANDROID_ARCHES = android_ia32 android_arm android_arm64 android_mipsel |
231 NACL_ARCHES = nacl_ia32 nacl_x64 | 231 NACL_ARCHES = nacl_ia32 nacl_x64 |
232 | 232 |
233 # List of files that trigger Makefile regeneration: | 233 # List of files that trigger Makefile regeneration: |
234 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ | 234 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ |
235 build/toolchain.gypi samples/samples.gyp src/d8.gyp \ | 235 build/toolchain.gypi samples/samples.gyp src/d8.gyp \ |
236 test/cctest/cctest.gyp tools/gyp/v8.gyp | 236 test/cctest/cctest.gyp tools/gyp/v8.gyp |
237 | 237 |
238 # If vtunejit=on, the v8vtune.gyp will be appended. | 238 # If vtunejit=on, the v8vtune.gyp will be appended. |
239 ifeq ($(vtunejit), on) | 239 ifeq ($(vtunejit), on) |
240 GYPFILES += src/third_party/vtune/v8vtune.gyp | 240 GYPFILES += src/third_party/vtune/v8vtune.gyp |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 --command-prefix="tools/nacl-run.py" | 366 --command-prefix="tools/nacl-run.py" |
367 | 367 |
368 $(addsuffix .check, $(NACL_ARCHES)): \ | 368 $(addsuffix .check, $(NACL_ARCHES)): \ |
369 $(addprefix $$(basename $$@).,$(MODES)).check | 369 $(addprefix $$(basename $$@).,$(MODES)).check |
370 | 370 |
371 native.check: native | 371 native.check: native |
372 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR)/native \ | 372 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR)/native \ |
373 --arch-and-mode=. $(TESTFLAGS) | 373 --arch-and-mode=. $(TESTFLAGS) |
374 | 374 |
375 SUPERFASTTESTMODES = ia32.release | 375 SUPERFASTTESTMODES = ia32.release |
376 FASTTESTMODES = $(SUPERFASTTESTMODES),x64.release,ia32.optdebug,x64.optdebug,arm
.optdebug,a64.release | 376 FASTTESTMODES = $(SUPERFASTTESTMODES),x64.release,ia32.optdebug,x64.optdebug,arm
.optdebug,arm64.release |
377 FASTCOMPILEMODES = $(FASTTESTMODES),a64.optdebug | 377 FASTCOMPILEMODES = $(FASTTESTMODES),arm64.optdebug |
378 | 378 |
379 COMMA = , | 379 COMMA = , |
380 EMPTY = | 380 EMPTY = |
381 SPACE = $(EMPTY) $(EMPTY) | 381 SPACE = $(EMPTY) $(EMPTY) |
382 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTCOMPILEMODES)) | 382 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTCOMPILEMODES)) |
383 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 383 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
384 --arch-and-mode=$(SUPERFASTTESTMODES) $(TESTFLAGS) --quickcheck \ | 384 --arch-and-mode=$(SUPERFASTTESTMODES) $(TESTFLAGS) --quickcheck \ |
385 --download-data mozilla webkit | 385 --download-data mozilla webkit |
386 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 386 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
387 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck | 387 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 459 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
460 | 460 |
461 # Dependencies. | 461 # Dependencies. |
462 # Remember to keep these in sync with the DEPS file. | 462 # Remember to keep these in sync with the DEPS file. |
463 dependencies: | 463 dependencies: |
464 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 464 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
465 --revision 1831 | 465 --revision 1831 |
466 svn checkout --force \ | 466 svn checkout --force \ |
467 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 467 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
468 third_party/icu --revision 239289 | 468 third_party/icu --revision 239289 |
OLD | NEW |