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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 | 111 # optdebug=on |
112 ifeq ($(optdebug), on) | 112 ifeq ($(optdebug), on) |
Michael Achenbach
2015/01/12 08:55:42
Wonder if this is necessary. We have two modes alr
| |
113 GYPFLAGS += -Dv8_optimized_debug=2 | 113 GYPFLAGS += -Dv8_optimized_debug=1 |
114 endif | 114 endif |
115 # unalignedaccess=on | 115 # unalignedaccess=on |
116 ifeq ($(unalignedaccess), on) | 116 ifeq ($(unalignedaccess), on) |
117 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true | 117 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true |
118 endif | 118 endif |
119 # randomseed=12345, disable random seed via randomseed=0 | 119 # randomseed=12345, disable random seed via randomseed=0 |
120 ifdef randomseed | 120 ifdef randomseed |
121 GYPFLAGS += -Dv8_random_seed=$(randomseed) | 121 GYPFLAGS += -Dv8_random_seed=$(randomseed) |
122 endif | 122 endif |
123 # soname_version=1.2.3 | 123 # soname_version=1.2.3 |
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
423 cut -f 2 -d " " | cut -f 1 -d "-" )) | 423 cut -f 2 -d " " | cut -f 1 -d "-" )) |
424 $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$(CXX_TARGET_ARCH))) | 424 $(eval CXX_TARGET_ARCH:=$(subst aarch64,arm64,$(CXX_TARGET_ARCH))) |
425 $(eval V8_TARGET_ARCH:=$(subst .,,$(suffix $(basename $@)))) | 425 $(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)" \ | 426 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \ |
427 GYP_GENERATORS=make \ | 427 GYP_GENERATORS=make \ |
428 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ | 428 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
429 -Ibuild/standalone.gypi --depth=. \ | 429 -Ibuild/standalone.gypi --depth=. \ |
430 -Dv8_target_arch=$(V8_TARGET_ARCH) \ | 430 -Dv8_target_arch=$(V8_TARGET_ARCH) \ |
431 $(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \ | 431 $(if $(findstring $(CXX_TARGET_ARCH),$(V8_TARGET_ARCH)), \ |
432 -Dtarget_arch=$(V8_TARGET_ARCH),) \ | 432 -Dtarget_arch=$(V8_TARGET_ARCH),) \ |
433 » $(if $(findstring optdebug,$@),-Dv8_optimized_debug=2,) \ | 433 » $(if $(findstring optdebug,$@),-Dv8_optimized_debug=1,) \ |
Michael Achenbach
2015/01/12 08:55:42
nit: Can you maybe get rid of the tabs?
| |
434 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) | 434 -S$(suffix $(basename $@))$(suffix $@) $(GYPFLAGS) |
435 | 435 |
436 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) | 436 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) |
437 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \ | 437 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build: $(PYTHONPATH):$(shell pwd)/build/gyp/pylib:$(PYTHONPATH)" \ |
438 GYP_GENERATORS=make \ | 438 GYP_GENERATORS=make \ |
439 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ | 439 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
440 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) | 440 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) |
441 | 441 |
442 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: | 442 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: |
443 ifndef ANDROID_NDK_ROOT | 443 ifndef ANDROID_NDK_ROOT |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
506 third_party/icu --revision 277999 ; \ | 506 third_party/icu --revision 277999 ; \ |
507 fi | 507 fi |
508 svn checkout --force https://googletest.googlecode.com/svn/trunk \ | 508 svn checkout --force https://googletest.googlecode.com/svn/trunk \ |
509 testing/gtest --revision 692 | 509 testing/gtest --revision 692 |
510 svn checkout --force https://googlemock.googlecode.com/svn/trunk \ | 510 svn checkout --force https://googlemock.googlecode.com/svn/trunk \ |
511 testing/gmock --revision 485 | 511 testing/gmock --revision 485 |
512 | 512 |
513 dependencies: builddeps | 513 dependencies: builddeps |
514 # The spec is a copy of the hooks in v8's DEPS file. | 514 # 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''} ]" | 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''} ]" |
OLD | NEW |