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

Side by Side Diff: base/BUILD.gn

Issue 2611173003: [chromecast] Do not link with -latomic (Closed)
Patch Set: Fixed gn format. Created 3 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # HOW TO WRITE CONDITIONALS IN THIS FILE 5 # HOW TO WRITE CONDITIONALS IN THIS FILE
6 # ====================================== 6 # ======================================
7 # 7 #
8 # In many other places, one would write a conditional that expresses all the 8 # In many other places, one would write a conditional that expresses all the
9 # cases when a source file is used or unused, and then either add or subtract 9 # cases when a source file is used or unused, and then either add or subtract
10 # it from the sources list in that case 10 # it from the sources list in that case
(...skipping 1074 matching lines...) Expand 10 before | Expand all | Expand 10 after
1085 ] 1085 ]
1086 1086
1087 public_deps = [ 1087 public_deps = [
1088 ":base_paths", 1088 ":base_paths",
1089 ":base_static", 1089 ":base_static",
1090 ":build_date", 1090 ":build_date",
1091 ":debugging_flags", 1091 ":debugging_flags",
1092 ] 1092 ]
1093 1093
1094 # Needed for <atomic> if using newer C++ library than sysroot 1094 # Needed for <atomic> if using newer C++ library than sysroot
1095 if (!use_sysroot && (is_android || is_linux)) { 1095 if (!use_sysroot && (is_android || (is_linux && !is_chromecast))) {
1096 libs = [ "atomic" ] 1096 libs = [ "atomic" ]
1097 } 1097 }
1098 1098
1099 if (use_experimental_allocator_shim) { 1099 if (use_experimental_allocator_shim) {
1100 # The allocator shim is part of the base API. This is to allow clients of 1100 # The allocator shim is part of the base API. This is to allow clients of
1101 # base should to install hooks into the allocator path. 1101 # base should to install hooks into the allocator path.
1102 public_deps += [ "//base/allocator:unified_allocator_shim" ] 1102 public_deps += [ "//base/allocator:unified_allocator_shim" ]
1103 } 1103 }
1104 1104
1105 # Allow more direct string conversions on platforms with native utf8 1105 # Allow more direct string conversions on platforms with native utf8
(...skipping 1459 matching lines...) Expand 10 before | Expand all | Expand 10 after
2565 } 2565 }
2566 2566
2567 fuzzer_test("base_json_correctness_fuzzer") { 2567 fuzzer_test("base_json_correctness_fuzzer") {
2568 sources = [ 2568 sources = [
2569 "json/correctness_fuzzer.cc", 2569 "json/correctness_fuzzer.cc",
2570 ] 2570 ]
2571 deps = [ 2571 deps = [
2572 ":base", 2572 ":base",
2573 ] 2573 ]
2574 } 2574 }
OLDNEW
« 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