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

Issue 2823303003: base: remove -latomic in CrOS chroot (Closed)

Created:
3 years, 8 months ago by richard.townsend
Modified:
3 years, 7 months ago
CC:
chromium-reviews, cmtice, danakj+watch_chromium.org, vmpstr+watch_chromium.org, martijnc, lgarron
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

base: remove -latomic in CrOS chroot libbase is needed when using compiled_action targets (these are helper programs compiled for use later in the build), but it doesn't currently build for the host inside the CrOS sysroot because the toolchain doesn't include the libatomic library. libbase does, however, seem to compile without the -latomic flag. TEST=Revert 5e671fffc45441c5dd3458871a8aa8f4a3f2e632, compile elm BUG=710006, 710841 Review-Url: https://codereview.chromium.org/2823303003 Cr-Commit-Position: refs/heads/master@{#467721} Committed: https://chromium.googlesource.com/chromium/src/+/2b156ccc00ebdb53389dc59917f60cf1d1dde6ac

Patch Set 1 #

Total comments: 4

Patch Set 2 : More robust check for CrOS environment #

Total comments: 1

Patch Set 3 : Fold if statement to outer level, improve inline documentation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M base/BUILD.gn View 1 2 1 chunk +5 lines, -2 lines 0 comments Download

Messages

Total messages: 45 (26 generated)
richard.townsend
This change is ready for review and addresses the root cause of http://crbug.com/710006 by removing ...
3 years, 8 months ago (2017-04-20 20:55:01 UTC) #7
lgarron
Thanks! Could we also add 710841 to BUG=?
3 years, 8 months ago (2017-04-20 21:36:25 UTC) #9
gurchetansingh
https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn File base/BUILD.gn (left): https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn#oldcode1131 base/BUILD.gn:1131: if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) { ...
3 years, 8 months ago (2017-04-20 21:43:13 UTC) #10
richard.townsend
https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn File base/BUILD.gn (left): https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn#oldcode1131 base/BUILD.gn:1131: if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) { ...
3 years, 8 months ago (2017-04-21 11:31:52 UTC) #12
gurchetansingh
On 2017/04/21 11:31:52, richard.townsend wrote: > https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn > File base/BUILD.gn (left): > > https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn#oldcode1131 > ...
3 years, 8 months ago (2017-04-21 15:25:12 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2823303003/1
3 years, 8 months ago (2017-04-24 10:37:27 UTC) #15
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 8 months ago (2017-04-24 10:37:29 UTC) #17
cavalcantii1
As all bots are green and the patch was lgtm ed, I'm adding it to ...
3 years, 8 months ago (2017-04-24 17:36:58 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2823303003/1
3 years, 8 months ago (2017-04-24 17:37:46 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/418743)
3 years, 8 months ago (2017-04-24 17:48:50 UTC) #22
Dirk Pranke
https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn File base/BUILD.gn (left): https://codereview.chromium.org/2823303003/diff/1/base/BUILD.gn#oldcode1131 base/BUILD.gn:1131: if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) { ...
3 years, 8 months ago (2017-04-24 21:12:22 UTC) #24
richard.townsend
I haven't yet updated the patch because it's looking less and less likely that the ...
3 years, 8 months ago (2017-04-25 14:09:34 UTC) #25
richard.townsend
Patchset #2 is ready for review and improves the check used to determine if Chromium's ...
3 years, 8 months ago (2017-04-25 19:06:30 UTC) #30
Dirk Pranke
https://codereview.chromium.org/2823303003/diff/20001/base/BUILD.gn File base/BUILD.gn (right): https://codereview.chromium.org/2823303003/diff/20001/base/BUILD.gn#newcode1137 base/BUILD.gn:1137: if (host_toolchain != "//build/toolchain/cros:host") { I'd fold the comment ...
3 years, 8 months ago (2017-04-25 19:18:06 UTC) #32
richard.townsend
Patchset #3 is ready for review. It folds the condition into the outer if statement ...
3 years, 8 months ago (2017-04-27 08:30:21 UTC) #37
danakj
LGTM
3 years, 7 months ago (2017-04-27 15:03:48 UTC) #38
Dirk Pranke
still lgtm.
3 years, 7 months ago (2017-04-27 17:01:48 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2823303003/40001
3 years, 7 months ago (2017-04-27 17:19:12 UTC) #42
commit-bot: I haz the power
3 years, 7 months ago (2017-04-27 17:44:21 UTC) #45
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/2b156ccc00ebdb53389dc59917f6...

Powered by Google App Engine
This is Rietveld 408576698