| 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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 MODES = release debug optdebug | 243 MODES = release debug optdebug |
| 244 DEFAULT_MODES = release debug | 244 DEFAULT_MODES = release debug |
| 245 ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \ | 245 ANDROID_ARCHES = android_ia32 android_x64 android_arm android_arm64 \ |
| 246 android_mipsel android_x87 | 246 android_mipsel android_x87 |
| 247 NACL_ARCHES = nacl_ia32 nacl_x64 | 247 NACL_ARCHES = nacl_ia32 nacl_x64 |
| 248 | 248 |
| 249 # List of files that trigger Makefile regeneration: | 249 # List of files that trigger Makefile regeneration: |
| 250 GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ | 250 GYPFILES = third_party/icu/icu.gypi third_party/icu/icu.gyp \ |
| 251 build/shim_headers.gypi build/features.gypi build/standalone.gypi \ | 251 build/shim_headers.gypi build/features.gypi build/standalone.gypi \ |
| 252 build/toolchain.gypi build/all.gyp build/mac/asan.gyp \ | 252 build/toolchain.gypi build/all.gyp build/mac/asan.gyp \ |
| 253 » build/android.gypi test/cctest/cctest.gyp \ | 253 » test/cctest/cctest.gyp \ |
| 254 test/unittests/unittests.gyp tools/gyp/v8.gyp \ | 254 test/unittests/unittests.gyp tools/gyp/v8.gyp \ |
| 255 tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \ | 255 tools/parser-shell.gyp testing/gmock.gyp testing/gtest.gyp \ |
| 256 buildtools/third_party/libc++abi/libc++abi.gyp \ | 256 buildtools/third_party/libc++abi/libc++abi.gyp \ |
| 257 buildtools/third_party/libc++/libc++.gyp samples/samples.gyp \ | 257 buildtools/third_party/libc++/libc++.gyp samples/samples.gyp \ |
| 258 src/third_party/vtune/v8vtune.gyp src/d8.gyp | 258 src/third_party/vtune/v8vtune.gyp src/d8.gyp |
| 259 | 259 |
| 260 # If vtunejit=on, the v8vtune.gyp will be appended. | 260 # If vtunejit=on, the v8vtune.gyp will be appended. |
| 261 ifeq ($(vtunejit), on) | 261 ifeq ($(vtunejit), on) |
| 262 GYPFILES += src/third_party/vtune/v8vtune.gyp | 262 GYPFILES += src/third_party/vtune/v8vtune.gyp |
| 263 endif | 263 endif |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 raw_input().replace('opt', '').capitalize()") \ | 308 raw_input().replace('opt', '').capitalize()") \ |
| 309 builddir="$(shell pwd)/$(OUTDIR)/$@" | 309 builddir="$(shell pwd)/$(OUTDIR)/$@" |
| 310 | 310 |
| 311 native: $(OUTDIR)/Makefile.native | 311 native: $(OUTDIR)/Makefile.native |
| 312 @$(MAKE) -C "$(OUTDIR)" -f Makefile.native \ | 312 @$(MAKE) -C "$(OUTDIR)" -f Makefile.native \ |
| 313 BUILDTYPE=Release \ | 313 BUILDTYPE=Release \ |
| 314 builddir="$(shell pwd)/$(OUTDIR)/$@" | 314 builddir="$(shell pwd)/$(OUTDIR)/$@" |
| 315 | 315 |
| 316 $(ANDROID_ARCHES): $(addprefix $$@.,$(MODES)) | 316 $(ANDROID_ARCHES): $(addprefix $$@.,$(MODES)) |
| 317 | 317 |
| 318 $(ANDROID_BUILDS): $(GYPFILES) $(ENVFILE) build/android.gypi \ | 318 $(ANDROID_BUILDS): $(GYPFILES) $(ENVFILE) \ |
| 319 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN Makefile.android | 319 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN Makefile.android |
| 320 @$(MAKE) -f Makefile.android $@ \ | 320 @$(MAKE) -f Makefile.android $@ \ |
| 321 ARCH="$(basename $@)" \ | 321 ARCH="$(basename $@)" \ |
| 322 MODE="$(subst .,,$(suffix $@))" \ | 322 MODE="$(subst .,,$(suffix $@))" \ |
| 323 OUTDIR="$(OUTDIR)" \ | 323 OUTDIR="$(OUTDIR)" \ |
| 324 GYPFLAGS="$(GYPFLAGS)" | 324 GYPFLAGS="$(GYPFLAGS)" |
| 325 | 325 |
| 326 $(NACL_ARCHES): $(addprefix $$@.,$(MODES)) | 326 $(NACL_ARCHES): $(addprefix $$@.,$(MODES)) |
| 327 | 327 |
| 328 $(NACL_BUILDS): $(GYPFILES) $(ENVFILE) \ | 328 $(NACL_BUILDS): $(GYPFILES) $(ENVFILE) \ |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 # We need to manually set the stack limit here, to work around bugs in | 499 # We need to manually set the stack limit here, to work around bugs in |
| 500 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 500 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
| 501 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 501 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
| 502 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 502 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
| 503 | 503 |
| 504 gtags.clean: | 504 gtags.clean: |
| 505 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 505 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
| 506 | 506 |
| 507 dependencies builddeps: | 507 dependencies builddeps: |
| 508 $(error Use 'gclient sync' instead) | 508 $(error Use 'gclient sync' instead) |
| OLD | NEW |