| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 GYPFILES += src/third_party/vtune/v8vtune.gyp | 244 GYPFILES += src/third_party/vtune/v8vtune.gyp |
| 245 endif | 245 endif |
| 246 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". | 246 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". |
| 247 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) | 247 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) |
| 248 ANDROID_BUILDS = $(foreach mode,$(MODES), \ | 248 ANDROID_BUILDS = $(foreach mode,$(MODES), \ |
| 249 $(addsuffix .$(mode),$(ANDROID_ARCHES))) | 249 $(addsuffix .$(mode),$(ANDROID_ARCHES))) |
| 250 NACL_BUILDS = $(foreach mode,$(MODES), \ | 250 NACL_BUILDS = $(foreach mode,$(MODES), \ |
| 251 $(addsuffix .$(mode),$(NACL_ARCHES))) | 251 $(addsuffix .$(mode),$(NACL_ARCHES))) |
| 252 # Generates corresponding test targets, e.g. "ia32.release.check". | 252 # Generates corresponding test targets, e.g. "ia32.release.check". |
| 253 CHECKS = $(addsuffix .check,$(BUILDS)) | 253 CHECKS = $(addsuffix .check,$(BUILDS)) |
| 254 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS)) |
| 254 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) | 255 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) |
| 255 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) | 256 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) |
| 256 # File where previously used GYPFLAGS are stored. | 257 # File where previously used GYPFLAGS are stored. |
| 257 ENVFILE = $(OUTDIR)/environment | 258 ENVFILE = $(OUTDIR)/environment |
| 258 | 259 |
| 259 .PHONY: all check clean dependencies $(ENVFILE).new native \ | 260 .PHONY: all check clean dependencies $(ENVFILE).new native \ |
| 260 qc quickcheck \ | 261 qc quickcheck $(QUICKCHECKS) \ |
| 262 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ |
| 261 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ | 263 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ |
| 262 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ | 264 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ |
| 263 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ | 265 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ |
| 264 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ | 266 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ |
| 265 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ | 267 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ |
| 266 must-set-NACL_SDK_ROOT | 268 must-set-NACL_SDK_ROOT |
| 267 | 269 |
| 268 # Target definitions. "all" is the default. | 270 # Target definitions. "all" is the default. |
| 269 all: $(DEFAULT_MODES) | 271 all: $(DEFAULT_MODES) |
| 270 | 272 |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 --mode=$(basename $@) $(TESTFLAGS) | 331 --mode=$(basename $@) $(TESTFLAGS) |
| 330 | 332 |
| 331 $(addsuffix .check,$(ARCHES)): $$(basename $$@) | 333 $(addsuffix .check,$(ARCHES)): $$(basename $$@) |
| 332 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 334 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 333 --arch=$(basename $@) $(TESTFLAGS) | 335 --arch=$(basename $@) $(TESTFLAGS) |
| 334 | 336 |
| 335 $(CHECKS): $$(basename $$@) | 337 $(CHECKS): $$(basename $$@) |
| 336 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 338 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 337 --arch-and-mode=$(basename $@) $(TESTFLAGS) | 339 --arch-and-mode=$(basename $@) $(TESTFLAGS) |
| 338 | 340 |
| 341 $(addsuffix .quickcheck,$(MODES)): $$(basename $$@) |
| 342 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 343 --mode=$(basename $@) $(TESTFLAGS) --quickcheck |
| 344 |
| 345 $(addsuffix .quickcheck,$(ARCHES)): $$(basename $$@) |
| 346 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 347 --arch=$(basename $@) $(TESTFLAGS) --quickcheck |
| 348 |
| 349 $(QUICKCHECKS): $$(basename $$@) |
| 350 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 351 --arch-and-mode=$(basename $@) $(TESTFLAGS) --quickcheck |
| 352 |
| 339 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@) | 353 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@) |
| 340 @tools/android-sync.sh $(basename $@) $(OUTDIR) \ | 354 @tools/android-sync.sh $(basename $@) $(OUTDIR) \ |
| 341 $(shell pwd) $(ANDROID_V8) | 355 $(shell pwd) $(ANDROID_V8) |
| 342 | 356 |
| 343 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync | 357 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync |
| 344 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 358 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 345 --arch-and-mode=$(basename $@) \ | 359 --arch-and-mode=$(basename $@) \ |
| 346 --timeout=600 \ | 360 --timeout=600 \ |
| 347 --command-prefix="tools/android-run.py" $(TESTFLAGS) | 361 --command-prefix="tools/android-run.py" $(TESTFLAGS) |
| 348 | 362 |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 459 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
| 446 | 460 |
| 447 # Dependencies. | 461 # Dependencies. |
| 448 # Remember to keep these in sync with the DEPS file. | 462 # Remember to keep these in sync with the DEPS file. |
| 449 dependencies: | 463 dependencies: |
| 450 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 464 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 451 --revision 1831 | 465 --revision 1831 |
| 452 svn checkout --force \ | 466 svn checkout --force \ |
| 453 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 467 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
| 454 third_party/icu --revision 239289 | 468 third_party/icu --revision 239289 |
| OLD | NEW |