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

Issue 1312813003: add nacl_toolchain to //build and flip to using it in the GN build. (Closed)

Created:
5 years, 3 months ago by Dirk Pranke
Modified:
5 years, 3 months ago
CC:
chromium-reviews, extensions-reviews_chromium.org, qsr+mojo_chromium.org, chromoting-reviews_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, chromium-apps-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@build_changes
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add nacl_toolchain to //build and flip to using it in the GN Build. With this change, in the Chromium repo NaCl will now be built solely using Chromium's versions of the GN build files, rather than a mixture of chromium and NaCl files. This will allow us to delete the NaCl versions in a subsequent NaCl-side CL and switch to pulling the chromium versions in via a DEPS entry, and thus "unfork" the build. R=brettw@chromium.org, ncbray@chromium.org, mcgrathr@chromium.org BUG=433528 Committed: https://crrev.com/fa6ffe2fb9f488ddb859555f5abc29de72407a62 Cr-Commit-Position: refs/heads/master@{#346452}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 30

Patch Set 3 : update w/ review feedback from brettw #

Patch Set 4 : tweak component build wording in comment #

Patch Set 5 : merge to #346439 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+345 lines, -67 lines) Patch
M .gn View 1 2 2 chunks +1 line, -2 lines 0 comments Download
A build/config/nacl/BUILD.gn View 1 2 1 chunk +81 lines, -0 lines 0 comments Download
M build/toolchain/nacl/BUILD.gn View 1 2 1 chunk +197 lines, -57 lines 0 comments Download
A build/toolchain/nacl_toolchain.gni View 1 2 3 1 chunk +57 lines, -0 lines 0 comments Download
M components/nacl/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/BUILD.gn View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M ppapi/native_client/src/untrusted/pnacl_support_extension/BUILD.gn View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/tools/javascript_key_tester/BUILD.gn View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/mojo/src/nacl_bindings/BUILD.gn View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 21 (6 generated)
Dirk Pranke
This patch depends on the gcc_toolchain changes in https://codereview.chromium.org/1322523008/ landing first. https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/BUILD.gn File build/config/nacl/BUILD.gn (right): ...
5 years, 3 months ago (2015-08-28 02:29:41 UTC) #2
brettw
https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/BUILD.gn File build/config/nacl/BUILD.gn (right): https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/BUILD.gn#newcode10 build/config/nacl/BUILD.gn:10: include_dirs = [ "//." ] This should come from ...
5 years, 3 months ago (2015-08-28 18:25:52 UTC) #3
brettw
https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/nacl_defines.gni File build/config/nacl/nacl_defines.gni (right): https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/nacl_defines.gni#newcode1 build/config/nacl/nacl_defines.gni:1: # Copyright (c) 2014 The Chromium Authors. All rights ...
5 years, 3 months ago (2015-08-28 19:08:38 UTC) #4
Dirk Pranke
https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/BUILD.gn File build/config/nacl/BUILD.gn (right): https://codereview.chromium.org/1312813003/diff/20001/build/config/nacl/BUILD.gn#newcode10 build/config/nacl/BUILD.gn:10: include_dirs = [ "//." ] On 2015/08/28 18:25:52, brettw ...
5 years, 3 months ago (2015-08-28 20:08:32 UTC) #5
Dirk Pranke
https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn File build/toolchain/nacl/BUILD.gn (right): https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn#newcode9 build/toolchain/nacl/BUILD.gn:9: nacl_toolchain_dir = rebase_path("//native_client/toolchain", root_build_dir) ok, after checking with them, ...
5 years, 3 months ago (2015-08-28 20:37:08 UTC) #6
Dirk Pranke
updated; please take another look?
5 years, 3 months ago (2015-08-28 20:53:14 UTC) #7
Roland McGrath
https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn File build/toolchain/nacl/BUILD.gn (right): https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn#newcode34 build/toolchain/nacl/BUILD.gn:34: nacl_toolchain("newlib_arm") { When I started hacking on this stuff, ...
5 years, 3 months ago (2015-08-28 20:58:40 UTC) #8
Dirk Pranke
https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn File build/toolchain/nacl/BUILD.gn (right): https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl/BUILD.gn#newcode34 build/toolchain/nacl/BUILD.gn:34: nacl_toolchain("newlib_arm") { On 2015/08/28 20:58:40, Roland McGrath wrote: > ...
5 years, 3 months ago (2015-08-28 21:17:05 UTC) #9
brettw
lgtm
5 years, 3 months ago (2015-08-28 22:22:28 UTC) #10
Roland McGrath
https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl_toolchain.gni File build/toolchain/nacl_toolchain.gni (right): https://codereview.chromium.org/1312813003/diff/20001/build/toolchain/nacl_toolchain.gni#newcode52 build/toolchain/nacl_toolchain.gni:52: # NaCl toolchains do not support shared libraries and ...
5 years, 3 months ago (2015-08-28 22:35:58 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312813003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312813003/60001
5 years, 3 months ago (2015-08-31 19:25:46 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/105628) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-08-31 19:27:39 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1312813003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1312813003/80001
5 years, 3 months ago (2015-08-31 19:45:37 UTC) #19
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-08-31 20:18:00 UTC) #20
commit-bot: I haz the power
5 years, 3 months ago (2015-08-31 20:18:59 UTC) #21
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/fa6ffe2fb9f488ddb859555f5abc29de72407a62
Cr-Commit-Position: refs/heads/master@{#346452}

Powered by Google App Engine
This is Rietveld 408576698