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: Install as application scope extension Created Jan. 23, 2015, 11:20 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 | « mobile/android/base/distribution/Distribution.java ('k') | mobile/android/installer/package-manifest.in » ('j') | 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)
Wladimir Palant 2015/02/18 17:54:01 No need to change directory, build.py can be calle
Felix Dahlke 2015/02/19 10:54:14 Unfortunately not, the build process expects some
Wladimir Palant 2015/02/19 18:03:32 Yes, it is indeed a bug - while all the code works
Felix Dahlke 2015/02/19 20:32:09 Here we go :) https://issues.adblockplus.org/tick
+ $(INSTALL_DATA) $(abp_source_dir)/$(abp_xpi_file) $(DIST)/bin/extensions
+
+package: package_abp
Wladimir Palant 2015/02/18 17:54:01 Do we have to mess up this makefile? Won't creatin
Felix Dahlke 2015/02/19 10:54:14 /extensions doesn't have anything to do with the e
Wladimir Palant 2015/02/19 18:03:32 I know - it's build system extensions, meant for c
@$(MAKE) -C mobile/android/installer
ifeq ($(OS_TARGET),Android)
« no previous file with comments | « mobile/android/base/distribution/Distribution.java ('k') | mobile/android/installer/package-manifest.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld