Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(989)

Side by Side Diff: Makefile

Issue 181013014: Add quickcheck targets for modes, builds and arches. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Ditch mips.optdebug change. Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 GYPFILES += src/third_party/vtune/v8vtune.gyp 240 GYPFILES += src/third_party/vtune/v8vtune.gyp
241 endif 241 endif
242 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". 242 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release".
243 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) 243 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES)))
244 ANDROID_BUILDS = $(foreach mode,$(MODES), \ 244 ANDROID_BUILDS = $(foreach mode,$(MODES), \
245 $(addsuffix .$(mode),$(ANDROID_ARCHES))) 245 $(addsuffix .$(mode),$(ANDROID_ARCHES)))
246 NACL_BUILDS = $(foreach mode,$(MODES), \ 246 NACL_BUILDS = $(foreach mode,$(MODES), \
247 $(addsuffix .$(mode),$(NACL_ARCHES))) 247 $(addsuffix .$(mode),$(NACL_ARCHES)))
248 # Generates corresponding test targets, e.g. "ia32.release.check". 248 # Generates corresponding test targets, e.g. "ia32.release.check".
249 CHECKS = $(addsuffix .check,$(BUILDS)) 249 CHECKS = $(addsuffix .check,$(BUILDS))
250 QUICKCHECKS = $(addsuffix .quickcheck,$(BUILDS))
250 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) 251 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS))
251 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS)) 252 NACL_CHECKS = $(addsuffix .check,$(NACL_BUILDS))
252 # File where previously used GYPFLAGS are stored. 253 # File where previously used GYPFLAGS are stored.
253 ENVFILE = $(OUTDIR)/environment 254 ENVFILE = $(OUTDIR)/environment
254 255
255 .PHONY: all check clean dependencies $(ENVFILE).new native \ 256 .PHONY: all check clean dependencies $(ENVFILE).new native \
256 qc quickcheck \ 257 qc quickcheck $(QUICKCHECKS) \
258 $(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \
257 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \ 259 $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \
258 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \ 260 $(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES)) \
259 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \ 261 $(ANDROID_ARCHES) $(ANDROID_BUILDS) $(ANDROID_CHECKS) \
260 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \ 262 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN \
261 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \ 263 $(NACL_ARCHES) $(NACL_BUILDS) $(NACL_CHECKS) \
262 must-set-NACL_SDK_ROOT 264 must-set-NACL_SDK_ROOT
263 265
264 # Target definitions. "all" is the default. 266 # Target definitions. "all" is the default.
265 all: $(DEFAULT_MODES) 267 all: $(DEFAULT_MODES)
266 268
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 --mode=$(basename $@) $(TESTFLAGS) 327 --mode=$(basename $@) $(TESTFLAGS)
326 328
327 $(addsuffix .check,$(ARCHES)): $$(basename $$@) 329 $(addsuffix .check,$(ARCHES)): $$(basename $$@)
328 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ 330 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
329 --arch=$(basename $@) $(TESTFLAGS) 331 --arch=$(basename $@) $(TESTFLAGS)
330 332
331 $(CHECKS): $$(basename $$@) 333 $(CHECKS): $$(basename $$@)
332 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ 334 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
333 --arch-and-mode=$(basename $@) $(TESTFLAGS) 335 --arch-and-mode=$(basename $@) $(TESTFLAGS)
334 336
337 $(addsuffix .quickcheck,$(MODES)): $$(basename $$@)
338 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
339 --mode=$(basename $@) $(TESTFLAGS) --quickcheck
340
341 $(addsuffix .quickcheck,$(ARCHES)): $$(basename $$@)
342 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
343 --arch=$(basename $@) $(TESTFLAGS) --quickcheck
344
345 $(QUICKCHECKS): $$(basename $$@)
346 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
347 --arch-and-mode=$(basename $@) $(TESTFLAGS) --quickcheck
348
335 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@) 349 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@)
336 @tools/android-sync.sh $(basename $@) $(OUTDIR) \ 350 @tools/android-sync.sh $(basename $@) $(OUTDIR) \
337 $(shell pwd) $(ANDROID_V8) 351 $(shell pwd) $(ANDROID_V8)
338 352
339 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync 353 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync
340 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ 354 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \
341 --arch-and-mode=$(basename $@) \ 355 --arch-and-mode=$(basename $@) \
342 --timeout=600 \ 356 --timeout=600 \
343 --command-prefix="tools/android-run.py" $(TESTFLAGS) 357 --command-prefix="tools/android-run.py" $(TESTFLAGS)
344 358
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) 455 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
442 456
443 # Dependencies. 457 # Dependencies.
444 # Remember to keep these in sync with the DEPS file. 458 # Remember to keep these in sync with the DEPS file.
445 dependencies: 459 dependencies:
446 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 460 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
447 --revision 1831 461 --revision 1831
448 svn checkout --force \ 462 svn checkout --force \
449 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ 463 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
450 third_party/icu --revision 239289 464 third_party/icu --revision 239289
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698