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

Issue 4540363985387520: Embed Adblock Plus (Closed)

Created:
Nov. 19, 2014, 3:54 p.m. by Felix Dahlke
Modified:
May 21, 2015, 11:49 a.m.
Visibility:
Public.

Description

Embed Adblock Plus Note that this patch also adds the file a file called adblockplus-2.6.6.3875.xpi - for some reason Rietveld doesn't show it. Please note that this is based on: http://codereview.adblockplus.org/6349873972510720/

Patch Set 1 #

Patch Set 2 : Get rid of distribute_abp, add ABP as subrepository #

Patch Set 3 : WIP - Use the extensions directory #

Total comments: 1

Patch Set 4 : WIP - Use the mobile/android/extensions directory #

Patch Set 5 : Install as application scope extension #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -2 lines) Patch
A .hgsub View 1 3 4 1 chunk +1 line, -0 lines 0 comments Download
A .hgsubstate View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mobile/android/app/mobile.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M mobile/android/base/distribution/Distribution.java View 1 2 3 4 2 chunks +55 lines, -0 lines 0 comments Download
M mobile/android/build.mk View 1 2 3 4 1 chunk +7 lines, -1 line 7 comments Download
M mobile/android/installer/package-manifest.in View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19
Felix Dahlke
This is how I've embedded ABP so far: Our latest XPI is added to the ...
Nov. 19, 2014, 3:57 p.m. (2014-11-19 15:57:20 UTC) #1
Wladimir Palant
I don't think that the distribution mechanism makes sense if we create our own builds ...
Nov. 20, 2014, 6:02 p.m. (2014-11-20 18:02:31 UTC) #2
Wladimir Palant
I think I figured this out. |ac_add_options --enable-extensions=default,adblockplus| is merely a way to add a ...
Nov. 20, 2014, 8:57 p.m. (2014-11-20 20:57:33 UTC) #3
Felix Dahlke
On 2014/11/20 20:57:33, Wladimir Palant wrote: > I think I figured this out. |ac_add_options > ...
Nov. 29, 2014, 5:48 a.m. (2014-11-29 05:48:10 UTC) #4
Felix Dahlke
On 2014/11/29 05:48:10, Felix H. Dahlke wrote: > On 2014/11/20 20:57:33, Wladimir Palant wrote: > ...
Nov. 30, 2014, 6:14 a.m. (2014-11-30 06:14:39 UTC) #5
Wladimir Palant
On 2014/11/29 05:48:10, Felix H. Dahlke wrote: > All in all, I think we should ...
Dec. 1, 2014, 10:20 a.m. (2014-12-01 10:20:28 UTC) #6
Felix Dahlke
On 2014/12/01 10:20:28, Wladimir Palant wrote: > I strongly suspect that we don't - the ...
Dec. 1, 2014, 4:59 p.m. (2014-12-01 16:59:52 UTC) #7
Wladimir Palant
On 2014/12/01 16:59:52, Felix H. Dahlke wrote: > What's wrong with updates? I've just tested ...
Dec. 1, 2014, 7:46 p.m. (2014-12-01 19:46:22 UTC) #8
Felix Dahlke
On 2014/12/01 19:46:22, Wladimir Palant wrote: > On 2014/12/01 16:59:52, Felix H. Dahlke wrote: > ...
Dec. 4, 2014, 4:18 p.m. (2014-12-04 16:18:57 UTC) #9
Felix Dahlke
I've uploaded a WIP patch for the extensions directory mechanism (it also adds the XPI ...
Dec. 5, 2014, 7:22 p.m. (2014-12-05 19:22:23 UTC) #10
Felix Dahlke
Alright, investigated this further: /extensions definitely seems like the wrong place. How I see it, ...
Jan. 3, 2015, 2:28 a.m. (2015-01-03 02:28:41 UTC) #11
Felix Dahlke
Discussed this with Wladimir today, and he actually proved me wrong and showed me that ...
Jan. 21, 2015, 5:17 p.m. (2015-01-21 17:17:11 UTC) #12
Felix Dahlke
Finally an approach that works as desired! 1. No automatic updates. 2. The user can't ...
Jan. 23, 2015, 11:24 p.m. (2015-01-23 23:24:48 UTC) #13
Wladimir Palant
This looks good to me but René should check the changes to Distribution.java. http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk File ...
Feb. 18, 2015, 5:54 p.m. (2015-02-18 17:54:01 UTC) #14
René Jeschke
Java part: LGTM
Feb. 19, 2015, 10:16 a.m. (2015-02-19 10:16:30 UTC) #15
Felix Dahlke
http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk File mobile/android/build.mk (right): http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk#newcode13 mobile/android/build.mk:13: cd $(abp_source_dir); ./build.py build $(abp_xpi_file) On 2015/02/18 17:54:01, Wladimir ...
Feb. 19, 2015, 10:54 a.m. (2015-02-19 10:54:14 UTC) #16
Wladimir Palant
LGTM http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk File mobile/android/build.mk (right): http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk#newcode13 mobile/android/build.mk:13: cd $(abp_source_dir); ./build.py build $(abp_xpi_file) On 2015/02/19 10:54:14, ...
Feb. 19, 2015, 6:03 p.m. (2015-02-19 18:03:32 UTC) #17
Felix Dahlke
On 2015/02/19 18:03:32, Wladimir Palant wrote: > LGTM > > http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobile/android/build.mk > File mobile/android/build.mk (right): ...
Feb. 19, 2015, 6:43 p.m. (2015-02-19 18:43:27 UTC) #18
Felix Dahlke
Feb. 19, 2015, 8:32 p.m. (2015-02-19 20:32:09 UTC) #19
http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobi...
File mobile/android/build.mk (right):

http://codereview.adblockplus.org/4540363985387520/diff/5732694713434112/mobi...
mobile/android/build.mk:13: cd $(abp_source_dir); ./build.py build
$(abp_xpi_file)
On 2015/02/19 18:03:32, Wladimir Palant wrote:
> On 2015/02/19 10:54:14, Felix H. Dahlke wrote:
> > Unfortunately not, the build process expects some stuff in the cwd (e.g. the
> > dependencies file and metadata.gecko). Seems a bit like a bug to me
actually,
> 
> Yes, it is indeed a bug - while all the code works with any directory, our
> build.py boilerplate passes in '.' as basedir :-(

Here we go :)

https://issues.adblockplus.org/ticket/2020

Powered by Google App Engine
This is Rietveld