Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: sky/sdk/BUILD.gn

Issue 1217283002: Download material design icons using DEPS (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/tools/mojodb ('k') | sky/sdk/lib/download_material_design_icons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/BUILD.gn
diff --git a/sky/sdk/BUILD.gn b/sky/sdk/BUILD.gn
index 0c772b506625055ee1c33e1d1700c806c2205d5e..bb47df50410cf7783d4cedcd9674bfd3c373ce72 100644
--- a/sky/sdk/BUILD.gn
+++ b/sky/sdk/BUILD.gn
@@ -4,7 +4,7 @@
import("//mojo/public/dart/rules.gni")
-dart_pkg("sdk") {
+dart_pkg("sky") {
sources = [
"CHANGELOG.md",
"bin/init.dart",
@@ -144,3 +144,36 @@ dart_pkg("sdk") {
sdk_ext_directory = "$root_gen_dir/sky/bindings"
}
+
+action("material_design_icons") {
+ input_dir = "lib/assets/material-design-icons"
+ output_dir = "$root_gen_dir/dart-pkg/sky/lib/assets"
+ stamp = "$target_gen_dir/material_design_icons_linked"
+
+ sources = [
+ "lib/assets/material-design-icons.sha1",
+ ]
+ outputs = [
+ stamp,
+ ]
+
+ script = "//build/symlink.py"
+ args = [
+ "--force",
+ rebase_path(input_dir, output_dir),
+ rebase_path(output_dir, root_build_dir),
+ "--touch",
+ rebase_path(stamp, root_build_dir),
+ ]
+
+ deps = [
+ ":sky",
+ ]
+}
+
+group("sdk") {
+ deps = [
+ ":sky",
+ ":material_design_icons",
+ ]
+}
« no previous file with comments | « mojo/tools/mojodb ('k') | sky/sdk/lib/download_material_design_icons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698