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

Side by Side Diff: sdk/BUILD.gn

Issue 2892223002: Fuchsia SDK: Also copy zlib to the SDK's bin directory (Closed)
Patch Set: Created 3 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
« 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) 2017, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2017, 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 # The SDK for Fuchsia does not include: 5 # The SDK for Fuchsia does not include:
6 # dart2js 6 # dart2js
7 # dartdoc 7 # dartdoc
8 # ddc 8 # ddc
9 # and libraries that are browser-specific, since these are not used and require 9 # and libraries that are browser-specific, since these are not used and require
10 # significant time to build. 10 # significant time to build.
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 ] 62 ]
63 outputs = [ 63 outputs = [
64 "$root_out_dir/dart-sdk/bin/dart", 64 "$root_out_dir/dart-sdk/bin/dart",
65 ] 65 ]
66 } 66 }
67 67
68 copy("copy_dylibs") { 68 copy("copy_dylibs") {
69 deps = [ 69 deps = [
70 "//third_party/boringssl:crypto", 70 "//third_party/boringssl:crypto",
71 "//third_party/boringssl:ssl", 71 "//third_party/boringssl:ssl",
72 "//third_party/zlib",
72 ] 73 ]
73 crypto_out = 74 crypto_out =
74 get_label_info("//third_party/boringssl:crypto", "root_out_dir") 75 get_label_info("//third_party/boringssl:crypto", "root_out_dir")
75 crypto_name = get_label_info("//third_party/boringssl:crypto", "name") 76 crypto_name = get_label_info("//third_party/boringssl:crypto", "name")
76 ssl_out = get_label_info("//third_party/boringssl:ssl", "root_out_dir") 77 ssl_out = get_label_info("//third_party/boringssl:ssl", "root_out_dir")
77 ssl_name = get_label_info("//third_party/boringssl:ssl", "name") 78 ssl_name = get_label_info("//third_party/boringssl:ssl", "name")
79 zlib_out = get_label_info("//third_party/zlib", "root_out_dir")
78 sources = [ 80 sources = [
79 "$crypto_out/lib${crypto_name}.so", 81 "$crypto_out/lib${crypto_name}.so",
80 "$ssl_out/lib${ssl_name}.so", 82 "$ssl_out/lib${ssl_name}.so",
83 "$zlib_out/libz.so",
81 ] 84 ]
82 outputs = [ 85 outputs = [
83 "$root_out_dir/dart-sdk/bin/{{source_file_part}}", 86 "$root_out_dir/dart-sdk/bin/{{source_file_part}}",
84 ] 87 ]
85 } 88 }
86 89
87 template("copy_sdk_script") { 90 template("copy_sdk_script") {
88 assert(defined(invoker.name), "copy_sdk_script must define 'name'") 91 assert(defined(invoker.name), "copy_sdk_script must define 'name'")
89 name = invoker.name 92 name = invoker.name
90 copy(target_name) { 93 copy(target_name) {
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 384
382 script = "../tools/create_sdk.py" 385 script = "../tools/create_sdk.py"
383 args = [ 386 args = [
384 "--sdk_output_dir", 387 "--sdk_output_dir",
385 rebase_path("$root_out_dir/dart-sdk"), 388 rebase_path("$root_out_dir/dart-sdk"),
386 "--snapshot_location", 389 "--snapshot_location",
387 rebase_path("$root_gen_dir"), 390 rebase_path("$root_gen_dir"),
388 ] 391 ]
389 } 392 }
390 } 393 }
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