| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 $(error Host platform "${HOST_OS}" is not supported) | 44 $(error Host platform "${HOST_OS}" is not supported) |
| 45 endif | 45 endif |
| 46 | 46 |
| 47 ifeq ($(ARCH), android_arm) | 47 ifeq ($(ARCH), android_arm) |
| 48 DEFINES = target_arch=arm v8_target_arch=arm android_target_arch=arm android_
target_platform=14 | 48 DEFINES = target_arch=arm v8_target_arch=arm android_target_arch=arm android_
target_platform=14 |
| 49 DEFINES += arm_neon=0 arm_version=7 | 49 DEFINES += arm_neon=0 arm_version=7 |
| 50 TOOLCHAIN_ARCH = arm-linux-androideabi | 50 TOOLCHAIN_ARCH = arm-linux-androideabi |
| 51 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) | 51 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) |
| 52 TOOLCHAIN_VER = 4.8 | 52 TOOLCHAIN_VER = 4.8 |
| 53 else ifeq ($(ARCH), android_arm64) | 53 else ifeq ($(ARCH), android_arm64) |
| 54 DEFINES = target_arch=arm64 v8_target_arch=arm64 android_target_arch=arm64 an
droid_target_platform=L | 54 DEFINES = target_arch=arm64 v8_target_arch=arm64 android_target_arch=arm64 an
droid_target_platform=21 |
| 55 TOOLCHAIN_ARCH = aarch64-linux-android | 55 TOOLCHAIN_ARCH = aarch64-linux-android |
| 56 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) | 56 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) |
| 57 TOOLCHAIN_VER = 4.9 | 57 TOOLCHAIN_VER = 4.9 |
| 58 else ifeq ($(ARCH), android_mipsel) | 58 else ifeq ($(ARCH), android_mipsel) |
| 59 DEFINES = target_arch=mipsel v8_target_arch=mipsel android_target_platform=14 | 59 DEFINES = target_arch=mipsel v8_target_arch=mipsel android_target_platform=14 |
| 60 DEFINES += android_target_arch=mips mips_arch_variant=mips32r2 | 60 DEFINES += android_target_arch=mips mips_arch_variant=mips32r2 |
| 61 TOOLCHAIN_ARCH = mipsel-linux-android | 61 TOOLCHAIN_ARCH = mipsel-linux-android |
| 62 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) | 62 TOOLCHAIN_PREFIX = $(TOOLCHAIN_ARCH) |
| 63 TOOLCHAIN_VER = 4.8 | 63 TOOLCHAIN_VER = 4.8 |
| 64 else ifeq ($(ARCH), android_ia32) | 64 else ifeq ($(ARCH), android_ia32) |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ANDROID_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ANDROID_BUILDS)) | 106 ANDROID_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ANDROID_BUILDS)) |
| 107 $(ANDROID_MAKEFILES): | 107 $(ANDROID_MAKEFILES): |
| 108 GYP_GENERATORS=make-android \ | 108 GYP_GENERATORS=make-android \ |
| 109 GYP_DEFINES="${DEFINES}" \ | 109 GYP_DEFINES="${DEFINES}" \ |
| 110 CC="${ANDROID_TOOLCHAIN}/bin/${TOOLCHAIN_PREFIX}-gcc" \ | 110 CC="${ANDROID_TOOLCHAIN}/bin/${TOOLCHAIN_PREFIX}-gcc" \ |
| 111 CXX="${ANDROID_TOOLCHAIN}/bin/${TOOLCHAIN_PREFIX}-g++" \ | 111 CXX="${ANDROID_TOOLCHAIN}/bin/${TOOLCHAIN_PREFIX}-g++" \ |
| 112 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:
$(PYTHONPATH)" \ | 112 PYTHONPATH="$(shell pwd)/tools/generate_shim_headers:$(shell pwd)/build:
$(PYTHONPATH)" \ |
| 113 build/gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \ | 113 build/gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \ |
| 114 -Ibuild/standalone.gypi --depth=. -Ibuild/android.gypi \ | 114 -Ibuild/standalone.gypi --depth=. -Ibuild/android.gypi \ |
| 115 -S$(suffix $(basename $@))$(suffix $@) ${GYPFLAGS} | 115 -S$(suffix $(basename $@))$(suffix $@) ${GYPFLAGS} |
| OLD | NEW |