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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 GYPFLAGS += -Dv8_interpreted_regexp=1 | 129 GYPFLAGS += -Dv8_interpreted_regexp=1 |
130 endif | 130 endif |
131 # i18nsupport=off | 131 # i18nsupport=off |
132 ifeq ($(i18nsupport), off) | 132 ifeq ($(i18nsupport), off) |
133 GYPFLAGS += -Dv8_enable_i18n_support=0 | 133 GYPFLAGS += -Dv8_enable_i18n_support=0 |
134 TESTFLAGS += --noi18n | 134 TESTFLAGS += --noi18n |
135 endif | 135 endif |
136 # deprecation_warnings=on | 136 # deprecation_warnings=on |
137 ifeq ($(deprecationwarnings), on) | 137 ifeq ($(deprecationwarnings), on) |
138 GYPFLAGS += -Dv8_deprecation_warnings=1 | 138 GYPFLAGS += -Dv8_deprecation_warnings=1 |
139 endif | 139 endif |
| 140 # asan=/path/to/clang++ |
| 141 ifneq ($(strip $(asan)),) |
| 142 GYPFLAGS += -Dasan=1 |
| 143 export CXX="$(asan)" |
| 144 export CXX_host="$(asan)" |
| 145 export LINK="$(asan)" |
| 146 export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer" |
| 147 endif |
| 148 |
140 # arm specific flags. | 149 # arm specific flags. |
141 # arm_version=<number | "default"> | 150 # arm_version=<number | "default"> |
142 ifneq ($(strip $(arm_version)),) | 151 ifneq ($(strip $(arm_version)),) |
143 GYPFLAGS += -Darm_version=$(arm_version) | 152 GYPFLAGS += -Darm_version=$(arm_version) |
144 else | 153 else |
145 # Deprecated (use arm_version instead): armv7=false/true | 154 # Deprecated (use arm_version instead): armv7=false/true |
146 ifeq ($(armv7), false) | 155 ifeq ($(armv7), false) |
147 GYPFLAGS += -Darm_version=6 | 156 GYPFLAGS += -Darm_version=6 |
148 else | 157 else |
149 ifeq ($(armv7), true) | 158 ifeq ($(armv7), true) |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
459 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) | 468 @$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE) |
460 | 469 |
461 # Dependencies. | 470 # Dependencies. |
462 # Remember to keep these in sync with the DEPS file. | 471 # Remember to keep these in sync with the DEPS file. |
463 dependencies: | 472 dependencies: |
464 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 473 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
465 --revision 1831 | 474 --revision 1831 |
466 svn checkout --force \ | 475 svn checkout --force \ |
467 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 476 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
468 third_party/icu --revision 258359 | 477 third_party/icu --revision 258359 |
OLD | NEW |