forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
foo.patch
56 lines (51 loc) · 1.59 KB
/
foo.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
commit 2f12ff08cc9215273040893a9b6c2b3fabccfb6b
Author: Adam Barth <[email protected]>
Date: Thu Jul 16 18:00:01 2015 -0700
Improve dependencies
diff --git a/sky/build/sky_app.gni b/sky/build/sky_app.gni
index 950bf82..6890cf6 100644
--- a/sky/build/sky_app.gni
+++ b/sky/build/sky_app.gni
@@ -28,7 +28,7 @@ template("sky_app") {
bundle_prefix = target_name
- copy("copy_${bundle_prefix}_bundle") {
+ copy("gen_${bundle_prefix}_bundle") {
sources = [
"$target_gen_dir/app.skyx",
]
@@ -50,16 +50,20 @@ template("sky_app") {
"$target_gen_dir/app.skyx",
]
deps = [
- "//third_party/icu",
- ":copy_${bundle_prefix}_bundle",
+ ":$skyx_target_name",
+ ":gen_${bundle_prefix}_bundle",
+ "//third_party/icu:icudata",
]
if (defined(invoker.bundles)) {
foreach(bundle, invoker.bundles) {
bundle_gen_dir = get_label_info(bundle, "target_gen_dir")
+ bundle_dir = get_label_info(bundle, "dir")
bundle_name = get_label_info(bundle, "name")
sources += [ "$bundle_gen_dir/${bundle_name}.skyx" ]
- deps += [ bundle ]
+ deps += [
+ "$bundle_dir:gen_${bundle_name}_bundle",
+ ]
}
}
}
diff --git a/sky/shell/BUILD.gn b/sky/shell/BUILD.gn
index 88c9d68..ae169d3 100644
--- a/sky/shell/BUILD.gn
+++ b/sky/shell/BUILD.gn
@@ -136,7 +136,7 @@ if (is_android) {
"$root_build_dir/icudtl.dat",
]
deps = [
- "//third_party/icu",
+ "//third_party/icu:icudata",
]
}
} else if (is_ios) {