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

Side by Side Diff: Makefile

Issue 847753002: Merge v8_optimized_debug 1 and 2 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: updates Created 5 years, 11 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
« no previous file with comments | « no previous file | build/standalone.gypi » ('j') | 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ifeq ($(gdbjit), on) 101 ifeq ($(gdbjit), on)
102 GYPFLAGS += -Dv8_enable_gdbjit=1 102 GYPFLAGS += -Dv8_enable_gdbjit=1
103 endif 103 endif
104 ifeq ($(gdbjit), off) 104 ifeq ($(gdbjit), off)
105 GYPFLAGS += -Dv8_enable_gdbjit=0 105 GYPFLAGS += -Dv8_enable_gdbjit=0
106 endif 106 endif
107 # vtunejit=on 107 # vtunejit=on
108 ifeq ($(vtunejit), on) 108 ifeq ($(vtunejit), on)
109 GYPFLAGS += -Dv8_enable_vtunejit=1 109 GYPFLAGS += -Dv8_enable_vtunejit=1
110 endif 110 endif
111 # optdebug=on
112 ifeq ($(optdebug), on)
113 GYPFLAGS += -Dv8_optimized_debug=2
114 endif
115 # unalignedaccess=on 111 # unalignedaccess=on
116 ifeq ($(unalignedaccess), on) 112 ifeq ($(unalignedaccess), on)
117 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true 113 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true
118 endif 114 endif
119 # randomseed=12345, disable random seed via randomseed=0 115 # randomseed=12345, disable random seed via randomseed=0
120 ifdef randomseed 116 ifdef randomseed
121 GYPFLAGS += -Dv8_random_seed=$(randomseed) 117 GYPFLAGS += -Dv8_random_seed=$(randomseed)
122 endif 118 endif
123 # soname_version=1.2.3 119 # soname_version=1.2.3
124 ifdef soname_version 120 ifdef soname_version
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 cut -f 2 -d " " | cut -f 1 -d "-" )) 419 cut -f 2 -d " " | cut -f 1 -d "-" ))
424 $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$(CXX_TARGET_ARCH))) 420 $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$(CXX_TARGET_ARCH)))
425 $(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@)))) 421 $(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@))))
426 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \ 422 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
427 GYP_GENERATORS=make \ 423 GYP_GENERATORS=make \
428 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ 424 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
429 -Ibuild/standalone.gypi --depth=. \ 425 -Ibuild/standalone.gypi --depth=. \
430 -Dv8_target_arch=$(V8_TARGET_ARCH) \ 426 -Dv8_target_arch=$(V8_TARGET_ARCH) \
431 $(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \ 427 $(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \
432 -Dtarget_arch=$(V8_TARGET_ARCH),) \ 428 -Dtarget_arch=$(V8_TARGET_ARCH),) \
433 » $(if $(findstring optdebug,$@),-Dv8_optimized_debug=2,) \ 429 » $(if $(findstring optdebug,$@),-Dv8_optimized_debug=1,) \
434 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) 430 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS)
435 431
436 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) 432 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
437 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \ 433 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \
438 GYP_GENERATORS=make \ 434 GYP_GENERATORS=make \
439 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ 435 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
440 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) 436 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)
441 437
442 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: 438 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN:
443 ifndef ANDROID_NDK_ROOT 439 ifndef ANDROID_NDK_ROOT
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 third_party/icu --revision 277999 ; \ 502 third_party/icu --revision 277999 ; \
507 fi 503 fi
508 svn checkout --force https://googletest.googlecode.com/svn/trunk \ 504 svn checkout --force https://googletest.googlecode.com/svn/trunk \
509 testing/gtest --revision 692 505 testing/gtest --revision 692
510 svn checkout --force https://googlemock.googlecode.com/svn/trunk \ 506 svn checkout --force https://googlemock.googlecode.com/svn/trunk \
511 testing/gmock --revision 485 507 testing/gmock --revision 485
512 508
513 dependencies: builddeps 509 dependencies: builddeps
514 # The spec is a copy of the hooks in v8's DEPS file. 510 # The spec is a copy of the hooks in v8's DEPS file.
515 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''} ]" 511 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 | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698