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

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

Issue 2202883002: [GN] Add Core{Foundation,Services}.framework to libs in Mac build (Closed) Base URL: https://chromium.googlesource.com/external/github.com/dart-lang/sdk/@master
Patch Set: Created 4 years, 4 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) 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 5
6 declare_args() { 6 declare_args() {
7 dart_io_support = false 7 dart_io_support = false
8 8
9 # TODO(zra, jamesr): Remove this check once we start building boringssl for 9 # TODO(zra, jamesr): Remove this check once we start building boringssl for
10 # the fuchsia port. 10 # the fuchsia port.
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 # Include generated source files. 248 # Include generated source files.
249 "$target_gen_dir/builtin_gen.cc", 249 "$target_gen_dir/builtin_gen.cc",
250 "$target_gen_dir/io_gen.cc", 250 "$target_gen_dir/io_gen.cc",
251 "$target_gen_dir/io_patch_gen.cc", 251 "$target_gen_dir/io_patch_gen.cc",
252 "$target_gen_dir/resources_gen.cc", 252 "$target_gen_dir/resources_gen.cc",
253 ] 253 ]
254 254
255 include_dirs = [ 255 include_dirs = [
256 "..", 256 "..",
257 ] 257 ]
258
259 if (is_mac) {
260 libs = [
261 "CoreFoundation.framework",
262 "CoreServices.framework"
263 ]
264 }
258 } 265 }
259 266
260 # A source set for the implementation of 'dart:io' library 267 # A source set for the implementation of 'dart:io' library
261 # (without secure sockets) suitable for linking with gen_snapshot. 268 # (without secure sockets) suitable for linking with gen_snapshot.
262 source_set("gen_snapshot_dart_io") { 269 source_set("gen_snapshot_dart_io") {
263 configs += ["..:dart_config", 270 configs += ["..:dart_config",
264 "..:dart_product_config", 271 "..:dart_product_config",
265 "..:dart_precompiler_config"] 272 "..:dart_precompiler_config"]
266 273
267 deps = [ 274 deps = [
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 590
584 executable("run_vm_tests_fuchsia") { 591 executable("run_vm_tests_fuchsia") {
585 testonly = true 592 testonly = true
586 configs += ["..:dart_config"] 593 configs += ["..:dart_config"]
587 sources = [ 594 sources = [
588 "run_vm_tests_fuchsia.cc" 595 "run_vm_tests_fuchsia.cc"
589 ] 596 ]
590 libs = [ "launchpad" ] 597 libs = [ "launchpad" ]
591 } 598 }
592 } # defined(is_fuchsia) && is_fuchsia 599 } # defined(is_fuchsia) && is_fuchsia
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