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

Side by Side Diff: runtime/vm/BUILD.gn

Issue 1127273008: Only add -lrt on Linux, not on Mac (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 7 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 | Annotate | Revision Log
« 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) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 config("libdart_vm_config") { 5 config("libdart_vm_config") {
6 libs = [ 6 libs = [
7 "dl", 7 "dl",
8 ] 8 ]
9 9
10 if (!is_android) { 10 if (!is_android) {
11 libs += [ 11 libs += [ "pthread" ]
12 "pthread", 12
13 "rt", 13 if (is_linux) {
14 ] 14 libs += [ "rt" ]
15 }
15 } 16 }
16 } 17 }
17 18
18 19
19 static_library("libdart_platform") { 20 static_library("libdart_platform") {
20 configs += ["..:dart_config"] 21 configs += ["..:dart_config"]
21 public_configs = [":libdart_vm_config"] 22 public_configs = [":libdart_vm_config"]
22 23
23 platform_headers_gypi = 24 platform_headers_gypi =
24 exec_script("../../tools/gypi_to_gn.py", 25 exec_script("../../tools/gypi_to_gn.py",
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 output = "$target_gen_dir/service_gen.cc" 199 output = "$target_gen_dir/service_gen.cc"
199 outputs = [ output, ] 200 outputs = [ output, ]
200 201
201 args = [ 202 args = [
202 "--output", rebase_path(output, root_build_dir), 203 "--output", rebase_path(output, root_build_dir),
203 "--outer_namespace", "dart", 204 "--outer_namespace", "dart",
204 "--table_name", "service", 205 "--table_name", "service",
205 "--root_prefix", rebase_path("service/", root_build_dir)] + 206 "--root_prefix", rebase_path("service/", root_build_dir)] +
206 rebase_path(sources, root_build_dir) 207 rebase_path(sources, root_build_dir)
207 } 208 }
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