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

Issue 29720588: Issue 6396 - Error creating non debug build config (Closed)

Created:
March 12, 2018, 11:18 a.m. by anton
Modified:
March 26, 2018, 10:52 a.m.
Visibility:
Public.

Description

Issue 6396 - Error creating non debug build config This helps to build apk in Release mode with V8 as shared library (by default for Release is_component_build=false and all the libs are compiled into static libraries). # BUT it crashes in runtime so one more code review is required to make it actually working (i'm switching to another task for now) and i or anyone else will return back to make it actually working. More information here: https://issues.adblockplus.org/ticket/6396#comment:15 # Closed in favour of more recent code review: https://codereview.adblockplus.org/29733646/

Patch Set 1 #

Total comments: 8
Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -14 lines) Patch
M BUILD.gn View 9 chunks +18 lines, -8 lines 4 comments Download
M gni/v8.gni View 2 chunks +30 lines, -5 lines 4 comments Download
M src/inspector/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7
anton
https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni File gni/v8.gni (right): https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni#newcode50 gni/v8.gni:50: v8_component_build = false now we should add "v8_component_build=true": gn ...
March 12, 2018, 11:23 a.m. (2018-03-12 11:23:20 UTC) #1
sergei
I have quickly run through the code without diving into details, it's very good that ...
March 12, 2018, 12:43 p.m. (2018-03-12 12:43:32 UTC) #2
anton
https://codereview.adblockplus.org/29720588/diff/29720589/BUILD.gn File BUILD.gn (left): https://codereview.adblockplus.org/29720588/diff/29720589/BUILD.gn#oldcode772 BUILD.gn:772: root_build_dir), On 2018/03/12 12:43:31, sergei wrote: > Is it ...
March 12, 2018, 12:51 p.m. (2018-03-12 12:51:23 UTC) #3
anton
> `is_component_build=true` hurts - all the libs are having ".so" and this brings > additional ...
March 12, 2018, 12:52 p.m. (2018-03-12 12:52:44 UTC) #4
jens
https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni File gni/v8.gni (right): https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni#newcode176 gni/v8.gni:176: output_extension = "cr.so" # override default .so with .cr.so ...
March 13, 2018, 1:17 p.m. (2018-03-13 13:17:49 UTC) #5
anton
On 2018/03/13 13:17:49, jens wrote: > https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni > File gni/v8.gni (right): > > https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni#newcode176 > ...
March 13, 2018, 1:19 p.m. (2018-03-13 13:19:33 UTC) #6
jens
March 13, 2018, 1:21 p.m. (2018-03-13 13:21:18 UTC) #7
On 2018/03/13 13:19:33, anton wrote:
> On 2018/03/13 13:17:49, jens wrote:
> > https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni
> > File gni/v8.gni (right):
> > 
> >
>
https://codereview.adblockplus.org/29720588/diff/29720589/gni/v8.gni#newcode176
> > gni/v8.gni:176: output_extension = "cr.so" # override default .so with
.cr.so
> > On 2018/03/12 12:51:22, anton wrote:
> > > On 2018/03/12 12:43:32, sergei wrote:
> > > > it would be better to put the reason it's overridden.
> > > 
> > > yes, i agree the comment could be better.
> > > Actually it's explained here:
> > >
> >
>
https://gitlab.com/eyeo/adblockplus/chromium/blob/dev-64.0.3249.2/build/toolc...
> > > Since it works inly for is_component_build by default removing
> > > `is_component_build=true` hurts - all the libs are having ".so" and this
> > brings
> > > additional issues.
> > > 
> > > TBD
> > 
> > You could just add a link to the ticket which explains why it needs to be
> done.
> 
> It's the same ticket. I've done 1 part (change build config to compile v8 as
> shared library even in Chromium Release mode) of 2.
> Now one have to make it running (as it crashes in runtime).

Yeah, I just mean as a extension to the existing comment, as Sergej and you
wrote that the comment could be improved to contain more information.

Powered by Google App Engine
This is Rietveld