| 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 declare_args() { | 9 declare_args() { |
| 10 # Controls the kind of core snapshot linked into the standalone VM. Using a | 10 # Controls the kind of core snapshot linked into the standalone VM. Using a |
| (...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 410 ] | 410 ] |
| 411 if (is_mac || is_ios) { | 411 if (is_mac || is_ios) { |
| 412 libs = [ | 412 libs = [ |
| 413 "CoreFoundation.framework", | 413 "CoreFoundation.framework", |
| 414 "Security.framework", | 414 "Security.framework", |
| 415 ] | 415 ] |
| 416 | 416 |
| 417 if (is_mac) { | 417 if (is_mac) { |
| 418 libs += [ "CoreServices.framework" ] | 418 libs += [ "CoreServices.framework" ] |
| 419 } | 419 } |
| 420 } else { | |
| 421 deps += [ "//third_party/boringssl" ] | |
| 422 } | 420 } |
| 423 | 421 |
| 422 deps += [ "//third_party/boringssl" ] |
| 423 |
| 424 if (is_fuchsia) { | 424 if (is_fuchsia) { |
| 425 libs = [ "launchpad" ] | 425 libs = [ "launchpad" ] |
| 426 } | 426 } |
| 427 | 427 |
| 428 sources = io_impl_sources_gypi + builtin_impl_sources_gypi | 428 sources = io_impl_sources_gypi + builtin_impl_sources_gypi |
| 429 sources += [ | 429 sources += [ |
| 430 "builtin_natives.cc", | 430 "builtin_natives.cc", |
| 431 "io_natives.cc", | 431 "io_natives.cc", |
| 432 "io_natives.h", | 432 "io_natives.h", |
| 433 "log_android.cc", | 433 "log_android.cc", |
| (...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 ] | 938 ] |
| 939 if (is_linux || is_android) { | 939 if (is_linux || is_android) { |
| 940 cflags = [ "-fPIC" ] | 940 cflags = [ "-fPIC" ] |
| 941 } | 941 } |
| 942 if (is_win) { | 942 if (is_win) { |
| 943 libs = [ "dart.lib" ] | 943 libs = [ "dart.lib" ] |
| 944 abs_root_out_dir = rebase_path(root_out_dir) | 944 abs_root_out_dir = rebase_path(root_out_dir) |
| 945 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] | 945 ldflags = [ "/LIBPATH:$abs_root_out_dir" ] |
| 946 } | 946 } |
| 947 } | 947 } |
| OLD | NEW |