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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 ifeq ($(extrachecks), on) | 76 ifeq ($(extrachecks), on) |
77 GYPFLAGS += -Dv8_enable_extra_checks=1 | 77 GYPFLAGS += -Dv8_enable_extra_checks=1 |
78 endif | 78 endif |
79 ifeq ($(extrachecks), off) | 79 ifeq ($(extrachecks), off) |
80 GYPFLAGS += -Dv8_enable_extra_checks=0 | 80 GYPFLAGS += -Dv8_enable_extra_checks=0 |
81 endif | 81 endif |
82 # gdbjit=on | 82 # gdbjit=on |
83 ifeq ($(gdbjit), on) | 83 ifeq ($(gdbjit), on) |
84 GYPFLAGS += -Dv8_enable_gdbjit=1 | 84 GYPFLAGS += -Dv8_enable_gdbjit=1 |
85 endif | 85 endif |
| 86 # vtunejit=on |
| 87 ifeq ($(vtunejit), on) |
| 88 GYPFLAGS += -Dv8_enable_vtunejit=1 |
| 89 endif |
86 # vfp2=off | 90 # vfp2=off |
87 ifeq ($(vfp2), off) | 91 ifeq ($(vfp2), off) |
88 GYPFLAGS += -Dv8_can_use_vfp2_instructions=false | 92 GYPFLAGS += -Dv8_can_use_vfp2_instructions=false |
89 else | 93 else |
90 GYPFLAGS += -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 | 94 GYPFLAGS += -Dv8_can_use_vfp2_instructions=true -Darm_fpu=vfpv2 |
91 endif | 95 endif |
92 # vfp3=off | 96 # vfp3=off |
93 ifeq ($(vfp3), off) | 97 ifeq ($(vfp3), off) |
94 GYPFLAGS += -Dv8_can_use_vfp3_instructions=false | 98 GYPFLAGS += -Dv8_can_use_vfp3_instructions=false |
95 else | 99 else |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
148 ARCHES = ia32 x64 arm mipsel | 152 ARCHES = ia32 x64 arm mipsel |
149 DEFAULT_ARCHES = ia32 x64 arm | 153 DEFAULT_ARCHES = ia32 x64 arm |
150 MODES = release debug | 154 MODES = release debug |
151 ANDROID_ARCHES = android_ia32 android_arm android_mipsel | 155 ANDROID_ARCHES = android_ia32 android_arm android_mipsel |
152 | 156 |
153 # List of files that trigger Makefile regeneration: | 157 # List of files that trigger Makefile regeneration: |
154 GYPFILES = build/all.gyp build/common.gypi build/standalone.gypi \ | 158 GYPFILES = build/all.gyp build/common.gypi build/standalone.gypi \ |
155 preparser/preparser.gyp samples/samples.gyp src/d8.gyp \ | 159 preparser/preparser.gyp samples/samples.gyp src/d8.gyp \ |
156 test/cctest/cctest.gyp tools/gyp/v8.gyp | 160 test/cctest/cctest.gyp tools/gyp/v8.gyp |
157 | 161 |
| 162 # If vtunejit=on, the v8vtune.gyp will be appended. |
| 163 ifeq ($(vtunejit), on) |
| 164 GYPFILES += src/third_party/vtune/v8vtune.gyp |
| 165 endif |
158 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". | 166 # Generates all combinations of ARCHES and MODES, e.g. "ia32.release". |
159 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) | 167 BUILDS = $(foreach mode,$(MODES),$(addsuffix .$(mode),$(ARCHES))) |
160 ANDROID_BUILDS = $(foreach mode,$(MODES), \ | 168 ANDROID_BUILDS = $(foreach mode,$(MODES), \ |
161 $(addsuffix .$(mode),$(ANDROID_ARCHES))) | 169 $(addsuffix .$(mode),$(ANDROID_ARCHES))) |
162 # Generates corresponding test targets, e.g. "ia32.release.check". | 170 # Generates corresponding test targets, e.g. "ia32.release.check". |
163 CHECKS = $(addsuffix .check,$(BUILDS)) | 171 CHECKS = $(addsuffix .check,$(BUILDS)) |
164 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) | 172 ANDROID_CHECKS = $(addsuffix .check,$(ANDROID_BUILDS)) |
165 # File where previously used GYPFLAGS are stored. | 173 # File where previously used GYPFLAGS are stored. |
166 ENVFILE = $(OUTDIR)/environment | 174 ENVFILE = $(OUTDIR)/environment |
167 | 175 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
293 # Stores current GYPFLAGS in a file. | 301 # Stores current GYPFLAGS in a file. |
294 $(ENVFILE).new: | 302 $(ENVFILE).new: |
295 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 303 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
296 echo "CXX=$(CXX)" >> $(ENVFILE).new | 304 echo "CXX=$(CXX)" >> $(ENVFILE).new |
297 | 305 |
298 # Dependencies. | 306 # Dependencies. |
299 # Remember to keep these in sync with the DEPS file. | 307 # Remember to keep these in sync with the DEPS file. |
300 dependencies: | 308 dependencies: |
301 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 309 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
302 --revision 1501 | 310 --revision 1501 |
OLD | NEW |