Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: Makefile

Issue 5708936187478016: Issue 1906 - Fix broken Android build (Closed)
Patch Set: Fixed some formatting issues, shared_ptr.reset() Created Jan. 29, 2015, 5:07 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | libadblockplus.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ANDROID_PARAMETERS += arm_float_abi=default
6 7
7 TEST_EXECUTABLE = build/out/Debug/tests 8 TEST_EXECUTABLE = build/out/Debug/tests
8 9
9 .PHONY: all test clean v8_android android docs 10 .PHONY: all test clean v8_android android docs
10 11
11 all: 12 all:
12 third_party/gyp/gyp --depth=. -f make -I common.gypi --generator-output= build -Dtarget_arch=$(ARCH) libadblockplus.gyp 13 third_party/gyp/gyp --depth=. -f make -I common.gypi --generator-output= build -Dtarget_arch=$(ARCH) libadblockplus.gyp
13 $(MAKE) -C build 14 $(MAKE) -C build
14 15
15 test: all 16 test: all
(...skipping 12 matching lines...) Expand all
28 v8_android: 29 v8_android:
29 mkdir -p third_party/v8/build/gyp 30 mkdir -p third_party/v8/build/gyp
30 cp -f third_party/v8_gyp_launcher third_party/v8/build/gyp/gyp 31 cp -f third_party/v8_gyp_launcher third_party/v8/build/gyp/gyp
31 DEFINES="${ANDROID_PARAMETERS}" \ 32 DEFINES="${ANDROID_PARAMETERS}" \
32 OUTDIR=../../build \ 33 OUTDIR=../../build \
33 $(MAKE) -C third_party/v8 android_arm.release 34 $(MAKE) -C third_party/v8 android_arm.release
34 35
35 android: v8_android 36 android: v8_android
36 GYP_DEFINES="${ANDROID_PARAMETERS}" \ 37 GYP_DEFINES="${ANDROID_PARAMETERS}" \
37 third_party/gyp/gyp --depth=. -f make-android -I common.gypi --generator -output=build -Gandroid_ndk_version=r9 libadblockplus.gyp 38 third_party/gyp/gyp --depth=. -f make-android -I common.gypi --generator -output=build -Gandroid_ndk_version=r9 libadblockplus.gyp
38 » ndk-build -C build installed_modules \ 39 » $(ANDROID_NDK_ROOT)/ndk-build -C build installed_modules \
39 BUILDTYPE=Release \ 40 BUILDTYPE=Release \
40 APP_PLATFORM=android-9 \ 41 APP_PLATFORM=android-9 \
41 APP_STL=gnustl_static \ 42 APP_STL=gnustl_static \
42 APP_BUILD_SCRIPT=Makefile \ 43 APP_BUILD_SCRIPT=Makefile \
43 NDK_PROJECT_PATH=. \ 44 NDK_PROJECT_PATH=. \
44 NDK_OUT=. \ 45 NDK_OUT=. \
45 NDK_APP_DST_DIR=android_arm.release 46 NDK_APP_DST_DIR=android_arm.release
OLDNEW
« no previous file with comments | « no previous file | libadblockplus.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld