| OLD | NEW |
| 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 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 ] | 401 ] |
| 402 if (is_mac || is_ios) { | 402 if (is_mac || is_ios) { |
| 403 libs = [ | 403 libs = [ |
| 404 "CoreFoundation.framework", | 404 "CoreFoundation.framework", |
| 405 "Security.framework", | 405 "Security.framework", |
| 406 ] | 406 ] |
| 407 | 407 |
| 408 if (is_mac) { | 408 if (is_mac) { |
| 409 libs += [ "CoreServices.framework" ] | 409 libs += [ "CoreServices.framework" ] |
| 410 } | 410 } |
| 411 } else { | |
| 412 deps += [ "//third_party/boringssl" ] | |
| 413 } | 411 } |
| 414 | 412 |
| 413 deps += [ "//third_party/boringssl" ] |
| 414 |
| 415 if (is_fuchsia) { | 415 if (is_fuchsia) { |
| 416 libs = [ "launchpad" ] | 416 libs = [ "launchpad" ] |
| 417 } | 417 } |
| 418 | 418 |
| 419 sources = io_impl_sources_gypi + builtin_impl_sources_gypi | 419 sources = io_impl_sources_gypi + builtin_impl_sources_gypi |
| 420 sources += [ | 420 sources += [ |
| 421 "builtin_natives.cc", | 421 "builtin_natives.cc", |
| 422 "io_natives.cc", | 422 "io_natives.cc", |
| 423 "io_natives.h", | 423 "io_natives.h", |
| 424 "log_android.cc", | 424 "log_android.cc", |
| (...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 ] | 865 ] |
| 866 if (is_linux || is_android) { | 866 if (is_linux || is_android) { |
| 867 cflags = [ "-fPIC" ] | 867 cflags = [ "-fPIC" ] |
| 868 } | 868 } |
| 869 if (is_win) { | 869 if (is_win) { |
| 870 libs = [ "dart.lib" ] | 870 libs = [ "dart.lib" ] |
| 871 abs_root_out_dir = rebase_path(root_out_dir) | 871 abs_root_out_dir = rebase_path(root_out_dir) |
| 872 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 872 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 873 } | 873 } |
| 874 } | 874 } |
| OLD | NEW |