OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//mojo/public/dart/rules.gni") | 5 import("//mojo/public/dart/rules.gni") |
6 | 6 |
7 dart_pkg("sdk") { | 7 dart_pkg("sky") { |
8 sources = [ | 8 sources = [ |
9 "CHANGELOG.md", | 9 "CHANGELOG.md", |
10 "bin/init.dart", | 10 "bin/init.dart", |
11 "lib/animation/animated_value.dart", | 11 "lib/animation/animated_value.dart", |
12 "lib/animation/curves.dart", | 12 "lib/animation/curves.dart", |
13 "lib/animation/fling_curve.dart", | 13 "lib/animation/fling_curve.dart", |
14 "lib/animation/generators.dart", | 14 "lib/animation/generators.dart", |
15 "lib/animation/mechanics.dart", | 15 "lib/animation/mechanics.dart", |
16 "lib/animation/scroll_behavior.dart", | 16 "lib/animation/scroll_behavior.dart", |
17 "lib/assets/.gitignore", | 17 "lib/assets/.gitignore", |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 "//mojo/dart/mojo_services", | 137 "//mojo/dart/mojo_services", |
138 "//mojo/dart/mojom", | 138 "//mojo/dart/mojom", |
139 "//mojo/public/dart:mojo", | 139 "//mojo/public/dart:mojo", |
140 "//sky/engine/bindings", | 140 "//sky/engine/bindings", |
141 "//sky/services/testing", | 141 "//sky/services/testing", |
142 "//third_party/dart-pkg", | 142 "//third_party/dart-pkg", |
143 ] | 143 ] |
144 | 144 |
145 sdk_ext_directory = "$root_gen_dir/sky/bindings" | 145 sdk_ext_directory = "$root_gen_dir/sky/bindings" |
146 } | 146 } |
| 147 |
| 148 action("material_design_icons") { |
| 149 input_dir = "lib/assets/material-design-icons" |
| 150 output_dir = "$root_gen_dir/dart-pkg/sky/lib/assets" |
| 151 stamp = "$target_gen_dir/material_design_icons_linked" |
| 152 |
| 153 sources = [ |
| 154 "lib/assets/material-design-icons.sha1", |
| 155 ] |
| 156 outputs = [ |
| 157 stamp, |
| 158 ] |
| 159 |
| 160 script = "//build/symlink.py" |
| 161 args = [ |
| 162 "--force", |
| 163 rebase_path(input_dir, output_dir), |
| 164 rebase_path(output_dir, root_build_dir), |
| 165 "--touch", |
| 166 rebase_path(stamp, root_build_dir), |
| 167 ] |
| 168 |
| 169 deps = [ |
| 170 ":sky", |
| 171 ] |
| 172 } |
| 173 |
| 174 group("sdk") { |
| 175 deps = [ |
| 176 ":sky", |
| 177 ":material_design_icons", |
| 178 ] |
| 179 } |
OLD | NEW |