Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Side by Side Diff: Makefile

Issue 631763003: Make asan and lsan make flags work like on the bots. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Offline review. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
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++ 140 # asan=/path/to/clang++
141 ifneq ($(strip $(asan)),) 141 ifneq ($(strip $(asan)),)
142 GYPFLAGS += -Dasan=1 142 GYPFLAGS += -Dasan=1
143 export CC=$(dir $(asan))clang
143 export CXX=$(asan) 144 export CXX=$(asan)
144 export CXX_host=$(asan) 145 export CXX_host=$(asan)
145 export LINK=$(asan) 146 export LINK=$(asan)
146 export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer" 147 export ASAN_SYMBOLIZER_PATH=$(dir $(asan))llvm-symbolizer
148 TESTFLAGS += --asan
149 ifeq ($(lsan), on)
150 GYPFLAGS += -Dlsan=1
151 endif
147 endif 152 endif
148 153
149 # arm specific flags. 154 # arm specific flags.
150 # arm_version=<number | "default"> 155 # arm_version=<number | "default">
151 ifneq ($(strip $(arm_version)),) 156 ifneq ($(strip $(arm_version)),)
152 GYPFLAGS += -Darm_version=$(arm_version) 157 GYPFLAGS += -Darm_version=$(arm_version)
153 else 158 else
154 # Deprecated (use arm_version instead): armv7=false/true 159 # Deprecated (use arm_version instead): armv7=false/true
155 ifeq ($(armv7), false) 160 ifeq ($(armv7), false)
156 GYPFLAGS += -Darm_version=6 161 GYPFLAGS += -Darm_version=6
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 third_party/icu --revision 277999 ; \ 489 third_party/icu --revision 277999 ; \
485 fi 490 fi
486 svn checkout --force http://googletest.googlecode.com/svn/trunk \ 491 svn checkout --force http://googletest.googlecode.com/svn/trunk \
487 testing/gtest --revision 692 492 testing/gtest --revision 692
488 svn checkout --force http://googlemock.googlecode.com/svn/trunk \ 493 svn checkout --force http://googlemock.googlecode.com/svn/trunk \
489 testing/gmock --revision 485 494 testing/gmock --revision 485
490 495
491 dependencies: builddeps 496 dependencies: builddeps
492 # The spec is a copy of the hooks in v8's DEPS file. 497 # The spec is a copy of the hooks in v8's DEPS file.
493 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''} ]" 498 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''} ]"
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698