BUILD.gn 582 字节
Newer Older
M
Michael Goderbauer 已提交
1
# Copyright 2013 The Flutter Authors. All rights reserved.
A
Adam Barth 已提交
2 3 4
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

5
import("//flutter/build/dart/rules.gni")
A
Adam Barth 已提交
6

P
P.Y. Laligand 已提交
7 8 9 10 11 12
if (!is_fuchsia) {
  copy("copy_sky_services_license") {
    sources = [
      "//AUTHORS",
      "//LICENSE",
    ]
13

P
P.Y. Laligand 已提交
14 15 16 17
    outputs = [
      "$root_gen_dir/dart-pkg/sky_services/{{source_file_part}}",
    ]
  }
18 19
}

A
Adam Barth 已提交
20 21 22 23 24 25
dart_pkg("sky_services") {
  sources = [
    "README.md",
    "pubspec.yaml",
  ]

P
P.Y. Laligand 已提交
26 27 28 29 30
  if (!is_fuchsia) {
    deps = [
      ":copy_sky_services_license",
    ]
  }
A
Adam Barth 已提交
31
}