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

Unified Diff: mobile/android/extensions/Makefile.in

Issue 4540363985387520: Embed Adblock Plus (Closed)
Patch Set: WIP - Use the mobile/android/extensions directory Created Jan. 3, 2015, 2:17 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 | « no previous file | 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/extensions/Makefile.in
===================================================================
--- a/mobile/android/extensions/Makefile.in
+++ b/mobile/android/extensions/Makefile.in
@@ -5,6 +5,7 @@
include $(topsrcdir)/config/rules.mk
SHUMWAY_BROWSER_EXTENSION = $(topsrcdir)/browser/extensions/shumway
+ADBLOCKPLUS_BROWSER_EXTENSION = $(topsrcdir)/adblockplus
exclude_files = \
test \
@@ -24,4 +25,14 @@
$(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chrome/shumway.manifest")
endif
+$(FINAL_TARGET)/chrome/adblockplus.manifest: $(GLOBAL_DEPS)
+ $(call py_action,buildlist,$@ "manifest adblockplus/chrome.manifest")
+libs:: $(ADBLOCKPLUS_BROWSER_EXTENSION) $(GLOBAL_DEPS)
+ $(PYTHON) $(topsrcdir)/config/nsinstall.py \
+ $(ADBLOCKPLUS_BROWSER_EXTENSION) \
+ $(foreach exclude,$(exclude_files), -X $(ADBLOCKPLUS_BROWSER_EXTENSION)/$(exclude)) \
+ $(FINAL_TARGET)/chrome
+
+libs:: $(FINAL_TARGET)/chrome/adblockplus.manifest
+ $(call py_action,buildlist,$(FINAL_TARGET)/chrome.manifest "manifest chrome/adblockplus.manifest")
« no previous file with comments | « no previous file | mobile/android/installer/package-manifest.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld