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

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

Issue 2797253003: Declare dependency from dart_io targets to zlib (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 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 import("gypi_contents.gni") 5 import("gypi_contents.gni")
6 import("../runtime_args.gni") 6 import("../runtime_args.gni")
7 import("../../build/compiled_action.gni") 7 import("../../build/compiled_action.gni")
8 8
9 # Generate a resources.cc file for the service isolate without Observatory. 9 # Generate a resources.cc file for the service isolate without Observatory.
10 action("gen_resources_cc") { 10 action("gen_resources_cc") {
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 if (!is_mac && !is_ios) { 397 if (!is_mac && !is_ios) {
398 # Dart tree uses *_macos.* instead of *_mac.* 398 # Dart tree uses *_macos.* instead of *_mac.*
399 custom_sources_filter += [ 399 custom_sources_filter += [
400 "*_macos.h", 400 "*_macos.h",
401 "*_macos.cc", 401 "*_macos.cc",
402 ] 402 ]
403 } 403 }
404 set_sources_assignment_filter(custom_sources_filter) 404 set_sources_assignment_filter(custom_sources_filter)
405 405
406 defines = [] 406 defines = []
407 deps = [
408 "$dart_zlib_path",
409 ]
407 if (is_mac || is_ios) { 410 if (is_mac || is_ios) {
408 libs = [ 411 libs = [
409 "CoreFoundation.framework", 412 "CoreFoundation.framework",
410 "Security.framework", 413 "Security.framework",
411 ] 414 ]
412 415
413 if (is_mac) { 416 if (is_mac) {
414 libs += [ "CoreServices.framework" ] 417 libs += [ "CoreServices.framework" ]
415 } 418 }
416 } else { 419 } else {
417 deps = [ 420 deps += [
418 "//third_party/boringssl", 421 "//third_party/boringssl",
419 ] 422 ]
420 } 423 }
421 424
422 if (defined(is_fuchsia) && is_fuchsia) { 425 if (defined(is_fuchsia) && is_fuchsia) {
423 libs = [ "launchpad" ] 426 libs = [ "launchpad" ]
424 } 427 }
425 428
426 sources = io_impl_sources_gypi + builtin_impl_sources_gypi 429 sources = io_impl_sources_gypi + builtin_impl_sources_gypi
427 sources += [ 430 sources += [
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
860 ] 863 ]
861 if (is_linux || is_android) { 864 if (is_linux || is_android) {
862 cflags = [ "-fPIC" ] 865 cflags = [ "-fPIC" ]
863 } 866 }
864 if (is_win) { 867 if (is_win) {
865 libs = [ "dart.lib" ] 868 libs = [ "dart.lib" ]
866 abs_root_out_dir = rebase_path(root_out_dir) 869 abs_root_out_dir = rebase_path(root_out_dir)
867 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] 870 ldflags = [ "/LIBPATH:$abs_root_out_dir" ]
868 } 871 }
869 } 872 }
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