OLD | NEW |
1 ARCH := x64 | 1 ARCH := x64 |
2 | 2 |
3 ANDROID_PARAMETERS = target_arch=arm OS=android | 3 ANDROID_PARAMETERS = target_arch=arm OS=android |
4 ANDROID_PARAMETERS += android_target_arch=arm | 4 ANDROID_PARAMETERS += android_target_arch=arm |
5 ANDROID_PARAMETERS += arm_neon=0 armv7=0 arm_fpu=off vfp3=off | 5 ANDROID_PARAMETERS += arm_neon=0 armv7=0 arm_fpu=off vfp3=off |
6 | 6 |
7 TEST_EXECUTABLE = build/out/Debug/tests | 7 TEST_EXECUTABLE = build/out/Debug/tests |
8 | 8 |
9 .PHONY: all test clean v8_android android | 9 .PHONY: all test clean v8_android android |
10 | 10 |
(...skipping 13 matching lines...) Expand all Loading... |
24 | 24 |
25 v8_android: | 25 v8_android: |
26 mkdir -p third_party/v8/build/gyp | 26 mkdir -p third_party/v8/build/gyp |
27 cp -f third_party/v8_gyp_launcher third_party/v8/build/gyp/gyp | 27 cp -f third_party/v8_gyp_launcher third_party/v8/build/gyp/gyp |
28 DEFINES="${ANDROID_PARAMETERS}" \ | 28 DEFINES="${ANDROID_PARAMETERS}" \ |
29 OUTDIR=../../build \ | 29 OUTDIR=../../build \ |
30 $(MAKE) -C third_party/v8 android_arm.release | 30 $(MAKE) -C third_party/v8 android_arm.release |
31 | 31 |
32 android: v8_android | 32 android: v8_android |
33 GYP_DEFINES="${ANDROID_PARAMETERS}" \ | 33 GYP_DEFINES="${ANDROID_PARAMETERS}" \ |
34 » third_party/gyp/gyp --depth=. -f make -I common.gypi --generator-output=
build -Gandroid_ndk_version=r9 libadblockplus.gyp | 34 » third_party/gyp/gyp --depth=. -f make-android -I common.gypi --generator
-output=build -Gandroid_ndk_version=r9 libadblockplus.gyp |
35 ndk-build -C build installed_modules \ | 35 ndk-build -C build installed_modules \ |
36 BUILDTYPE=Release \ | 36 BUILDTYPE=Release \ |
37 APP_PLATFORM=android-9 \ | 37 APP_PLATFORM=android-9 \ |
38 APP_STL=gnustl_static \ | 38 APP_STL=gnustl_static \ |
39 APP_BUILD_SCRIPT=Makefile \ | 39 APP_BUILD_SCRIPT=Makefile \ |
40 NDK_PROJECT_PATH=. \ | 40 NDK_PROJECT_PATH=. \ |
41 NDK_OUT=. \ | 41 NDK_OUT=. \ |
42 NDK_APP_DST_DIR=android_arm.release | 42 NDK_APP_DST_DIR=android_arm.release |
OLD | NEW |