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

Issue 1333673002: Build PPAPI NaCl Glibc tests with GN (Closed)

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

Description

Build PPAPI NaCl Glibc tests with GN Support building PPAPI NaCl tests with GCC/Glibc-based toolchain. BUG=462791 Committed: https://crrev.com/70a330fb376e614a401e738f6e7442674b0052bd Cr-Commit-Position: refs/heads/master@{#350467}

Patch Set 1 #

Total comments: 17

Patch Set 2 : Review feedback addressed #

Total comments: 6

Patch Set 3 : Combine Newlib and Glibc targets #

Total comments: 8

Patch Set 4 : Review feedback addressed #

Total comments: 2

Patch Set 5 : Rebased #

Patch Set 6 : Mark pp::CreateModule as exported symbol #

Patch Set 7 : Use the correct suffix #

Patch Set 8 : Mark test artifacts as data dependencies #

Patch Set 9 : Rebase #

Total comments: 2

Patch Set 10 : Removed unnecessary assignments from toolchain definitions #

Patch Set 11 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+138 lines, -23 lines) Patch
A build/config/nacl/config.gni View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M build/toolchain/gcc_toolchain.gni View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M build/toolchain/nacl/BUILD.gn View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -0 lines 0 comments Download
M build/toolchain/nacl_toolchain.gni View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 2 chunks +5 lines, -1 line 0 comments Download
M ppapi/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 3 chunks +98 lines, -15 lines 0 comments Download
M ppapi/native_client/BUILD.gn View 1 2 3 4 5 6 7 2 chunks +6 lines, -4 lines 0 comments Download
M ppapi/native_client/src/untrusted/irt_stub/BUILD.gn View 2 chunks +4 lines, -2 lines 0 comments Download
M ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_start.c View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M ppapi/tests/testing_instance.cc View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 57 (24 generated)
Petr Hosek
PTAL, by the way is there a way to run trybots with custom gn arguments ...
5 years, 3 months ago (2015-09-09 16:37:06 UTC) #2
brettw
To do the trybots, send a patch with the default value changed in the .gni ...
5 years, 3 months ago (2015-09-09 17:41:59 UTC) #3
Dirk Pranke
mostly looks okay, but I'd like Brett to take a good look as well. You ...
5 years, 3 months ago (2015-09-09 20:00:35 UTC) #4
brettw
Didn't look at the ppapi file yet, will do so shortly... https://codereview.chromium.org/1333673002/diff/1/build/config/nacl/nacl.gni File build/config/nacl/nacl.gni (right): ...
5 years, 3 months ago (2015-09-09 20:52:31 UTC) #5
Petr Hosek
Do you have any recommendation for naming libraries which are being built both as static ...
5 years, 3 months ago (2015-09-09 20:55:55 UTC) #6
brettw
https://codereview.chromium.org/1333673002/diff/1/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/1/ppapi/BUILD.gn#newcode156 ppapi/BUILD.gn:156: configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] This needs to be ...
5 years, 3 months ago (2015-09-09 21:08:46 UTC) #7
brettw
https://codereview.chromium.org/1333673002/diff/1/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/1/ppapi/BUILD.gn#newcode162 ppapi/BUILD.gn:162: cflags = [ "-fPIC" ] Actually, this whole target ...
5 years, 3 months ago (2015-09-09 21:19:19 UTC) #8
Roland McGrath
On 2015/09/09 21:19:19, brettw wrote: > -fPIC *isn't* automatically set for all compiles on NaCl. ...
5 years, 3 months ago (2015-09-09 21:24:42 UTC) #9
brettw
On 2015/09/09 21:24:42, Roland McGrath wrote: > On 2015/09/09 21:19:19, brettw wrote: > > -fPIC ...
5 years, 3 months ago (2015-09-09 21:40:56 UTC) #10
Petr Hosek
https://codereview.chromium.org/1333673002/diff/1/build/config/nacl/nacl.gni File build/config/nacl/nacl.gni (right): https://codereview.chromium.org/1333673002/diff/1/build/config/nacl/nacl.gni#newcode5 build/config/nacl/nacl.gni:5: nacl_toolchain_dir = rebase_path("//native_client/toolchain") On 2015/09/09 20:52:30, brettw wrote: > ...
5 years, 3 months ago (2015-09-09 22:14:50 UTC) #11
brettw
LGTM https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn#newcode160 ppapi/BUILD.gn:160: "//build/config/nacl:nacl_base", I think you mean to put this ...
5 years, 3 months ago (2015-09-10 05:02:50 UTC) #12
Petr Hosek
https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn#newcode234 ppapi/BUILD.gn:234: "${root_build_dir}/{{source_name_part}}_${target_cpu}.nexe", On 2015/09/10 05:02:50, brettw wrote: > Actually, I ...
5 years, 3 months ago (2015-09-10 06:25:31 UTC) #13
brettw
On 2015/09/10 06:25:31, Petr Hosek wrote: > I'm fine to fix it even in this ...
5 years, 3 months ago (2015-09-10 17:20:09 UTC) #14
Dirk Pranke
https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/20001/ppapi/BUILD.gn#newcode234 ppapi/BUILD.gn:234: "${root_build_dir}/{{source_name_part}}_${target_cpu}.nexe", On 2015/09/10 05:02:50, brettw wrote: > But basically ...
5 years, 3 months ago (2015-09-10 22:27:21 UTC) #15
Dirk Pranke
+mcgrathr since we're talking about how the toolchains might work.
5 years, 3 months ago (2015-09-10 22:28:04 UTC) #16
Petr Hosek
Yes, unless we want to change tests so they load nexe's from the respective toolchain ...
5 years, 3 months ago (2015-09-10 22:49:19 UTC) #17
Dirk Pranke
On 2015/09/10 22:49:19, Petr Hosek wrote: > Yes, unless we want to change tests so ...
5 years, 3 months ago (2015-09-10 22:50:28 UTC) #18
brettw
The only newlib/glibc thing that should appear would be in the output file of the ...
5 years, 3 months ago (2015-09-10 23:00:15 UTC) #19
brettw
On 2015/09/10 23:00:15, brettw wrote: > The only newlib/glibc thing that should appear would be ...
5 years, 3 months ago (2015-09-11 20:41:34 UTC) #20
Petr Hosek
I have just uploaded the new version, but I'll update the code to use the ...
5 years, 3 months ago (2015-09-11 22:10:50 UTC) #21
Roland McGrath
https://codereview.chromium.org/1333673002/diff/40001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/40001/ppapi/BUILD.gn#newcode150 ppapi/BUILD.gn:150: configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] Why? I don't see ...
5 years, 3 months ago (2015-09-14 20:19:51 UTC) #23
Petr Hosek
https://codereview.chromium.org/1333673002/diff/40001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/40001/ppapi/BUILD.gn#newcode150 ppapi/BUILD.gn:150: configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] On 2015/09/14 20:19:51, Roland ...
5 years, 3 months ago (2015-09-14 23:50:44 UTC) #24
Roland McGrath
LGTM though it's going to need some rebasing https://codereview.chromium.org/1333673002/diff/60001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/60001/ppapi/BUILD.gn#newcode195 ppapi/BUILD.gn:195: # ...
5 years, 3 months ago (2015-09-17 18:16:52 UTC) #25
Petr Hosek
https://codereview.chromium.org/1333673002/diff/60001/ppapi/BUILD.gn File ppapi/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/60001/ppapi/BUILD.gn#newcode195 ppapi/BUILD.gn:195: # defined by the test executable. On 2015/09/17 18:16:52, ...
5 years, 3 months ago (2015-09-17 21:54:09 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333673002/380001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333673002/380001
5 years, 3 months ago (2015-09-23 18:15:47 UTC) #40
Roland McGrath
https://codereview.chromium.org/1333673002/diff/380001/build/toolchain/nacl/BUILD.gn File build/toolchain/nacl/BUILD.gn (right): https://codereview.chromium.org/1333673002/diff/380001/build/toolchain/nacl/BUILD.gn#newcode114 build/toolchain/nacl/BUILD.gn:114: is_nacl_glibc = false This is superfluous, right? The default ...
5 years, 3 months ago (2015-09-23 18:33:36 UTC) #41
Petr Hosek
https://chromiumcodereview.appspot.com/1333673002/diff/380001/build/toolchain/nacl/BUILD.gn File build/toolchain/nacl/BUILD.gn (right): https://chromiumcodereview.appspot.com/1333673002/diff/380001/build/toolchain/nacl/BUILD.gn#newcode114 build/toolchain/nacl/BUILD.gn:114: is_nacl_glibc = false On 2015/09/23 18:33:36, Roland McGrath wrote: ...
5 years, 3 months ago (2015-09-23 18:37:28 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333673002/400001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333673002/400001
5 years, 3 months ago (2015-09-23 18:39:34 UTC) #46
commit-bot: I haz the power
Try jobs failed on following builders: win8_chromium_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win8_chromium_ng/builds/44483)
5 years, 3 months ago (2015-09-23 19:44:03 UTC) #48
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333673002/420001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333673002/420001
5 years, 3 months ago (2015-09-23 21:55:39 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1333673002/440001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1333673002/440001
5 years, 3 months ago (2015-09-24 02:45:33 UTC) #55
commit-bot: I haz the power
Committed patchset #11 (id:440001)
5 years, 3 months ago (2015-09-24 03:23:43 UTC) #56
commit-bot: I haz the power
5 years, 3 months ago (2015-09-24 03:24:51 UTC) #57
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/70a330fb376e614a401e738f6e7442674b0052bd
Cr-Commit-Position: refs/heads/master@{#350467}

Powered by Google App Engine
This is Rietveld 408576698