Chromium Code Reviews| 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 341 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 352 --command-prefix="tools/nacl-run.py" | 352 --command-prefix="tools/nacl-run.py" |
| 353 | 353 |
| 354 $(addsuffix .check, $(NACL_ARCHES)): \ | 354 $(addsuffix .check, $(NACL_ARCHES)): \ |
| 355 $(addprefix $$(basename $$@).,$(MODES)).check | 355 $(addprefix $$(basename $$@).,$(MODES)).check |
| 356 | 356 |
| 357 native.check: native | 357 native.check: native |
| 358 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR)/native \ | 358 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR)/native \ |
| 359 --arch-and-mode=. $(TESTFLAGS) | 359 --arch-and-mode=. $(TESTFLAGS) |
| 360 | 360 |
| 361 FASTTESTMODES = ia32.release,x64.release,ia32.optdebug,x64.optdebug,arm.optdebug | 361 FASTTESTMODES = ia32.release,x64.release,ia32.optdebug,x64.optdebug,arm.optdebug |
| 362 QUICKCHECKMODES = $(FASTTESTMODES),a64.release,a64.optdebug | |
|
Sven Panne
2014/02/18 07:26:49
No need for a separate "make" variable, and +1 for
| |
| 362 | 363 |
| 363 COMMA = , | 364 COMMA = , |
| 364 EMPTY = | 365 EMPTY = |
| 365 SPACE = $(EMPTY) $(EMPTY) | 366 SPACE = $(EMPTY) $(EMPTY) |
| 366 quickcheck: $(subst $(COMMA),$(SPACE),$(FASTTESTMODES)) | 367 quickcheck: $(subst $(COMMA),$(SPACE),$(QUICKCHECKMODES)) |
| 367 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 368 tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 368 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck | 369 --arch-and-mode=$(FASTTESTMODES) $(TESTFLAGS) --quickcheck |
| 369 qc: quickcheck | 370 qc: quickcheck |
| 370 | 371 |
| 371 # Clean targets. You can clean each architecture individually, or everything. | 372 # Clean targets. You can clean each architecture individually, or everything. |
| 372 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): | 373 $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)): |
| 373 rm -f $(OUTDIR)/Makefile.$(basename $@)* | 374 rm -f $(OUTDIR)/Makefile.$(basename $@)* |
| 374 rm -rf $(OUTDIR)/$(basename $@).release | 375 rm -rf $(OUTDIR)/$(basename $@).release |
| 375 rm -rf $(OUTDIR)/$(basename $@).debug | 376 rm -rf $(OUTDIR)/$(basename $@).debug |
| 376 rm -rf $(OUTDIR)/$(basename $@).optdebug | 377 rm -rf $(OUTDIR)/$(basename $@).optdebug |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 440 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 441 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
| 441 | 442 |
| 442 # Dependencies. | 443 # Dependencies. |
| 443 # Remember to keep these in sync with the DEPS file. | 444 # Remember to keep these in sync with the DEPS file. |
| 444 dependencies: | 445 dependencies: |
| 445 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 446 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 446 --revision 1831 | 447 --revision 1831 |
| 447 svn checkout --force \ | 448 svn checkout --force \ |
| 448 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 449 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
| 449 third_party/icu --revision 239289 | 450 third_party/icu --revision 239289 |
| OLD | NEW |