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

Delta Between Two Patch Sets: Makefile

Issue 5708936187478016: Issue 1906 - Fix broken Android build (Closed)
Left Patch Set: Created Jan. 29, 2015, 2:16 p.m.
Right 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | libadblockplus.gyp » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 arm_float_abi=defa ult 5 ANDROID_PARAMETERS += arm_neon=0 armv7=0 arm_fpu=off vfp3=off
René Jeschke 2015/01/29 14:22:22 The v8 version we upgraded to needs this value to
Felix Dahlke 2015/01/29 16:49:25 Can you add another += line for that, for 80 colum
René Jeschke 2015/01/29 17:07:53 Done.
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 $(ANDROID_NDK_ROOT)/ndk-build -C build installed_modules \ 39 $(ANDROID_NDK_ROOT)/ndk-build -C build installed_modules \
René Jeschke 2015/01/29 14:22:22 As we already require $ANDROID_NDK_ROOT to be defi
Felix Dahlke 2015/01/29 16:49:25 Yeah, I've got multiple NDK versions here, we real
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
LEFTRIGHT
« no previous file | libadblockplus.gyp » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld