Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Issue 431803003: gn win: Enable exceptions for pdfium build (Closed)

Created:
6 years, 4 months ago by scottmg
Modified:
6 years, 3 months ago
Reviewers:
brettw, jam, Nico
CC:
chromium-reviews
Project:
chromium
Visibility:
Public.

Description

gn win: Enable exceptions for pdfium build Homogenizes with gcc to make a consistent way to enable exceptions for a target. Needs to include roll of https://codereview.chromium.org/426153007/ after that lands R=brettw@chromium.org BUG=354261

Patch Set 1 #

Patch Set 2 : homogenize posix/win #

Patch Set 3 : . #

Patch Set 4 : include pdfium roll #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -16 lines) Patch
M DEPS View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 1 chunk +8 lines, -1 line 2 comments Download
M build/config/compiler/BUILD.gn View 1 3 chunks +21 lines, -9 lines 0 comments Download
M build/config/gcc/BUILD.gn View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M build/config/win/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
scottmg
6 years, 4 months ago (2014-07-30 22:07:49 UTC) #1
brettw
Can you unify this with the build/config/gcc:no_exceptions so there's a uniform way to enable exceptions ...
6 years, 4 months ago (2014-07-30 22:15:48 UTC) #2
scottmg
On 2014/07/30 22:15:48, brettw wrote: > Can you unify this with the build/config/gcc:no_exceptions so there's ...
6 years, 4 months ago (2014-07-30 22:17:40 UTC) #3
brettw
Yeah, I guess so
6 years, 4 months ago (2014-07-30 22:22:53 UTC) #4
scottmg
On 2014/07/30 22:15:48, brettw wrote: > Can you unify this with the build/config/gcc:no_exceptions so there's ...
6 years, 4 months ago (2014-07-30 22:28:50 UTC) #5
brettw
lgtm
6 years, 4 months ago (2014-07-30 22:41:36 UTC) #6
scottmg
Oh, I was confused. Needs to land the pdfium file in https://codereview.chromium.org/426153007/ and include the ...
6 years, 4 months ago (2014-07-30 22:48:00 UTC) #7
scottmg
The CQ bit was checked by scottmg@chromium.org
6 years, 4 months ago (2014-07-31 22:38:01 UTC) #8
scottmg
+jam fyi for pdfium roll
6 years, 4 months ago (2014-07-31 22:38:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/scottmg@chromium.org/431803003/60001
6 years, 4 months ago (2014-07-31 22:39:40 UTC) #10
Nico
Also, https://code.google.com/p/pdfium/issues/detail?id=28 fyi https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn#newcode328 build/config/BUILDCONFIG.gn:328: _native_compiler_configs += [ "//build/config/compiler:exceptions" ] This ...
6 years, 4 months ago (2014-07-31 23:15:23 UTC) #11
Nico
The CQ bit was unchecked by thakis@chromium.org
6 years, 4 months ago (2014-07-31 23:15:33 UTC) #12
scottmg
Ah, thanks. https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn File build/config/BUILDCONFIG.gn (right): https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn#newcode328 build/config/BUILDCONFIG.gn:328: _native_compiler_configs += [ "//build/config/compiler:exceptions" ] On 2014/07/31 ...
6 years, 4 months ago (2014-07-31 23:24:31 UTC) #13
scottmg
On 2014/07/31 23:24:31, scottmg wrote: > Ah, thanks. > > https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn > File build/config/BUILDCONFIG.gn (right): ...
6 years, 4 months ago (2014-07-31 23:26:41 UTC) #14
Nico
On 2014/07/31 23:26:41, scottmg wrote: > On 2014/07/31 23:24:31, scottmg wrote: > > Ah, thanks. ...
6 years, 4 months ago (2014-07-31 23:28:47 UTC) #15
scottmg
On 2014/07/31 23:26:41, scottmg wrote: > On 2014/07/31 23:24:31, scottmg wrote: > > Ah, thanks. ...
6 years, 4 months ago (2014-07-31 23:29:03 UTC) #16
scottmg
On 2014/07/31 23:28:47, Nico (away) wrote: > On 2014/07/31 23:26:41, scottmg wrote: > > On ...
6 years, 4 months ago (2014-07-31 23:35:46 UTC) #17
scottmg
6 years, 4 months ago (2014-08-01 00:02:11 UTC) #18
On 2014/07/31 23:35:46, scottmg wrote:
> On 2014/07/31 23:28:47, Nico (away) wrote:
> > On 2014/07/31 23:26:41, scottmg wrote:
> > > On 2014/07/31 23:24:31, scottmg wrote:
> > > > Ah, thanks.
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG.gn
> > > > File build/config/BUILDCONFIG.gn (right):
> > > > 
> > > >
> > >
> >
>
https://codereview.chromium.org/431803003/diff/60001/build/config/BUILDCONFIG...
> > > > build/config/BUILDCONFIG.gn:328: _native_compiler_configs += [
> > > > "//build/config/compiler:exceptions" ]
> > > > On 2014/07/31 23:15:23, Nico (away) wrote:
> > > > > This isn't right, see https://codereview.chromium.org/419973003/ (or
> that
> > > > change
> > > > > is wrong, I suppose)
> > > > 
> > > > OK, this is mostly just a port of existing behaviour, so I'm going to
let
> it
> > > go
> > > > as pdfium can't roll until this lands (because I moved the posix one).
> > > > 
> > > > So we don't have any reason to enable exceptions any longer? Or just not
> > based
> > > > on shared/static?
> > 
> > Just not based on shared/static for now, but
> > https://code.google.com/p/pdfium/issues/detail?id=28 is hopefully fixed soon
> and
> > then we won't need them anywhere.
> 
> Great!
> 
> > 
> > (If you think landing this cl is the right thing to do for now, do go ahead,
i
> > just unchecked to make sure that you see my note)
> > 
> > > 
> > > Never mind, I'm dopey. Of course we need this for pdfium still.
> > > 
> > > I'll fix the shared_library in a followup.

Bleh: https://code.google.com/p/pdfium/issues/detail?id=31

Powered by Google App Engine
This is Rietveld 408576698