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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
138 GYPFLAGS += -Dv8_deprecation_warnings=1 | 138 GYPFLAGS += -Dv8_deprecation_warnings=1 |
139 endif | 139 endif |
140 # asan=/path/to/clang++ | 140 # asan=/path/to/clang++ |
141 ifneq ($(strip $(asan)),) | 141 ifneq ($(strip $(asan)),) |
142 GYPFLAGS += -Dasan=1 | 142 GYPFLAGS += -Dasan=1 |
143 export CXX=$(asan) | 143 export CXX=$(asan) |
144 export CXX_host=$(asan) | 144 export CXX_host=$(asan) |
145 export LINK=$(asan) | 145 export LINK=$(asan) |
146 export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer" | 146 export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer" |
147 endif | 147 endif |
148 | 148 # msan=/path/to/clang++ |
149 ifneq ($(strip $(msan)),) | |
150 GYPFLAGS += -Dmsan=1 -Dmsan_track_origins=2 | |
earthdok
2014/07/01 12:13:21
You set msan_track_origins here but you don't use
| |
151 export CXX=$(msan) | |
152 export CXX_host=$(msan) | |
153 export LINK=$(msan) | |
154 endif | |
149 # arm specific flags. | 155 # arm specific flags. |
150 # arm_version=<number | "default"> | 156 # arm_version=<number | "default"> |
151 ifneq ($(strip $(arm_version)),) | 157 ifneq ($(strip $(arm_version)),) |
152 GYPFLAGS += -Darm_version=$(arm_version) | 158 GYPFLAGS += -Darm_version=$(arm_version) |
153 else | 159 else |
154 # Deprecated (use arm_version instead): armv7=false/true | 160 # Deprecated (use arm_version instead): armv7=false/true |
155 ifeq ($(armv7), false) | 161 ifeq ($(armv7), false) |
156 GYPFLAGS += -Darm_version=6 | 162 GYPFLAGS += -Darm_version=6 |
157 else | 163 else |
158 ifeq ($(armv7), true) | 164 ifeq ($(armv7), true) |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
464 # Dependencies. | 470 # Dependencies. |
465 # Remember to keep these in sync with the DEPS file. | 471 # Remember to keep these in sync with the DEPS file. |
466 dependencies: | 472 dependencies: |
467 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 473 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
468 --revision 1831 | 474 --revision 1831 |
469 svn checkout --force \ | 475 svn checkout --force \ |
470 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 476 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
471 third_party/icu --revision 258359 | 477 third_party/icu --revision 258359 |
472 # The spec is a copy of the hooks in v8's DEPS file. | 478 # The spec is a copy of the hooks in v8's DEPS file. |
473 gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutio ns = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.goo glesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u 'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_ storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium- clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_ format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_ resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u '-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pat tern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platf orm=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools /linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''} ]" | 479 gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutio ns = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.goo glesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u 'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_ storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium- clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_ format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_ resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u '-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pat tern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platf orm=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools /linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''} ]" |
OLD | NEW |