| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 ifeq ($(gdbjit), on) | 84 ifeq ($(gdbjit), on) |
| 85 GYPFLAGS += -Dv8_enable_gdbjit=1 | 85 GYPFLAGS += -Dv8_enable_gdbjit=1 |
| 86 endif | 86 endif |
| 87 ifeq ($(gdbjit), off) | 87 ifeq ($(gdbjit), off) |
| 88 GYPFLAGS += -Dv8_enable_gdbjit=0 | 88 GYPFLAGS += -Dv8_enable_gdbjit=0 |
| 89 endif | 89 endif |
| 90 # vtunejit=on | 90 # vtunejit=on |
| 91 ifeq ($(vtunejit), on) | 91 ifeq ($(vtunejit), on) |
| 92 GYPFLAGS += -Dv8_enable_vtunejit=1 | 92 GYPFLAGS += -Dv8_enable_vtunejit=1 |
| 93 endif | 93 endif |
| 94 # optdebug=on |
| 95 ifeq ($(optdebug), on) |
| 96 GYPFLAGS += -Dv8_optimized_debug=1 |
| 97 endif |
| 94 # debuggersupport=off | 98 # debuggersupport=off |
| 95 ifeq ($(debuggersupport), off) | 99 ifeq ($(debuggersupport), off) |
| 96 GYPFLAGS += -Dv8_enable_debugger_support=0 | 100 GYPFLAGS += -Dv8_enable_debugger_support=0 |
| 97 endif | 101 endif |
| 98 # unalignedaccess=on | 102 # unalignedaccess=on |
| 99 ifeq ($(unalignedaccess), on) | 103 ifeq ($(unalignedaccess), on) |
| 100 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true | 104 GYPFLAGS += -Dv8_can_use_unaligned_accesses=true |
| 101 endif | 105 endif |
| 102 # soname_version=1.2.3 | 106 # soname_version=1.2.3 |
| 103 ifdef soname_version | 107 ifdef soname_version |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 native.clean: | 349 native.clean: |
| 346 rm -f $(OUTDIR)/Makefile.native | 350 rm -f $(OUTDIR)/Makefile.native |
| 347 rm -rf $(OUTDIR)/native | 351 rm -rf $(OUTDIR)/native |
| 348 find $(OUTDIR) -regex '.*\(host\|target\).native\.mk' -delete | 352 find $(OUTDIR) -regex '.*\(host\|target\).native\.mk' -delete |
| 349 | 353 |
| 350 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl
ean | 354 clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.cl
ean |
| 351 | 355 |
| 352 # GYP file generation targets. | 356 # GYP file generation targets. |
| 353 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES)) | 357 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES)) |
| 354 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) | 358 $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE) |
| 359 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ |
| 355 GYP_GENERATORS=make \ | 360 GYP_GENERATORS=make \ |
| 356 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ | 361 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
| 357 -Ibuild/standalone.gypi --depth=. \ | 362 -Ibuild/standalone.gypi --depth=. \ |
| 358 -Dv8_target_arch=$(subst .,,$(suffix $@)) \ | 363 -Dv8_target_arch=$(subst .,,$(suffix $@)) \ |
| 359 -S.$(subst .,,$(suffix $@)) $(GYPFLAGS) | 364 -S.$(subst .,,$(suffix $@)) $(GYPFLAGS) |
| 360 | 365 |
| 361 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) | 366 $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE) |
| 367 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(PYTHONPATH)" \ |
| 362 GYP_GENERATORS=make \ | 368 GYP_GENERATORS=make \ |
| 363 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ | 369 build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \ |
| 364 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) | 370 -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS) |
| 365 | 371 |
| 366 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: | 372 must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN: |
| 367 ifndef ANDROID_NDK_ROOT | 373 ifndef ANDROID_NDK_ROOT |
| 368 ifndef ANDROID_TOOLCHAIN | 374 ifndef ANDROID_TOOLCHAIN |
| 369 $(error ANDROID_NDK_ROOT or ANDROID_TOOLCHAIN must be set)) | 375 $(error ANDROID_NDK_ROOT or ANDROID_TOOLCHAIN must be set)) |
| 370 endif | 376 endif |
| 371 endif | 377 endif |
| (...skipping 22 matching lines...) Expand all Loading... |
| 394 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 400 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
| 395 echo "CXX=$(CXX)" >> $(ENVFILE).new | 401 echo "CXX=$(CXX)" >> $(ENVFILE).new |
| 396 | 402 |
| 397 # Dependencies. | 403 # Dependencies. |
| 398 # Remember to keep these in sync with the DEPS file. | 404 # Remember to keep these in sync with the DEPS file. |
| 399 dependencies: | 405 dependencies: |
| 400 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 406 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 401 --revision 1656 | 407 --revision 1656 |
| 402 svn checkout --force \ | 408 svn checkout --force \ |
| 403 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ | 409 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ |
| 404 » third_party/icu --revision 205936 | 410 » third_party/icu --revision 210659 |
| OLD | NEW |