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

Unified Diff: patches/V8.patch

Issue 10228016: Android build target for libadblockplus (Closed)
Patch Set: Created April 30, 2013, 7:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« libadblockplus.gyp ('K') | « libadblockplus.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: patches/V8.patch
===================================================================
new file mode 100644
--- /dev/null
+++ b/patches/V8.patch
@@ -0,0 +1,31 @@
+diff -u Makefile~ Makefile
+--- Makefile~ 2013-04-17 15:19:57.967079354 +0400
++++ Makefile 2013-04-18 11:28:44.645250220 +0400
+@@ -266,14 +266,14 @@
+ OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(ARCHES))
+ $(OUT_MAKEFILES): $(GYPFILES) $(ENVFILE)
+ GYP_GENERATORS=make \
+- build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
++ ../gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. \
+ -Dv8_target_arch=$(subst .,,$(suffix $@)) \
+ -S.$(subst .,,$(suffix $@)) $(GYPFLAGS)
+
+ $(OUTDIR)/Makefile.native: $(GYPFILES) $(ENVFILE)
+ GYP_GENERATORS=make \
+- build/gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
++ ../gyp/gyp --generator-output="$(OUTDIR)" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. -S.native $(GYPFLAGS)
+
+ must-set-ANDROID_NDK_ROOT_OR_TOOLCHAIN:
+diff -u Makefile.android~ Makefile.android
+--- Makefile.android~ 2013-04-12 14:57:41.326068594 +0400
++++ Makefile.android 2013-04-18 11:29:03.253251119 +0400
+@@ -93,6 +93,6 @@
+ GYP_DEFINES="${DEFINES}" \
+ CC="${ANDROID_TOOLCHAIN}/bin/*-gcc" \
+ CXX="${ANDROID_TOOLCHAIN}/bin/*-g++" \
+- build/gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \
++ ../gyp/gyp --generator-output="${OUTDIR}" build/all.gyp \
+ -Ibuild/standalone.gypi --depth=. -Ibuild/android.gypi \
+ -S.${ARCH} ${GYPFLAGS}
« libadblockplus.gyp ('K') | « libadblockplus.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld