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

Unified Diff: mobile/android/build.mk

Issue 4540363985387520: Embed Adblock Plus (Closed)
Patch Set: Get rid of distribute_abp, add ABP as subrepository Created Nov. 30, 2014, 6:10 a.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
« no previous file with comments | « .hgsubstate ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mobile/android/build.mk
===================================================================
--- a/mobile/android/build.mk
+++ b/mobile/android/build.mk
@@ -7,7 +7,13 @@
installer:
@$(MAKE) -C mobile/android/installer installer
-package:
+abp_source_dir=$(topsrcdir)/adblockplus
+abp_xpi_file=\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d\}.xpi
+package_abp: $(abp_source_dir)
+ cd $(abp_source_dir); ./build.py build $(abp_xpi_file)
+ $(INSTALL_DATA) $(abp_source_dir)/$(abp_xpi_file) $(DIST)/bin/distribution/extensions
+
+package: package_abp
@$(MAKE) -C mobile/android/installer
ifeq ($(OS_TARGET),Android)
« no previous file with comments | « .hgsubstate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld