OLD | NEW |
(Empty) | |
| 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 |
| 3 # BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 import("platform_sources.gni") |
| 6 |
| 7 template("build_libdart_platform") { |
| 8 extra_configs = [] |
| 9 if (defined(invoker.extra_configs)) { |
| 10 extra_configs += invoker.extra_configs |
| 11 } |
| 12 static_library(target_name) { |
| 13 configs += [ "..:dart_config" ] + extra_configs |
| 14 if (is_fuchsia) { |
| 15 configs -= [ "//build/config:symbol_visibility_hidden" ] |
| 16 deps = [ |
| 17 "//apps/tracing/lib/trace", |
| 18 ] |
| 19 } |
| 20 public_configs = [ "../vm:libdart_vm_config" ] |
| 21 |
| 22 sources = platform_sources |
| 23 |
| 24 include_dirs = [ ".." ] |
| 25 } |
| 26 } |
| 27 |
| 28 build_libdart_platform("libdart_platform") { |
| 29 extra_configs = [ "..:dart_maybe_product_config" ] |
| 30 } |
| 31 |
| 32 build_libdart_platform("libdart_platform_product") { |
| 33 extra_configs = [ "..:dart_product_config" ] |
| 34 } |
OLD | NEW |