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

Unified Diff: mobile/android/build.mk

Issue 6302236728623104: Add Adblock Plus API (Closed)
Patch Set: Created March 13, 2015, 10:15 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
« no previous file with comments | « dependencies ('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,11 +7,9 @@
installer:
@$(MAKE) -C mobile/android/installer installer
-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/extensions
+package_abp:
+ $(MKDIR) -p $(DIST)/bin/extensions
+ PYTHONPATH="$(topsrcdir)/adblockplus/adblockplus" $(topsrcdir)/adblockplus/build.py build $(DIST)/bin/extensions/\{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d\}.xpi
Felix Dahlke 2015/03/13 22:22:37 Was hoping this would get a lot less hacky, but it
package: package_abp
@$(MAKE) -C mobile/android/installer
« no previous file with comments | « dependencies ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld