| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 # Architectures and modes to be compiled. Consider these to be internal | 215 # Architectures and modes to be compiled. Consider these to be internal |
| 216 # variables, don't override them (use the targets instead). | 216 # variables, don't override them (use the targets instead). |
| 217 ARCHES = ia32 x64 arm a64 mipsel | 217 ARCHES = ia32 x64 arm a64 mipsel |
| 218 DEFAULT_ARCHES = ia32 x64 arm | 218 DEFAULT_ARCHES = ia32 x64 arm |
| 219 MODES = release debug | 219 MODES = release debug |
| 220 ANDROID_ARCHES = android_ia32 android_arm android_a64 android_mipsel | 220 ANDROID_ARCHES = android_ia32 android_arm android_a64 android_mipsel |
| 221 NACL_ARCHES = nacl_ia32 nacl_x64 | 221 NACL_ARCHES = nacl_ia32 nacl_x64 |
| 222 | 222 |
| 223 # List of files that trigger Makefile regeneration: | 223 # List of files that trigger Makefile regeneration: |
| 224 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ | 224 GYPFILES = build/all.gyp build/features.gypi build/standalone.gypi \ |
| 225 » build/toolchain.gypi preparser/preparser.gyp samples/samples.gyp \ | 225 build/toolchain.gypi samples/samples.gyp src/d8.gyp \ |
| 226 » src/d8.gyp test/cctest/cctest.gyp tools/gyp/v8.gyp | 226 test/cctest/cctest.gyp tools/gyp/v8.gyp |
| 227 | 227 |
| 228 # If vtunejit=on, the v8vtune.gyp will be appended. | 228 # If vtunejit=on, the v8vtune.gyp will be appended. |
| 229 ifeq ($(vtunejit), on) | 229 ifeq ($(vtunejit), on) |
| 230 GYPFILES += src/third_party/vtune/v8vtune.gyp | 230 GYPFILES += src/third_party/vtune/v8vtune.gyp |
| 231 endif | 231 endif |
| 232 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". | 232 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". |
| 233 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) | 233 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) |
| 234 ANDROID_BUILDS = $(foreach mode,$(MODES), \ | 234 ANDROID_BUILDS = $(foreach mode,$(MODES), \ |
| 235 $(addsuffix .$(mode),$(ANDROID_ARCHES))) | 235 $(addsuffix .$(mode),$(ANDROID_ARCHES))) |
| 236 NACL_BUILDS = $(foreach mode,$(MODES), \ | 236 NACL_BUILDS = $(foreach mode,$(MODES), \ |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 --arch-and-mode=$(basename $@) $(TESTFLAGS) | 321 --arch-and-mode=$(basename $@) $(TESTFLAGS) |
| 322 | 322 |
| 323 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@) | 323 $(addsuffix .sync, $(ANDROID_BUILDS)): $$(basename $$@) |
| 324 @tools/android-sync.sh $(basename $@) $(OUTDIR) \ | 324 @tools/android-sync.sh $(basename $@) $(OUTDIR) \ |
| 325 $(shell pwd) $(ANDROID_V8) | 325 $(shell pwd) $(ANDROID_V8) |
| 326 | 326 |
| 327 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync | 327 $(addsuffix .check, $(ANDROID_BUILDS)): $$(basename $$@).sync |
| 328 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 328 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 329 --arch-and-mode=$(basename $@) \ | 329 --arch-and-mode=$(basename $@) \ |
| 330 --timeout=600 \ | 330 --timeout=600 \ |
| 331 » --command-prefix="tools/android-run.py" | 331 » --command-prefix="tools/android-run.py" $(TESTFLAGS) |
| 332 | 332 |
| 333 $(addsuffix .check, $(ANDROID_ARCHES)): \ | 333 $(addsuffix .check, $(ANDROID_ARCHES)): \ |
| 334 $(addprefix $$(basename $$@).,$(MODES)).check | 334 $(addprefix $$(basename $$@).,$(MODES)).check |
| 335 | 335 |
| 336 $(addsuffix .check, $(NACL_BUILDS)): $$(basename $$@) | 336 $(addsuffix .check, $(NACL_BUILDS)): $$(basename $$@) |
| 337 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ | 337 @tools/run-tests.py $(TESTJOBS) --outdir=$(OUTDIR) \ |
| 338 --arch-and-mode=$(basename $@) \ | 338 --arch-and-mode=$(basename $@) \ |
| 339 --timeout=600 --nopresubmit --noi18n \ | 339 --timeout=600 --nopresubmit --noi18n \ |
| 340 --command-prefix="tools/nacl-run.py" | 340 --command-prefix="tools/nacl-run.py" |
| 341 | 341 |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 414 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 414 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
| 415 | 415 |
| 416 # Dependencies. | 416 # Dependencies. |
| 417 # Remember to keep these in sync with the DEPS file. | 417 # Remember to keep these in sync with the DEPS file. |
| 418 dependencies: | 418 dependencies: |
| 419 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 419 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 420 --revision 1685 | 420 --revision 1685 |
| 421 svn checkout --force \ | 421 svn checkout --force \ |
| 422 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 422 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
| 423 third_party/icu --revision 214189 | 423 third_party/icu --revision 214189 |
| OLD | NEW |