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

Unified Diff: base/BUILD.gn

Issue 2823303003: base: remove -latomic in CrOS chroot (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/BUILD.gn
diff --git a/base/BUILD.gn b/base/BUILD.gn
index 78953bef001f4cec586d935a9680e804755f31d3..d4d600596c39497d03863839aa8ce9e76d12a68c 100644
--- a/base/BUILD.gn
+++ b/base/BUILD.gn
@@ -1129,7 +1129,9 @@ component("base") {
# Needed for <atomic> if using newer C++ library than sysroot
if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) {
gurchetansingh 2017/04/20 21:43:13 You can simplify with an !is_chromeos check here.
richard.townsend 2017/04/21 11:31:52 That's what I thought, but surprisingly it doesn't
Dirk Pranke 2017/04/24 21:12:22 If I understand this correctly, basically the prob
richard.townsend 2017/04/25 14:09:34 I did some further investigation on the native Lin
- libs = [ "atomic" ]
+ if (target_os != "chromeos") {
+ libs = [ "atomic" ]
+ }
}
if (use_experimental_allocator_shim) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698