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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
155 ifeq ($(asan), on) | 155 ifeq ($(asan), on) |
156 GYPFLAGS += -Dasan=1 -Dclang=1 | 156 GYPFLAGS += -Dasan=1 -Dclang=1 |
157 TESTFLAGS += --asan | 157 TESTFLAGS += --asan |
158 ifeq ($(lsan), on) | 158 ifeq ($(lsan), on) |
159 GYPFLAGS += -Dlsan=1 | 159 GYPFLAGS += -Dlsan=1 |
160 endif | 160 endif |
161 endif | 161 endif |
162 ifdef embedscript | 162 ifdef embedscript |
163 GYPFLAGS += -Dembed_script=$(embedscript) | 163 GYPFLAGS += -Dembed_script=$(embedscript) |
164 endif | 164 endif |
165 | 165 ifeq ($(goma), on) |
| 166 GYPFLAGS += -Duse_goma=1 |
| 167 endif |
166 # arm specific flags. | 168 # arm specific flags. |
167 # arm_version=<number | "default"> | 169 # arm_version=<number | "default"> |
168 ifneq ($(strip $(arm_version)),) | 170 ifneq ($(strip $(arm_version)),) |
169 GYPFLAGS += -Darm_version=$(arm_version) | 171 GYPFLAGS += -Darm_version=$(arm_version) |
170 else | 172 else |
171 # Deprecated (use arm_version instead): armv7=false/true | 173 # Deprecated (use arm_version instead): armv7=false/true |
172 ifeq ($(armv7), false) | 174 ifeq ($(armv7), false) |
173 GYPFLAGS += -Darm_version=6 | 175 GYPFLAGS += -Darm_version=6 |
174 else | 176 else |
175 ifeq ($(armv7), true) | 177 ifeq ($(armv7), true) |
(...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 # We need to manually set the stack limit here, to work around bugs in | 490 # We need to manually set the stack limit here, to work around bugs in |
489 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 491 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
490 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 492 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
491 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 493 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
492 | 494 |
493 gtags.clean: | 495 gtags.clean: |
494 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 496 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
495 | 497 |
496 dependencies builddeps: | 498 dependencies builddeps: |
497 $(error Use 'gclient sync' instead) | 499 $(error Use 'gclient sync' instead) |
OLD | NEW |