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

Issue 1397953002: GN: Fix NaCl IRT build options (Closed)

Created:
5 years, 2 months ago by Roland McGrath
Modified:
5 years, 2 months ago
CC:
chromium-reviews, Petr Hosek, bbudge
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

GN: Fix NaCl IRT build options The NaCl IRT is a special case and needs to be built with specific code-generation and optimization options (we also always want debug symbols). This plumbs through an is_nacl_irt variable that configs can test, and uses that to make the standard configs do the right thing. The resulting compiler and linker flags are a close approximation of what GYP uses. BUG=531702 R=dpranke@chromium.org, dschuff@chromium.org Committed: https://crrev.com/0b9de3622acdbc1fba625094b369090f65145b78 Cr-Commit-Position: refs/heads/master@{#353385}

Patch Set 1 #

Patch Set 2 : version with is_nacl_irt outside of declare_args #

Total comments: 2

Patch Set 3 : review nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+136 lines, -40 lines) Patch
M build/config/compiler/BUILD.gn View 5 chunks +55 lines, -31 lines 0 comments Download
M build/config/nacl/BUILD.gn View 1 2 2 chunks +61 lines, -0 lines 0 comments Download
M build/config/nacl/config.gni View 1 1 chunk +3 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 1 chunk +1 line, -0 lines 0 comments Download
M build/toolchain/nacl/BUILD.gn View 1 1 chunk +4 lines, -0 lines 0 comments Download
M build/toolchain/nacl_toolchain.gni View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/BUILD.gn View 1 1 chunk +11 lines, -9 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Roland McGrath
5 years, 2 months ago (2015-10-08 23:28:28 UTC) #1
Dirk Pranke
It seems like we could avoid having to declare is_nacl_irt as an arg if you ...
5 years, 2 months ago (2015-10-09 00:17:49 UTC) #3
Roland McGrath
On 2015/10/09 00:17:49, Dirk Pranke wrote: > It seems like we could avoid having to ...
5 years, 2 months ago (2015-10-09 16:54:12 UTC) #4
Roland McGrath
PTAL, now using current_toolchain test rather than toolchain_args for is_nacl_irt value
5 years, 2 months ago (2015-10-09 18:22:25 UTC) #5
Dirk Pranke
The second patchset lgtm as well, apart from the one nit I noticed. I remember ...
5 years, 2 months ago (2015-10-09 19:25:53 UTC) #6
Dirk Pranke
okay, brettw and I chatted and we both prefer the non-declare_arg() version (i.e., avoid adding ...
5 years, 2 months ago (2015-10-09 19:44:23 UTC) #7
Roland McGrath
I was thinking of https://codereview.chromium.org/1333673002/ but the discussion there doesn't seem to include any suggestions ...
5 years, 2 months ago (2015-10-09 20:35:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397953002/40001
5 years, 2 months ago (2015-10-09 20:36:02 UTC) #11
Roland McGrath
+bbudge for ppapi/OWNERS review I'm not at all sure why that change is necessary now ...
5 years, 2 months ago (2015-10-09 20:44:55 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/108299)
5 years, 2 months ago (2015-10-09 20:46:01 UTC) #14
bbudge
ppapi lgtm
5 years, 2 months ago (2015-10-09 20:59:11 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1397953002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1397953002/40001
5 years, 2 months ago (2015-10-09 21:03:17 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-09 21:23:10 UTC) #19
commit-bot: I haz the power
5 years, 2 months ago (2015-10-09 21:23:58 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0b9de3622acdbc1fba625094b369090f65145b78
Cr-Commit-Position: refs/heads/master@{#353385}

Powered by Google App Engine
This is Rietveld 408576698